mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-16 21:45:07 +08:00
Close #5002 - Support getting g:ale_root as a String
CI / Build (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Lua (push) Blocked by required conditions
CI / Neovim 0.10 Linux (push) Blocked by required conditions
CI / Neovim 0.12 Linux (push) Blocked by required conditions
CI / Vim 8.2 Linux (push) Blocked by required conditions
CI / Vim 9.2 Linux (push) Blocked by required conditions
CI / Neovim 0.10 Windows (push) Waiting to run
CI / Neovim 0.12 Windows (push) Waiting to run
CI / Vim 8.2 Windows (push) Waiting to run
CI / Vim 9.2 Windows (push) Waiting to run
CI / Build (push) Waiting to run
CI / Lint (push) Blocked by required conditions
CI / Lua (push) Blocked by required conditions
CI / Neovim 0.10 Linux (push) Blocked by required conditions
CI / Neovim 0.12 Linux (push) Blocked by required conditions
CI / Vim 8.2 Linux (push) Blocked by required conditions
CI / Vim 9.2 Linux (push) Blocked by required conditions
CI / Neovim 0.10 Windows (push) Waiting to run
CI / Neovim 0.12 Windows (push) Waiting to run
CI / Vim 8.2 Windows (push) Waiting to run
CI / Vim 9.2 Windows (push) Waiting to run
This commit is contained in:
@@ -33,11 +33,12 @@ Execute(The project root should be globally configurable):
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
unlet g:ale_root.languageserver
|
||||
" As tracked by <https://github.com/dense-analysis/ale/issues/5002>, there
|
||||
" is a bug with g:ale_root.
|
||||
" While attempting to configure g:ale_root using a String might be a quite
|
||||
" limiting setup, it would be handy for debugging. However the test case is
|
||||
" missing here. It would unfortunately just fail.
|
||||
|
||||
" Configuring g:ale_root using a String works.
|
||||
let g:ale_root = ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
let g:ale_root = {}
|
||||
endfor
|
||||
|
||||
Execute(The project root should be per buffer configurable):
|
||||
|
||||
@@ -32,8 +32,12 @@ Execute(The project root should be globally configurable):
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
unlet g:ale_root.perlnavigator
|
||||
" As tracked by <https://github.com/dense-analysis/ale/issues/5002>, there
|
||||
" is a bug with g:ale_root which is thus missing here.
|
||||
|
||||
" Configuring g:ale_root using a String works.
|
||||
let g:ale_root = ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/perl')
|
||||
let g:ale_root = {}
|
||||
endfor
|
||||
|
||||
Execute(The project root should be per buffer configurable):
|
||||
|
||||
Reference in New Issue
Block a user