Skip to content

[Mini.extra] LSP Workspace Symbols being limited #749

Closed Answered by echasnovski
ldelossa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

I'd assume you are using clangd. It has --limit-results option for "Limit the number of results returned by clangd. 0 means no limit (default=100)." So if you want a bigger number, supply a different value during LSP server initialization. For example, if done directly (not with 'nvim-lspconfig'): vim.lsp.start({ name = 'clangd', cmd = { 'clangd', '--limit-results=1000' }, root_dir = vim.fn.getcwd()})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ldelossa
Comment options

Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants