Eslint lsp and fix an nvim-tree issue

This commit is contained in:
Juan Magalhães 2023-08-16 18:40:05 -03:00
parent 4287dfe370
commit 2d81f71b02
3 changed files with 16 additions and 1 deletions

View file

@ -49,3 +49,11 @@ vim.o.completeopt = 'menuone,noselect'
-- NOTE: You should make sure your terminal supports this
vim.o.termguicolors = true
vim.diagnostic.config({
virtual_text = false
})
-- Show line diagnostics automatically in hover window
vim.o.updatetime = 250
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]