Compare commits

...

2 commits

Author SHA1 Message Date
Danielle McLean
456c00af35
Fix alphabetical ordering of LSP server definitions?? 2023-11-02 09:59:17 +11:00
Danielle McLean
3aa5c29290
Enable Markdown, CSS, and HTML language server suppport 2023-11-02 09:58:31 +11:00

View file

@ -20,6 +20,14 @@ const lspServers = [
install: 'brew install lua-language-server', install: 'brew install lua-language-server',
}, },
{
name: 'marksman',
filetype: 'markdown',
path: '/usr/local/bin/marksman',
args: ['server'],
install: 'brew install marksman',
},
{ {
name: 'PerlNavigator', name: 'PerlNavigator',
filetype: 'perl', filetype: 'perl',
@ -30,30 +38,6 @@ const lspServers = [
perl.Lsp('Perl::LanguageServer', ['-e', 'Perl::LanguageServer::run']), perl.Lsp('Perl::LanguageServer', ['-e', 'Perl::LanguageServer::run']),
{
name: 'taplo',
filetype: 'toml',
path: '/usr/local/bin/taplo',
args: ['lsp', 'stdio'],
install: 'brew install taplo',
},
{
name: 'tilt-lsp',
filetype: 'bzl',
path: '/usr/local/bin/tilt',
args: ['lsp', 'start'],
install: 'brew install tilt',
},
{
name: 'typescript-language-server',
filetype: ['javascript', 'typescript'],
path: '/usr/local/bin/typescript-language-server',
args: ['--stdio'],
install: 'brew install typescript-language-server',
},
{ {
name: 'phpactor', name: 'phpactor',
filetype: 'php', filetype: 'php',
@ -81,6 +65,30 @@ const lspServers = [
install: 'brew install solargraph', install: 'brew install solargraph',
}, },
{
name: 'taplo',
filetype: 'toml',
path: '/usr/local/bin/taplo',
args: ['lsp', 'stdio'],
install: 'brew install taplo',
},
{
name: 'tilt-lsp',
filetype: 'bzl',
path: '/usr/local/bin/tilt',
args: ['lsp', 'start'],
install: 'brew install tilt',
},
{
name: 'typescript-language-server',
filetype: ['javascript', 'typescript'],
path: '/usr/local/bin/typescript-language-server',
args: ['--stdio'],
install: 'brew install typescript-language-server',
},
{ {
name: 'vim-language-server', name: 'vim-language-server',
filetype: 'vim', filetype: 'vim',
@ -89,6 +97,22 @@ const lspServers = [
install: 'npm install -g vim-language-server', install: 'npm install -g vim-language-server',
}, },
{
name: 'vscode-css-language-server',
filetype: 'css',
path: expand('~/.local/bin/vscode-css-language-server'),
args: ['--stdio'],
install: 'npm install -g vscode-langservers-extracted',
},
{
name: 'vscode-html-language-server',
filetype: 'html',
path: expand('~/.local/bin/vscode-html-language-server'),
args: ['--stdio'],
install: 'npm install -g vscode-langservers-extracted',
},
{ {
name: 'vscode-json-language-server', name: 'vscode-json-language-server',
filetype: ['json', 'jsonc'], filetype: ['json', 'jsonc'],