Compare commits

...

2 commits

2 changed files with 15 additions and 10 deletions

View file

@ -15,7 +15,7 @@ return {
features = {
autoformat = true, -- enable or disable auto formatting on start
codelens = true, -- enable/disable codelens refresh on start
inlay_hints = false, -- enable/disable inlay hints on start
inlay_hints = true, -- enable/disable inlay hints on start
semantic_tokens = true, -- enable/disable semantic token highlighting
},
-- customize lsp formatting options

View file

@ -10,19 +10,24 @@ return {
opts = {
-- 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
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
notifications = true, -- enable notifications at start
signature_help = true, -- enable automatically showing signature help
inlay_hints = true, -- enable inlay hints globally
autopairs = true, -- enable autopairs at start
cmp = true, -- enable completion at start
diagnostics = true, -- enable diagnostics at start
highlighturl = true, -- highlight URLs at start
notifications = true, -- enable notifications at start
signature_help = true, -- enable automatically showing signature help
large_buf = { -- set global limits for large files for disabling features like treesitter
size = 1024 * 100,
lines = 10000,
line_length = 1000,
},
},
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
diagnostics = {
virtual_text = true,
underline = true,
update_in_insert = false,
virtual_lines = { current_line = true },
virtual_text = true,
},
-- vim options can be configured here
options = {