mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
@@ -144,7 +144,6 @@ You can change the directory to install servers by set `g:lsp_settings_servers_d
|
|||||||
| PHP | intelephense | Yes | Yes |
|
| PHP | intelephense | Yes | Yes |
|
||||||
| PHP | psalm-language-server | Yes | Yes |
|
| PHP | psalm-language-server | Yes | Yes |
|
||||||
| OCaml | ocaml-lsp | UNIX Only | Yes |
|
| OCaml | ocaml-lsp | UNIX Only | Yes |
|
||||||
| Protobuf | bufls | Yes | Yes |
|
|
||||||
| Protobuf | buf | Yes | Yes |
|
| Protobuf | buf | Yes | Yes |
|
||||||
| Puppet | puppet-languageserver | Yes | Yes |
|
| Puppet | puppet-languageserver | Yes | Yes |
|
||||||
| PureScript | purescript-language-server | Yes | Yes |
|
| PureScript | purescript-language-server | Yes | Yes |
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
@echo off
|
|
||||||
|
|
||||||
call "%~dp0\go_install.cmd" github.com/bufbuild/buf-language-server/cmd/bufls@latest
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
"$(dirname "$0")/go_install.sh" github.com/bufbuild/buf-language-server/cmd/bufls@latest
|
|
||||||
@@ -1301,18 +1301,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"proto": [
|
"proto": [
|
||||||
{
|
|
||||||
"command": "bufls",
|
|
||||||
"url": "https://github.com/bufbuild/buf-language-server",
|
|
||||||
"description": "Prototype for a Protobuf language server compatible with Buf.",
|
|
||||||
"requires": [
|
|
||||||
"go"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"command": "buf",
|
"command": "buf",
|
||||||
"url": "https://github.com/bufbuild/buf",
|
"url": "https://github.com/bufbuild/buf",
|
||||||
"description": "Protobuf language server compatible with Buf.",
|
"description": "Protobuf language server.",
|
||||||
"requires": [
|
"requires": [
|
||||||
"go"
|
"go"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ augroup vim_lsp_settings_buf
|
|||||||
au!
|
au!
|
||||||
LspRegisterServer {
|
LspRegisterServer {
|
||||||
\ 'name': 'buf',
|
\ 'name': 'buf',
|
||||||
\ 'cmd': {server_info->lsp_settings#get('buf', 'cmd', [lsp_settings#exec_path('buf')]+lsp_settings#get('buf', 'args', ['beta', 'lsp']))},
|
\ 'cmd': {server_info->lsp_settings#get('buf', 'cmd', [lsp_settings#exec_path('buf')]+lsp_settings#get('buf', 'args', ['lsp', 'serve']))},
|
||||||
\ 'root_uri':{server_info->lsp_settings#get('buf', 'root_uri', lsp_settings#root_uri('buf'))},
|
\ 'root_uri':{server_info->lsp_settings#get('buf', 'root_uri', lsp_settings#root_uri('buf'))},
|
||||||
\ 'initialization_options': lsp_settings#get('buf', 'initialization_options', {}),
|
\ 'initialization_options': lsp_settings#get('buf', 'initialization_options', {}),
|
||||||
\ 'allowlist': lsp_settings#get('buf', 'allowlist', ['proto']),
|
\ 'allowlist': lsp_settings#get('buf', 'allowlist', ['proto']),
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
augroup vim_lsp_settings_bufls
|
|
||||||
au!
|
|
||||||
LspRegisterServer {
|
|
||||||
\ 'name': 'bufls',
|
|
||||||
\ 'cmd': {server_info->lsp_settings#get('bufls', 'cmd', [lsp_settings#exec_path('bufls')]+lsp_settings#get('bufls', 'args', ['serve']))},
|
|
||||||
\ 'root_uri':{server_info->lsp_settings#get('bufls', 'root_uri', lsp_settings#root_uri('bufls'))},
|
|
||||||
\ 'initialization_options': lsp_settings#get('bufls', 'initialization_options', {}),
|
|
||||||
\ 'allowlist': lsp_settings#get('bufls', 'allowlist', ['proto']),
|
|
||||||
\ 'blocklist': lsp_settings#get('bufls', 'blocklist', []),
|
|
||||||
\ 'config': lsp_settings#get('bufls', 'config', lsp_settings#server_config('bufls')),
|
|
||||||
\ 'workspace_config': lsp_settings#get('bufls', 'workspace_config', {}),
|
|
||||||
\ 'semantic_highlight': lsp_settings#get('bufls', 'semantic_highlight', {}),
|
|
||||||
\ }
|
|
||||||
augroup END
|
|
||||||
Reference in New Issue
Block a user