fix(vue): volar v1 support (#4552)

* fix: volar v1 support

* fix: volar linter errors
This commit is contained in:
Arnold Chand
2023-07-23 21:08:11 -04:00
committed by GitHub
parent 1084152a11
commit 32e1417d98
3 changed files with 27 additions and 48 deletions

View File

@@ -21,7 +21,7 @@ Execute(Assert proper tsserverlibrary for Volar LSP):
call ale#test#SetFilename('../test-files/volar/src/App.vue')
let g:init_opts = ale_linters#vue#volar#GetInitializationOptions(bufnr(''))
let g:tsserver_path = init_opts.typescript.serverPath
let g:actual_path = ale#path#Simplify(g:dir . '/../test-files/volar/node_modules/typescript/lib/tsserverlibrary.js')
let g:tsserver_path = init_opts.typescript.tsdk
let g:actual_path = ale#path#Simplify(g:dir . '/../test-files/volar/node_modules/typescript/lib/')
AssertEqual g:tsserver_path, g:actual_path