aboutsummaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/coc-settings.json
blob: 872ca3d92a51d841e0c2f6a21bc5868430f1b8da (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
    "suggest.timeout": 500,
    "coc.source.vimtex.enable": true,
    "coc.preferences.formatOnSaveFiletypes": [
        "dart",
        "python"
    ],
    "languageserver": {
        "bash": {
            "command": "bash-language-server",
            "args": ["start"],
            "filetypes": ["sh"],
            "ignoredRootPaths": ["~"]
        },
        "ccls": {
            "command": "ccls",
            "filetypes": ["c", "cpp", "objc", "objcpp"],
            "rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
            "initializationOptions": {
                "cache": {
                    "directory": "/tmp/ccls"
                },
                "cformatpath": "/bin/clang-format"
            }
        },
        "haskell": {
            "command": "hie-wrapper",
            "args": ["--lsp"],
            "rootPatterns": [
                "stack.yaml",
                "cabal.config",
                "package.yaml"
            ],
            "filetypes": [
                "hs",
                "lhs",
                "haskell"
            ],
            "initializationOptions": {
                "languageServerHaskell": {
                    "hlintOn": true
                }
            }
        }
    },
    "diagnostic.errorSign": "×",
    "diagnostic.warningSign": "!",
    "python.formatting.provider": "black",
    "python.jediEnabled": true,
    "rust-analyzer.serverPath": "~/.cargo/bin/rust-analyzer",
    "rust-analyzer.inlayHints.chainingHints": true,
    "rust-analyzer.procMacro.enable": true,
    "rust-analyzer.lruCapacity": 12
}