From 3d671bacf741f78e7dc2e5141799c0b3d2903516 Mon Sep 17 00:00:00 2001 From: Techno Duck Date: Tue, 12 Nov 2024 23:16:55 -0500 Subject: [PATCH] mild changes --- lua/technoduck/lazy_plugins/lsp.lua | 1 + lua/technoduck/lazy_plugins/trouble.lua | 2 +- lua/technoduck/remap.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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")