diff --git a/lua/custom/plugins/lsp.lua b/lua/custom/plugins/lsp.lua index d2d6c62f..726dbf89 100644 --- a/lua/custom/plugins/lsp.lua +++ b/lua/custom/plugins/lsp.lua @@ -152,6 +152,7 @@ return { -- LSP Configuration & Plugins -- gopls = {}, pyright = {}, deno = {}, + ruff = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs -- @@ -202,7 +203,6 @@ return { -- LSP Configuration & Plugins 'clang-format', 'codelldb', 'cmake-language-server', - 'mypy', 'ruff', 'pyright', 'prettier', diff --git a/lua/custom/plugins/trouble.lua b/lua/custom/plugins/trouble.lua index f1b63c97..1504ed73 100644 --- a/lua/custom/plugins/trouble.lua +++ b/lua/custom/plugins/trouble.lua @@ -4,7 +4,7 @@ return { init = function() local opts = { noremap = true, silent = true } -- Lua - vim.keymap.set('n', '', function() + vim.keymap.set({ 'n', 't' }, '', function() require('trouble').toggle() end, opts) diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index c2552a7d..7a68aafe 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -6,7 +6,7 @@ return { config = function() local lint = require 'lint' lint.linters_by_ft = { - python = { 'mypy', 'ruff' }, + python = { 'ruff' }, cpp = { 'cppcheck' }, c = { 'cppcheck' }, javascript = { 'eslint' }, diff --git a/lua/kickstart/plugins/neo-tree.lua b/lua/kickstart/plugins/neo-tree.lua index 89739543..93fee330 100644 --- a/lua/kickstart/plugins/neo-tree.lua +++ b/lua/kickstart/plugins/neo-tree.lua @@ -17,9 +17,7 @@ return { }, opts = { filesystem = { - window = { - mappings = {}, - }, + window = {}, }, }, }