fix: moving the git signing settings to the local config, updating

neovim to use the diagnostic.jump functions, and enabling the
r_language_server LSP
This commit is contained in:
2026-08-06 18:06:10 -05:00
parent 0a4bf53aab
commit 48235c005d
4 changed files with 4 additions and 6 deletions

View File

@@ -57,8 +57,8 @@ vim.api.nvim_create_autocmd('LspAttach', {
local bufnr = args.buf
local bufopts = { noremap = true, silent = true, buffer = bufnr }
vim.keymap.set('n', '<C-[>', vim.diagnostic.goto_prev, bufopts)
vim.keymap.set('n', '<C-]>', vim.diagnostic.goto_next, bufopts)
vim.keymap.set('n', '<C-[>', function() vim.diagnostic.jump({count=-1, float=true}) end, bufopts)
vim.keymap.set('n', '<C-]>', function() vim.diagnostic.jump({count=1, float=true}) end, bufopts)
vim.keymap.set('n', 'ga', vim.lsp.buf.code_action, bufopts)
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts)
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
@@ -76,3 +76,4 @@ vim.api.nvim_create_autocmd('LspAttach', {
-- Enable LSP engines
-- vim.lsp.enable('clangd')
vim.lsp.enable('gdscript')
vim.lsp.enable('r_language_server')