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

@ -11,8 +11,14 @@ return function(buffer)
nowait = true
})
--[[
-- WARN The docs tell us to call default_on_attach
-- but doing it causes issues on git commits or when
-- no file is loaded
--]]
-- default mappings
api.config.mappings.default_on_attach(buffer)
-- api.config.mappings.default_on_attach(buffer)
nmap('<leader><space>', api.tree.toggle, 'File Tree')
nmap('t', api.node.open.tab, 'Toggle Node')