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