We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
semantic_token_resolution
blink.cmp
<C-k>
class Class { public: void fn(int); void fn_a(int); }; int main() { int a; auto cc = Class{}; cc.fn_a(a()); // `()` is auto added after `a` }
cc.fn(|): accept a doesn't add brackets c.fn_a(|) (rename cc): accept a doesn't add brackets cc.fn_a(|): accept a does add brackets
cc.fn(|)
a
c.fn_a(|)
cc
cc.fn_a(|)
The behavior is strange. If you can’t reproduce the issue, try renaming the variable cc to a longer name.
Disabling the semantic_token_resolution option could resolve this problem.
clangd version 16.0.6 Features: mac Platform: aarch64-apple-darwin24.2.0
-- Run with `nvim -u repro.lua` vim.env.LAZY_STDPATH = '.repro' load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))() ---@diagnostic disable-next-line: missing-fields require('lazy.minit').repro({ spec = { { 'saghen/blink.cmp', -- build = 'cargo build --release', version = '*', opts = {} }, { 'neovim/nvim-lspconfig', config = function() local lspconfig = require('lspconfig') lspconfig['clangd'].setup({ capabilities = require('blink.cmp').get_lsp_capabilities(), }) end, }, }, })
neovim
NVIM v0.11.0-dev-1417+g487c48ec86-Homebrew Build type: Release LuaJIT 2.1.1736781742 Run "nvim -V1 -v" for more info
b6f11a0
The text was updated successfully, but these errors were encountered:
I have the same problem and here is some additional information:
Sorry, something went wrong.
No branches or pull requests
Make sure you have done the following
blink.cmp
<C-k>
on https://cmp.saghen.dev)Bug Description
cc.fn(|)
: accepta
doesn't add bracketsc.fn_a(|)
(renamecc
): accepta
doesn't add bracketscc.fn_a(|)
: accepta
does add bracketsThe behavior is strange. If you can’t reproduce the issue, try renaming the variable
cc
to a longer name.Disabling the
semantic_token_resolution
option could resolve this problem.clangd --version
minimal init:
Relevant configuration
neovim
versionNVIM v0.11.0-dev-1417+g487c48ec86-Homebrew Build type: Release LuaJIT 2.1.1736781742 Run "nvim -V1 -v" for more info
blink.cmp
versionb6f11a0
The text was updated successfully, but these errors were encountered: