mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
add: helm-ls
This commit is contained in:
@@ -111,6 +111,7 @@ You can change the directory to install servers by set `g:lsp_settings_servers_d
|
||||
| Groovy | groovy-language-server | Yes | Yes |
|
||||
| Haskell | haskell-ide-engine | No | No |
|
||||
| Haskell | haskell-language-server | No | No |
|
||||
| Helm | helm-ls | Yes | Yes |
|
||||
| HTML | html-languageserver | Yes | Yes |
|
||||
| HTML | angular-language-server | Yes | Yes |
|
||||
| HTML | tailwindcss-intellisense | Yes | Yes |
|
||||
|
||||
5
installer/install-helm-ls.cmd
Normal file
5
installer/install-helm-ls.cmd
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
|
||||
setlocal
|
||||
echo Downloading helm-ls...
|
||||
curl -L -o helm-ls.exe "https://github.com/mrjosh/helm-ls/releases/latest/download/helm_ls_windows_amd64.exe"
|
||||
25
installer/install-helm-ls.sh
Normal file
25
installer/install-helm-ls.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
os=$(uname -s | tr "[:upper:]" "[:lower:]")
|
||||
|
||||
case $os in
|
||||
linux)
|
||||
if [ "$(uname -m)" = "x86_64" ]; then
|
||||
filename="helm_ls_linux_amd64"
|
||||
else
|
||||
filename="helm_ls_linux_arm"
|
||||
fi
|
||||
;;
|
||||
darwin)
|
||||
if [ "$(uname -m)" = "x86_64" ]; then
|
||||
filename="helm_ls_darwin_amd64"
|
||||
else
|
||||
filename="helm_ls_darwin_arm"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
curl -L -o helm-ls "https://github.com/mrjosh/helm-ls/releases/latest/download/$filename"
|
||||
chmod 755 helm-ls
|
||||
@@ -560,6 +560,14 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"helm": [
|
||||
{
|
||||
"command": "helm-ls",
|
||||
"url": "https://github.com/mrjosh/helm-ls",
|
||||
"description": "Helm-ls is a helm language server protocol LSP implementation.",
|
||||
"requires": []
|
||||
}
|
||||
],
|
||||
"html": [
|
||||
{
|
||||
"command": "vscode-html-language-server",
|
||||
|
||||
15
settings/help-ls.vim
Normal file
15
settings/help-ls.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
augroup vim_lsp_settings_helm_ls
|
||||
au!
|
||||
LspRegisterServer {
|
||||
\ 'name': 'helm-ls',
|
||||
\ 'cmd': {server_info->lsp_settings#get('helm-ls', 'cmd', [lsp_settings#exec_path('helm-ls')]+lsp_settings#get('helm-ls', 'args', []))},
|
||||
\ 'root_uri':{server_info->lsp_settings#get('helm-ls', 'root_uri', lsp_settings#root_uri('helm-ls'))},
|
||||
\ 'initialization_options': lsp_settings#get('helm-ls', 'initialization_options', {}),
|
||||
\ 'capabilities': lsp_settings#get('helm-ls', 'capabilities', {}),
|
||||
\ 'allowlist': lsp_settings#get('helm-ls', 'allowlist', ['helm']),
|
||||
\ 'blocklist': lsp_settings#get('helm-ls', 'blocklist', []),
|
||||
\ 'config': lsp_settings#get('helm-ls', 'config', lsp_settings#server_config('helm-ls')),
|
||||
\ 'workspace_config': lsp_settings#get('helm-ls', 'workspace_config', {}),
|
||||
\ 'semantic_highlight': lsp_settings#get('helm-ls', 'semantic_highlight', {}),
|
||||
\ }
|
||||
augroup END
|
||||
Reference in New Issue
Block a user