Add lspinstall, fix completion

This commit is contained in:
Marko Korhonen 2021-08-02 16:55:11 +03:00
parent 4a6bd800d6
commit 4361204e18
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
4 changed files with 109 additions and 36 deletions

View file

@ -15,8 +15,6 @@ map('n', '<C-g>', '<cmd>Rg<CR>')
-- Navigate completions with tab and shift tab
map('i', '<S-Tab>', 'pumvisible() ? "\\<C-p>" : "\\<Tab>"', {expr = true})
map('i', '<Tab>', 'pumvisible() ? "\\<C-n>" : "\\<Tab>"', {expr = true})
-- Trigger completion
map('i', '<C-SPACE>', '<Plug>(completion_trigger)', {silent = true, expr = true})
-- Navigate between buffers
map('n', '<C-N>', ':bn<CR>', {silent = true})