mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
fix(vue): volar v1 support (#4552)
* fix: volar v1 support * fix: volar linter errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user