fix nvim breaking changes

This commit is contained in:
Quentin Boyer 2021-12-14 19:06:36 +01:00
parent d2f7a45d74
commit ef6a2ccad3
3 changed files with 12 additions and 11 deletions

View file

@ -76,12 +76,14 @@ require("filetype").setup({
},
})
--autocmd CursorHold * lua vim.lsp.diagnostic.show_line_diagnostics()
vim.cmd([[
command SpellFr setlocal spell spelllang=fr
filetype plugin indent on
autocmd CursorHold * lua vim.lsp.diagnostic.show_line_diagnostics()
autocmd CursorHold * lua vim.diagnostic.open_float()
autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()
autocmd CursorHold,CursorHoldI *.rs :lua require'lsp_extensions'.inlay_hints{}
]])