update: nvim pkgs and keybinds; enable tsx/jsx highlighting

This commit is contained in:
mitchell 2026-04-09 01:21:02 -04:00
parent 6f79e6abe9
commit ac3ae0076b
3 changed files with 11 additions and 5 deletions

View file

@ -17,6 +17,10 @@ end, { noremap = true, silent = true, desc = "Search for Visual Selection" })
-- LSP Diagnostic Mappings
local diag_opts = { silent = true }
map("n", "<leader>d", vim.diagnostic.open_float, diag_opts)
map("n", "[d", vim.diagnostic.goto_prev, diag_opts)
map("n", "]d", vim.diagnostic.goto_next, diag_opts)
map("n", "[d", function()
vim.diagnostic.jump({ count = 1 })
end, diag_opts)
map("n", "]d", function()
vim.diagnostic.jump({ count = -1 })
end, diag_opts)
map("n", "<space>q", vim.diagnostic.setloclist, diag_opts)