diff --git a/lua/technoduck/lazy_plugins/lsp.lua b/lua/technoduck/lazy_plugins/lsp.lua index aafa807..572938a 100644 --- a/lua/technoduck/lazy_plugins/lsp.lua +++ b/lua/technoduck/lazy_plugins/lsp.lua @@ -30,6 +30,7 @@ return { ensure_installed = { 'lua_ls', 'rust_analyzer', + 'lua_ls', 'jedi_language_server', 'fortls', }, diff --git a/lua/technoduck/lazy_plugins/trouble.lua b/lua/technoduck/lazy_plugins/trouble.lua index 8c47cf7..d64096a 100644 --- a/lua/technoduck/lazy_plugins/trouble.lua +++ b/lua/technoduck/lazy_plugins/trouble.lua @@ -4,7 +4,7 @@ return { config = function() local trouble = require("trouble") vim.keymap.set("n","tt", function () - trouble.toggle() + trouble.toggle("diagnostics") end) vim.keymap.set("n","]d", function () trouble.next({skip_groups = true, jump = true}) diff --git a/lua/technoduck/remap.lua b/lua/technoduck/remap.lua index c281d99..8794a88 100644 --- a/lua/technoduck/remap.lua +++ b/lua/technoduck/remap.lua @@ -1,6 +1,6 @@ vim.g.mapleader = "," vim.keymap.set("n", "pv", vim.cmd.Ex) -vim.keymap.set("n", "tt", vim.cmd.terminal) +vim.keymap.set("n", "tr", vim.cmd.terminal) vim.keymap.set("v", "J", ":m '>+1gv=gv") vim.keymap.set("v", "K", ":m '<-2gv=gv")