fix(neovim): correctly configure signature_help

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-04-23 17:30:47 -03:00
parent cfbda37c19
commit 106d9db7f2
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 4 additions and 5 deletions

View file

@ -13,10 +13,10 @@ return {
local lsp_options = { local lsp_options = {
-- Configuration table of features provided by AstroLSP -- Configuration table of features provided by AstroLSP
features = { features = {
autoformat = true, -- enable or disable auto formatting on start
codelens = true, -- enable/disable codelens refresh on start codelens = true, -- enable/disable codelens refresh on start
inlay_hints = true, -- enable/disable inlay hints on start inlay_hints = true, -- enable/disable inlay hints on start
semantic_tokens = true, -- enable/disable semantic token highlighting semantic_tokens = true, -- enable/disable semantic token highlighting
signature_help = true, -- enable/disable automatic signature help
}, },
-- customize lsp formatting options -- customize lsp formatting options
formatting = { formatting = {

View file

@ -10,13 +10,12 @@ return {
opts = { opts = {
-- Configure core features of AstroNvim -- Configure core features of AstroNvim
features = { features = {
autopairs = true, -- enable autopairs at start autopairs = true, -- enable autopairs at start
cmp = true, -- enable completion at start cmp = true, -- enable completion at start
diagnostics = true, -- enable diagnostics at start diagnostics = true, -- enable diagnostics at start
highlighturl = true, -- highlight URLs at start highlighturl = true, -- highlight URLs at start
notifications = true, -- enable notifications 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, size = 1024 * 100,
lines = 10000, lines = 10000,
line_length = 1000, line_length = 1000,