settings.json 1.98 KB
Newer Older
1
2
{
    "servers": {
3
        "bibtex": {
4
5
            "use": "latex",
            "highlightingModeRegex": "^BibTeX$"
6
        },
7
8
        "c": {
            "command": ["clangd", "-log=error", "--background-index"],
9
            "commandDebug": ["clangd", "-log=verbose", "--background-index"],
10
11
            "url": "https://clang.llvm.org/extra/clangd/",
            "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
12
13
        },
        "cpp": {
14
15
            "use": "c",
            "highlightingModeRegex": "^(C\\+\\+|ISO C\\+\\+|Objective-C\\+\\+)$"
16
        },
Christoph Cullmann's avatar
Christoph Cullmann committed
17
18
        "d": {
            "command": ["dls", "--stdio"],
19
20
            "url": "https://github.com/d-language-server/dls",
            "highlightingModeRegex": "^D$"
Christoph Cullmann's avatar
Christoph Cullmann committed
21
        },
22
23
24
        "fortran": {
            "command": ["fortls"],
            "rootIndicationFileNames": [".fortls"],
25
26
            "url": "https://github.com/hansec/fortran-language-server",
            "highlightingModeRegex": "^Fortran.*$"
27
        },
28
        "latex": {
29
            "command": ["texlab"],
30
31
            "url": "https://texlab.netlify.com/",
            "highlightingModeRegex": "^LaTeX$"
32
        },
33
34
        "go": {
            "command": ["go-langserver"],
35
            "commandDebug": ["go-langserver", "-trace"],
36
37
            "url": "https://github.com/sourcegraph/go-langserver",
            "highlightingModeRegex": "^Go$"
38
        },
39
        "python": {
40
            "command": ["python3", "-m", "pyls", "--check-parent-process"],
41
42
            "url": "https://github.com/palantir/python-language-server",
            "highlightingModeRegex": "^Python$"
43
44
        },
        "rust": {
45
            "command": ["rls"],
46
            "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
47
48
            "url": "https://github.com/rust-lang/rls",
            "highlightingModeRegex": "^Rust$"
Christoph Cullmann's avatar
Christoph Cullmann committed
49
50
51
        },
        "ocaml": {
            "command": ["ocamlmerlin-lsp"],
52
            "url": "https://github.com/ocaml/merlin",
Christoph Cullmann's avatar
Christoph Cullmann committed
53
            "highlightingModeRegex": "^Objective Caml.*$"
54
55
56
        }
    }
}