Closed doupongzeng closed 1 year ago
I believe mehalter fixed the cpp pack in this commit: https://github.com/AstroNvim/astrocommunity/commit/37126181ce621e4257478881ae21a1b54d2c048b and improved upon it here: ba3ea511fbc3fa8113485859681ce5fe3c2d6d4e
@doupongzeng I believe this might be an issue with your local config? I'm pretty sure it isn't because of astrocom
@doupongzeng I believe this might be an issue with your local config? I'm pretty sure it isn't because of astrocom
Thanks, I upgrade my config user/lsp/config/clangd.lua
return {
on_attach = function (_client, bufnr)
vim.lsp.inlay_hint(bufnr, true)
end,
}
Is your feature related to a problem?
BREAKING CHANGE: redo config, make inlay hints manual clangd_extensions make inlay hints manual and old pack.cpp seems to work not well, I use
"<cmd>ClangdToggleInlayHints<cr>"
only to show the current line, I also changed clangd_extensions' config inlay_hints.only_current_line = false, my neovim version is 0.10.0Describe the new feature
make config suitable new clangd_extensions, and can Toggle entire file inlay hints
Additional context
No response