summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/clangd_extensions.lua
blob: 78acc766cb94c0cf6ab713030b35e0d758e48cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
return {
    'p00f/clangd_extensions.nvim',
    dependencies = { 'microsoft/vscode-codicons' }, -- NOTE: for the ast icons
    cmd = {
        'ClangdSwitchSourceHeader',
        'ClangdSetInlayHints',
        'ClangdDisableInlayHints',
        'ClangdToggleInlayHints',
        'ClangdAST',
        'ClangdSymbolInfo',
        'ClangdTypeHierarchy',
        'ClangdMemoryUsage',
    },
    opts = {
        ast = {
            role_icons = {
                type = '',
                declaration = '',
                expression = '',
                specifier = '',
                statement = '',
                ['template argument'] = '',
            },
            kind_icons = {
                Compound = '',
                Recovery = '',
                TranslationUnit = '',
                PackExpansion = '',
                TemplateTypeParm = '',
                TemplateTemplateParm = '',
                TemplateParamObject = '',
            },
        },
    },
}