diff --git a/modules/neovim/lsp.lua b/modules/neovim/lsp.lua index f621f41..40e3b75 100644 --- a/modules/neovim/lsp.lua +++ b/modules/neovim/lsp.lua @@ -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 diff --git a/modules/neovim/lua/plugins/astrocore.lua b/modules/neovim/lua/plugins/astrocore.lua index 98c6891..4ad68b2 100644 --- a/modules/neovim/lua/plugins/astrocore.lua +++ b/modules/neovim/lua/plugins/astrocore.lua @@ -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 = {