diff options
| author | Kyren223 <ulmliad223@gmail.com> | 2024-08-06 16:19:31 +0300 |
|---|---|---|
| committer | Kyren223 <ulmliad223@gmail.com> | 2024-08-06 16:19:31 +0300 |
| commit | 46335ce5edb504e1653e140e037f15be104e81db (patch) | |
| tree | 26ecfa1104a7e00675e1bab27c894cda69ec31cf /.config/nvim/lua/custom/plugins/clangd_extensions.lua | |
| parent | 03a5e641f0347a37627e9d1ef2627f331bb6d82f (diff) | |
feat(nvim): clangd_extensions for lsp
Diffstat (limited to '.config/nvim/lua/custom/plugins/clangd_extensions.lua')
| -rw-r--r-- | .config/nvim/lua/custom/plugins/clangd_extensions.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.config/nvim/lua/custom/plugins/clangd_extensions.lua b/.config/nvim/lua/custom/plugins/clangd_extensions.lua new file mode 100644 index 0000000..07f9dc0 --- /dev/null +++ b/.config/nvim/lua/custom/plugins/clangd_extensions.lua @@ -0,0 +1,38 @@ +return { + 'p00f/clangd_extensions.nvim', + dependencies = { 'microsoft/vscode-codicons' }, -- NOTE: for the ast icons + cmd = { + 'ClangdSwitchSourceHeader', + 'ClangdSetInlayHints', + 'ClangdDisableInlayHints', + 'ClangdToggleInlayHints', + 'ClangdAST', + 'ClangdSymbolInfo', + 'ClangdTypeHierarchy', + 'ClangdMemoryUsage', + }, + opts = { + inlay_hints = { + inline = false, + }, + ast = { + role_icons = { + type = '', + declaration = '', + expression = '', + specifier = '', + statement = '', + ['template argument'] = '', + }, + kind_icons = { + Compound = '', + Recovery = '', + TranslationUnit = '', + PackExpansion = '', + TemplateTypeParm = '', + TemplateTemplateParm = '', + TemplateParamObject = '', + }, + }, + }, +} |
