initial push
This commit is contained in:
48
languageServers.js
Normal file
48
languageServers.js
Normal file
@@ -0,0 +1,48 @@
|
||||
exports.servers = [
|
||||
{
|
||||
endpointName: "python",
|
||||
args: ["pylsp"],
|
||||
nameEndsWith: ".python",
|
||||
connectionType: "stdio",
|
||||
relativePath: false
|
||||
}, {
|
||||
endpointName: "go",
|
||||
args: [
|
||||
'gopls', ['-mode=stdio', '-remote=auto']
|
||||
],
|
||||
nameEndsWith: ".golang",
|
||||
connectionType: "stdio",
|
||||
relativePath: false,
|
||||
serverFileNameReplacePattern: {
|
||||
from: /.golang$/,
|
||||
to: ".go"
|
||||
},
|
||||
clientFileNameReplacePattern: {
|
||||
from: /.go$/,
|
||||
to: ".golang"
|
||||
},
|
||||
}, {
|
||||
endpointName: "c",
|
||||
args: [
|
||||
'clangd', ['--log=error']
|
||||
],
|
||||
nameEndsWith: ".c",
|
||||
connectionType: "stdio"
|
||||
}, {
|
||||
endpointName: "r",
|
||||
args: [
|
||||
'r', ['--slave', '-e', 'languageserver::run()']
|
||||
],
|
||||
nameEndsWith: ".r",
|
||||
connectionType: "stdio",
|
||||
relativePath: false
|
||||
}, {
|
||||
endpointName: "typescript",
|
||||
args: [
|
||||
'typescript-language-server', ['--stdio']
|
||||
],
|
||||
nameEndsWith: ".ts",
|
||||
connectionType: "stdio",
|
||||
relativePath: false
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user