diff --git a/lua/plugins/null-ls-nvim.lua b/lua/plugins/null-ls-nvim.lua index 49d19fa..2b136da 100644 --- a/lua/plugins/null-ls-nvim.lua +++ b/lua/plugins/null-ls-nvim.lua @@ -3,13 +3,15 @@ local null_ls = require('null-ls') null_ls.setup({ sources = { -- Linter - null_ls.builtins.diagnostics.eslint_d, + -- null_ls.builtins.diagnostics.eslint_d, null_ls.builtins.diagnostics.jsonlint, null_ls.builtins.diagnostics.markdownlint, null_ls.builtins.diagnostics.stylelint, null_ls.builtins.diagnostics.tidy, null_ls.builtins.diagnostics.todo_comments, null_ls.builtins.diagnostics.tsc, + null_ls.builtins.diagnostics.fish, + null_ls.builtins.diagnostics.codespell, -- Formatter null_ls.builtins.formatting.eslint_d, null_ls.builtins.formatting.markdownlint, @@ -24,10 +26,7 @@ null_ls.setup({ -- Refactoring -- null_ls.builtins.code_actions.refactoring, -- Shells - null_ls.builtins.diagnostics.fish, -- Git null_ls.builtins.code_actions.gitsigns, - -- Spelling - null_ls.builtins.diagnostics.codespell, }, }) diff --git a/lua/plugins/nvim-tree.lua b/lua/plugins/nvim-tree.lua index e316a9b..d193eec 100644 --- a/lua/plugins/nvim-tree.lua +++ b/lua/plugins/nvim-tree.lua @@ -27,3 +27,4 @@ local function toggle_replace() end vim.keymap.set('n', '-', function() toggle_replace() end, { noremap = true, silent = true }) +vim.keymap.set('n', 'n', [[NvimTreeToggle]], { noremap = true, silent = true })