settings.json 3.48 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
        "d": {
Ernesto Castellotti's avatar
Ernesto Castellotti committed
18
            "command": ["serve-d"],
19
            "rootIndicationFileNames": ["dub.json"],
Ernesto Castellotti's avatar
Ernesto Castellotti committed
20
            "url": "https://github.com/Pure-D/serve-d",
21
            "highlightingModeRegex": "^D$"
Christoph Cullmann's avatar
Christoph Cullmann committed
22
        },
23
24
25
        "fortran": {
            "command": ["fortls"],
            "rootIndicationFileNames": [".fortls"],
26
27
            "url": "https://github.com/hansec/fortran-language-server",
            "highlightingModeRegex": "^Fortran.*$"
28
        },
29
        "go": {
Marvin Ahlgrimm's avatar
Marvin Ahlgrimm committed
30
31
32
33
            "command": ["gopls"],
            "commandDebug": ["gopls", "-rpc.trace"],
            "rootIndicationFileNames": ["go.mod"],
            "url": "golang.org/x/tools/gopls",
34
35
            "highlightingModeRegex": "^Go$"
        },
36
37
38
39
40
41
        "haskell": {
            "command": ["hie-wrapper"],
            "rootIndicationFileNames": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml"],
            "url": "https://github.com/haskell/haskell-ide-engine",
            "highlightingModeRegex": "^Haskell$"
        },
42
        "javascript": {
43
            "command": ["typescript-language-server", "--stdio"],
44
            "rootIndicationFileNames": ["package.json", "package-lock.json"],
45
46
47
            "url": "https://github.com/theia-ide/typescript-language-server",
            "highlightingModeRegex": "^JavaScript.*$",
            "documentLanguageId": false
48
        },
49
        "latex": {
50
            "command": ["texlab"],
51
52
            "url": "https://texlab.netlify.com/",
            "highlightingModeRegex": "^LaTeX$"
53
        },
54
55
56
57
        "ocaml": {
            "command": ["ocamllsp"],
            "url": "https://github.com/ocaml/ocaml-lsp",
            "highlightingModeRegex": "^Objective Caml.*$"
58
        },
59
60
61
62
63
64
        "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$"
        },
65
        "python": {
66
            "command": ["pyls", "--check-parent-process"],
67
68
            "url": "https://github.com/palantir/python-language-server",
            "highlightingModeRegex": "^Python$"
69
70
        },
        "rust": {
71
            "command": ["rls"],
72
            "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"],
73
74
            "url": "https://github.com/rust-lang/rls",
            "highlightingModeRegex": "^Rust$"
Christoph Cullmann's avatar
Christoph Cullmann committed
75
        },
76
77
78
        "typescript": {
            "use": "javascript",
            "highlightingModeRegex": "^TypeScript.*$"
79
80
81
82
83
        },
        "r": {
            "command": ["R", "--slave", "-e", "languageserver::run()"],
            "url": "https://github.com/REditorSupport/languageserver",
            "highlightingModeRegex": "^R Script$"
84
85
86
87
88
        },
        "zig": {
            "command": ["zls"],
            "url": "https://github.com/zigtools/zls",
            "highlightingModeRegex": "^Zig$"
89
90
91
        }
    }
}