mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Added Hyuga installer
This commit is contained in:
@@ -113,6 +113,7 @@ You can change the directory to install servers by set `g:lsp_settings_servers_d
|
||||
| HTML | html-languageserver | Yes | Yes |
|
||||
| HTML | angular-language-server | Yes | Yes |
|
||||
| HTML | tailwindcss-intellisense | Yes | Yes |
|
||||
| Hy | hyuga | Yes | Yes |
|
||||
| JSON | json-languageserver | Yes | Yes |
|
||||
| JSON | rome | Yes | Yes |
|
||||
| Jsonnet | jsonnet-language-server | Yes | Yes |
|
||||
|
||||
3
installer/install-hyuga.cmd
Normal file
3
installer/install-hyuga.cmd
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
call "%~dp0\pip_install.cmd" hyuga hyuga
|
||||
5
installer/install-hyuga.sh
Executable file
5
installer/install-hyuga.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
"$(dirname "$0")/pip_install.sh" hyuga hyuga
|
||||
@@ -579,6 +579,17 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"hy": [
|
||||
{
|
||||
"command": "hyuga",
|
||||
"url": "https://github.com/sakuraiyuta/hyuga",
|
||||
"description": "Yet another hy language server",
|
||||
"requires": [],
|
||||
"root_uri_patterns": [
|
||||
"__pycache__"
|
||||
]
|
||||
}
|
||||
],
|
||||
"java": [
|
||||
{
|
||||
"command": "eclipse-jdt-ls",
|
||||
|
||||
14
settings/hyuga.vim
Normal file
14
settings/hyuga.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
augroup vim_lsp_settings_hyuga
|
||||
au!
|
||||
LspRegisterServer {
|
||||
\ 'name': 'hyuga',
|
||||
\ 'cmd': {server_info->lsp_settings#get('hyuga', 'cmd', [lsp_settings#exec_path('hyuga')]+lsp_settings#get('hyuga', 'args', []))},
|
||||
\ 'root_uri':{server_info->lsp_settings#get('hyuga', 'root_uri', lsp_settings#root_uri('hyuga'))},
|
||||
\ 'initialization_options': lsp_settings#get('hyuga', 'initialization_options', v:null),
|
||||
\ 'allowlist': lsp_settings#get('hyuga', 'allowlist', ['hy']),
|
||||
\ 'blocklist': lsp_settings#get('hyuga', 'blocklist', []),
|
||||
\ 'config': lsp_settings#get('hyuga', 'config', lsp_settings#server_config('hyuga')),
|
||||
\ 'workspace_config': lsp_settings#get('hyuga', 'workspace_config', {}),
|
||||
\ 'semantic_highlight': lsp_settings#get('hyuga', 'semantic_highlight', {}),
|
||||
\ }
|
||||
augroup END
|
||||
Reference in New Issue
Block a user