From 106d9db7f2ceaf78990c530ed6770f0293da578e Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Wed, 23 Apr 2025 17:30:47 -0300 Subject: [PATCH] fix(neovim): correctly configure signature_help --- modules/neovim/lsp.lua | 2 +- modules/neovim/lua/plugins/astrocore.lua | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/neovim/lsp.lua b/modules/neovim/lsp.lua index 40e3b75..40939f9 100644 --- a/modules/neovim/lsp.lua +++ b/modules/neovim/lsp.lua @@ -13,10 +13,10 @@ return { local lsp_options = { -- Configuration table of features provided by AstroLSP features = { - autoformat = true, -- enable or disable auto formatting on start codelens = true, -- enable/disable codelens refresh on start inlay_hints = true, -- enable/disable inlay hints on start semantic_tokens = true, -- enable/disable semantic token highlighting + signature_help = true, -- enable/disable automatic signature help }, -- customize lsp formatting options formatting = { diff --git a/modules/neovim/lua/plugins/astrocore.lua b/modules/neovim/lua/plugins/astrocore.lua index 4ad68b2..2eebb64 100644 --- a/modules/neovim/lua/plugins/astrocore.lua +++ b/modules/neovim/lua/plugins/astrocore.lua @@ -10,13 +10,12 @@ return { opts = { -- Configure core features of AstroNvim features = { - autopairs = true, -- enable autopairs at start - cmp = true, -- enable completion at start + 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 + large_buf = { -- set global limits for large files for disabling features like treesitter size = 1024 * 100, lines = 10000, line_length = 1000,