mild changes

This commit is contained in:
Techno Duck 2024-11-12 23:16:55 -05:00
parent ec3769338b
commit 3d671bacf7
3 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@ return {
ensure_installed = { ensure_installed = {
'lua_ls', 'lua_ls',
'rust_analyzer', 'rust_analyzer',
'lua_ls',
'jedi_language_server', 'jedi_language_server',
'fortls', 'fortls',
}, },

View file

@ -4,7 +4,7 @@ return {
config = function() config = function()
local trouble = require("trouble") local trouble = require("trouble")
vim.keymap.set("n","<leader>tt", function () vim.keymap.set("n","<leader>tt", function ()
trouble.toggle() trouble.toggle("diagnostics")
end) end)
vim.keymap.set("n","]d", function () vim.keymap.set("n","]d", function ()
trouble.next({skip_groups = true, jump = true}) trouble.next({skip_groups = true, jump = true})

View file

@ -1,6 +1,6 @@
vim.g.mapleader = "," vim.g.mapleader = ","
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex) vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", "<leader>tt", vim.cmd.terminal) vim.keymap.set("n", "<leader>tr", vim.cmd.terminal)
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv") vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv") vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")