VSCode LSPs for CSS, HTML and JSON (#4175)

Switched to `vscode-langservers-extracted` as it is the one most
up-to-date.
This commit is contained in:
Dalius Dobravolskas
2022-05-02 13:42:24 +03:00
committed by GitHub
parent 34892186e4
commit 56399106fc
9 changed files with 71 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
" Author: Dalius Dobravolskas <dalius.dobravolskas@gmail.com>
" Description: VSCode json languageserver
" Description: VSCode json language server
function! ale_linters#json#vscodejson#GetProjectRoot(buffer) abort
let l:git_path = ale#path#FindNearestDirectory(a:buffer, '.git')
@@ -10,7 +10,7 @@ endfunction
call ale#linter#Define('json', {
\ 'name': 'vscodejson',
\ 'lsp': 'stdio',
\ 'executable': 'vscode-json-languageserver',
\ 'executable': 'vscode-json-language-server',
\ 'command': '%e --stdio',
\ 'project_root': function('ale_linters#json#vscodejson#GetProjectRoot'),
\})