Eslint lsp and fix an nvim-tree issue
This commit is contained in:
parent
4287dfe370
commit
2d81f71b02
3 changed files with 16 additions and 1 deletions
|
|
@ -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})]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue