aboutsummaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/coc-settings.json
blob: c5a12f15bfc13d9e8b6b274688cb61ffa0cd273e (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
    "suggest.timeout": 500,
    "coc.source.vimtex.enable": true,
    "coc.preferences.formatOnSaveFiletypes": [
        "rust",
        "python"
    ],
    "coc.preferences.hoverTarget": "preview",
    "languageserver": {
        "bash": {
            "command": "bash-language-server",
            "args": ["start"],
            "filetypes": ["sh"],
            "ignoredRootPaths": ["~"]
        },
        "nix": {
            "command": "rnix-lsp",
            "filetypes": ["nix"]
        },
        "elmLS": {
            "command": "elm-language-server",
            "filetypes": ["elm"],
            "rootPatterns": ["elm.json"],
            "initializationOptions": {
                "elmAnalyseTrigger": "never"
            }
        },
        "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": "haskell-language-server-wrapper",
            "args": ["--lsp"],
            "rootPatterns": [
                "*.cabal",
                "stack.yaml",
                "cabal.project",
                "cabal.project.local",
                "package.yaml",
                "hie.yaml"
            ],
            "filetypes": [
                "hs",
                "lhs",
                "haskell"
            ],
            "initializationOptions": {
                "languageServerHaskell": {
                    "hlintOn": true 
                }
            }
        },
        "lua": {
            "command": "lua-lsp",
            "filetypes": ["lua"]
        }
    },
    "diagnostic": {
        "errorSign": "×",
        "warningSign": "!",
        "infoSign": "#",
        "hintSign": "@",
        "messageTarget": "float",
        "messageDelay": 150
    },
    "python.pythonPath": "./env/python",
    "python.formatting.provider": "black",
    "python.formatting.blackPath": "./env/black",
    "python.linting.mypyEnabled": true,
    "python.linting.mypyPath": "./env/mypy",
    "python.linting.pylintEnabled": false,
    "python.linting.pylamaEnabled": true,
    "python.linting.pylamaPath": "./env/pylama",
    "python.sortImports.path": "./env/isort",
    "python.jediEnabled": true,
    "rust-analyzer": {
        "serverPath": "/home/np/.nix-profile/bin/rust-analyzer",
        "inlayHints.chainingHints": false,
        "procMacro.enable": true,
        "lruCapacity": 12
    }
}