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
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue