Skip to content

Commit

Permalink
chore(volar): update volar executable name (#4308)
Browse files Browse the repository at this point in the history
see: vuejs/language-tools#876
see: johnsoncodehk/volar/blob/master/packages/vue-language-server/package.json#L11
  • Loading branch information
BBOOXX authored Sep 11, 2022
1 parent 1458b87 commit 77fcf9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ale_linters/vue/volar.vim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
" Description: Volar Language Server integration for ALE adopted from
" nvim-lspconfig and volar/packages/shared/src/types.ts

call ale#Set('vue_volar_executable', 'volar-server')
call ale#Set('vue_volar_executable', 'vue-language-server')
call ale#Set('vue_volar_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#Set('vue_volar_init_options', {
\ 'documentFeatures': {
Expand Down Expand Up @@ -73,7 +73,7 @@ call ale#linter#Define('vue', {
\ 'name': 'volar',
\ 'language': 'vue',
\ 'lsp': 'stdio',
\ 'executable': {b -> ale#path#FindExecutable(b, 'vue_volar', ['node_modules/.bin/volar-server'])},
\ 'executable': {b -> ale#path#FindExecutable(b, 'vue_volar', ['node_modules/.bin/vue-language-server'])},
\ 'command': '%e --stdio',
\ 'project_root': function('ale_linters#vue#volar#GetProjectRoot'),
\ 'initialization_options': function('ale_linters#vue#volar#GetInitializationOptions'),
Expand Down
2 changes: 1 addition & 1 deletion doc/ale-vue.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ volar *ale-vue-volar*
g:ale_vue_volar_executable *g:ale_vue_volar_executable*
*b:ale_vue_volar_executable*
Type: |String|
Default: `'volar-server'`
Default: `'vue-language-server'`

See |ale-integrations-local-executables|

Expand Down

0 comments on commit 77fcf9b

Please sign in to comment.