Fix the config and add C# lsp

This commit is contained in:
2026-05-04 18:36:35 -03:00
parent 0b65c3ff8e
commit 5c7bbd33cd
5 changed files with 85 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ return {
-- Configure core features of AstroNvim
features = {
large_buf = { size = 1024 * 500, lines = 10000 }, -- set global limits for large files for disabling features like treesitter
autopairs = true, -- enable autopairs at start
autopairs = false, -- enable autopairs at start
cmp = true, -- enable completion at start
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
highlighturl = true, -- highlight URLs at start
@@ -56,12 +56,18 @@ return {
mapleader = " ", -- sets vim.g.mapleader
autoformat_enabled = false, -- enable or disable auto formatting at start (lsp.formatting.format_on_save must be enabled)
cmp_enabled = true, -- enable completion at start
autopairs_enabled = true, -- enable autopairs at start
autopairs_enabled = false, -- enable autopairs at start
diagnostics_mode = 3, -- set the visibility of diagnostics in the UI (0=off, 1=only show in status line, 2=virtual text off, 3=all on)
icons_enabled = true, -- disable icons in the UI (disable if no nerd font is available, requires :PackerSync after changing)
ui_notifications_enabled = true, -- disable notifications when toggling UI elements
c_syntax_for_h = 1,
wiki_root = '~/Documentos/Wiki',
-- vimtex
vimtex_view_method = "zathura",
vimtex_compiler_latexmk = {
aux_dir = "/run/user/1000/vimtex"
},
-- wiki
wiki_journal = {
name = "journal",
frequency = "daily",