mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
Fixed Go LSP ([gopls](https://github.com/golang/tools/blob/master/gopls)). Added Go formatter ([gopls](https://github.com/golang/tools/blob/master/gopls) format). Added [odin](https://odin-lang.org/) LSP support (with [ols](https://github.com/DanielGavin/ols)). Added Dart LSP support.
146 lines
4.5 KiB
JSON
146 lines
4.5 KiB
JSON
{
|
|
"config": {
|
|
},
|
|
"servers": [
|
|
{
|
|
"language": "typescript",
|
|
"name": "typescript-language-server",
|
|
"url": "https://github.com/theia-ide/typescript-language-server",
|
|
"command": "typescript-language-server --stdio",
|
|
"file_patterns": ["%.ts$", "%.tsx$"],
|
|
"rootIndicationFileNames": ["package.json", "package-lock.json"],
|
|
"initializationOptions": {
|
|
"preferences": {
|
|
"allowIncompleteCompletions": true,
|
|
"allowRenameOfImportPath": true,
|
|
"allowTextChangesInNewFiles": true,
|
|
"displayPartsForJSDoc": true,
|
|
"generateReturnInDocTemplate": true,
|
|
"includeAutomaticOptionalChainCompletions": true,
|
|
"includeCompletionsForImportStatements": true,
|
|
"includeCompletionsForModuleExports": true,
|
|
"includeCompletionsWithClassMemberSnippets": false,
|
|
"includeCompletionsWithObjectLiteralMethodSnippets": false,
|
|
"includeCompletionsWithInsertText": false,
|
|
"includeCompletionsWithSnippetText": false,
|
|
"jsxAttributeCompletionStyle": "auto",
|
|
"providePrefixAndSuffixTextForRename": true,
|
|
"provideRefactorNotApplicableReason": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"language": "javascript",
|
|
"use": "typescript-language-server",
|
|
"file_patterns": ["%.js$"]
|
|
},
|
|
{
|
|
"language": "go",
|
|
"name": "gopls",
|
|
"url": "https://golang.org/x/tools/gopls",
|
|
"command": "gopls",
|
|
"file_patterns": ["%.go$"],
|
|
"rootIndicationFileNames": ["go.work", "go.mod", ".git"]
|
|
},
|
|
{
|
|
"language": "php",
|
|
"name": "intelephense",
|
|
"url": "https://intelephense.com/",
|
|
"command": "intelephense --stdio",
|
|
"file_patterns": ["%.php$", "%.php%d$"]
|
|
},
|
|
{
|
|
"language": "c",
|
|
"name": "clangd",
|
|
"url": "https://clang.llvm.org/extra/clangd/",
|
|
"command": "clangd -log=error --background-index --limit-results=500 --completion-style=bundled",
|
|
"file_patterns": ["%.c$", "%.h$", "%.C$", "%.H$", "%.objc$"]
|
|
},
|
|
{
|
|
"language": "cpp",
|
|
"use": "clangd",
|
|
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$"]
|
|
},
|
|
{
|
|
"language": "d",
|
|
"name": "serve-d",
|
|
"url": "https://github.com/Pure-D/serve-d",
|
|
"command": "serve-d",
|
|
"file_patterns": ["%.d$"],
|
|
"rootIndicationFileNames": ["dub.json"]
|
|
},
|
|
{
|
|
"language": "zig",
|
|
"name": "zls",
|
|
"url": "https://github.com/zigtools/zls",
|
|
"command": "zls",
|
|
"file_patterns": ["%.zig$"]
|
|
},
|
|
{
|
|
"language": "odin",
|
|
"name": "ols",
|
|
"url": "https://github.com/DanielGavin/ols",
|
|
"command": "ols",
|
|
"file_patterns": ["%.odin$"]
|
|
},
|
|
{
|
|
"language": "python",
|
|
"name": "pylsp",
|
|
"url": "https://github.com/python-lsp/python-lsp-server",
|
|
"command": "pylsp --check-parent-process",
|
|
"file_patterns": ["%.py$"]
|
|
},
|
|
{
|
|
"language": "rust",
|
|
"name": "rust-analyzer",
|
|
"url": "https://rust-analyzer.github.io",
|
|
"command": "rust-analyzer",
|
|
"file_patterns": ["%.rs$"],
|
|
"rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"]
|
|
},
|
|
{
|
|
"language": "lua",
|
|
"name": "lua-language-server",
|
|
"url": "https://github.com/sumneko/lua-language-server",
|
|
"command": "lua-language-server",
|
|
"file_patterns": ["%.lua"]
|
|
},
|
|
{
|
|
"language": "kotlin",
|
|
"name": "kotlin-language-server",
|
|
"url": "https://github.com/fwcd/kotlin-language-server",
|
|
"command": "kotlin-language-server",
|
|
"file_patterns": ["%.kt"]
|
|
},
|
|
{
|
|
"language": "nim",
|
|
"name": "nimlsp",
|
|
"url": "https://github.com/PMunch/nimlsp",
|
|
"command": "nimlsp",
|
|
"file_patterns": ["%.nim"]
|
|
},
|
|
{
|
|
"language": "ruby",
|
|
"name": "solargraph",
|
|
"url": "https://solargraph.org",
|
|
"command": "solargraph stdio",
|
|
"rootIndicationFileNames": ["Gemfile", "Gemfile.lock", "gems.rb", "gems.lock", "Rakefile"],
|
|
"file_patterns": ["%.rb"]
|
|
},
|
|
{
|
|
"language": "yaml",
|
|
"name": "yaml-language-server",
|
|
"url": "https://github.com/redhat-developer/yaml-language-server",
|
|
"command": "yaml-language-server --stdio",
|
|
"file_patterns": ["%.yaml", "%.yml"]
|
|
},
|
|
{
|
|
"language": "dart",
|
|
"name": "dart language-server",
|
|
"url": "https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/tool/lsp_spec",
|
|
"command": "dart language-server --client-id ecode",
|
|
"file_patterns": ["%.dart"]
|
|
}
|
|
]
|
|
}
|