settings.json 3.08 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
29
30
31
32
33
        "go": {
            "command": ["go-langserver"],
            "commandDebug": ["go-langserver", "-trace"],
            "url": "https://github.com/sourcegraph/go-langserver",
            "highlightingModeRegex": "^Go$"
        },
34
35
36
37
38
39
        "haskell": {
            "command": ["hie-wrapper"],
            "rootIndicationFileNames": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml"],
            "url": "https://github.com/haskell/haskell-ide-engine",
            "highlightingModeRegex": "^Haskell$"
        },
40
41
42
43
44
45
46
        "javascript": {
            "command": ["javascript-typescript-stdio"],
            "commandDebug": ["javascript-typescript-stdio", "-t"],
            "rootIndicationFileNames": ["package.json", "package-lock.json"],
            "url": "https://github.com/sourcegraph/vscode-javascript-typescript",
            "highlightingModeRegex": "^JavaScript.*$"
        },
47
        "latex": {
48
            "command": ["texlab"],
49
50
            "url": "https://texlab.netlify.com/",
            "highlightingModeRegex": "^LaTeX$"
51
        },
52
53
54
55
        "ocaml": {
            "command": ["ocamllsp"],
            "url": "https://github.com/ocaml/ocaml-lsp",
            "highlightingModeRegex": "^Objective Caml.*$"
56
        },
57
58
59
60
61
62
        "perl": {
            "command": ["perl", "-MPerl::LanguageServer", "-e", "Perl::LanguageServer::run", "--"],
            "commandDebug": ["perl", "-MPerl::LanguageServer", "-e", "Perl::LanguageServer::run", "--", "--debug"],
            "url": "https://github.com/richterger/Perl-LanguageServer",
            "highlightingModeRegex": "^Perl$"
        },
63
        "python": {
64
            "command": ["pyls", "--check-parent-process"],
65
66
            "url": "https://github.com/palantir/python-language-server",
            "highlightingModeRegex": "^Python$"
67
68
        },
        "rust": {
69
            "command": ["rls"],
70
            "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
71
72
            "url": "https://github.com/rust-lang/rls",
            "highlightingModeRegex": "^Rust$"
Christoph Cullmann's avatar
Christoph Cullmann committed
73
        },
74
75
76
        "typescript": {
            "use": "javascript",
            "highlightingModeRegex": "^TypeScript.*$"
77
78
79
        }
    }
}