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

@ -1,3 +1,4 @@
local o = vim.o
vim.o.completeopt = 'menuone,noinsert,noselect'
o.completeopt = 'menuone,noinsert,noselect'
-- Enable for all buffers (for now)
vim.api.nvim_command('autocmd BufEnter * lua require\'completion\'.on_attach()')