diff options
author | w0rp <devw0rp@gmail.com> | 2023-09-16 17:17:42 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2023-09-16 17:17:42 +0100 |
commit | cf270a1adadff2fa8b2931940ef8192b975f1ee4 (patch) | |
tree | ab6c484a526ec362c08e9a739cc5e5ece1b45ebf /autoload/ale/uri/jdt.vim | |
parent | 1799f8bec63508fb103236cacefb60a5e5100be1 (diff) | |
download | ale-cf270a1adadff2fa8b2931940ef8192b975f1ee4.zip |
Stop supporting ale_lsp_root
We renamed the ale_lsp_root setting to ale_root long ago. Stop
supporting the old setting name.
Diffstat (limited to 'autoload/ale/uri/jdt.vim')
-rw-r--r-- | autoload/ale/uri/jdt.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/autoload/ale/uri/jdt.vim b/autoload/ale/uri/jdt.vim index 11a22d34..7df10b4e 100644 --- a/autoload/ale/uri/jdt.vim +++ b/autoload/ale/uri/jdt.vim @@ -21,11 +21,11 @@ function! s:OpenJDTLink(root, uri, line, column, options, result) abort call ale#util#Open(a:uri, a:line, a:column, a:options) autocmd AleURISchemes BufNewFile,BufReadPre jdt://** call ale#uri#jdt#ReadJDTLink(expand('<amatch>')) - if !empty(getbufvar(bufnr(''), 'ale_lsp_root', '')) + if !empty(getbufvar(bufnr(''), 'ale_root', '')) return endif - let b:ale_lsp_root = a:root + let b:ale_root = a:root set filetype=java call setline(1, split(l:contents, '\n')) @@ -83,7 +83,7 @@ endfunction " Read jdt:// contents, as part of current project, into current buffer. function! ale#uri#jdt#ReadJDTLink(encoded_uri) abort - if !empty(getbufvar(bufnr(''), 'ale_lsp_root', '')) + if !empty(getbufvar(bufnr(''), 'ale_root', '')) return endif @@ -100,7 +100,7 @@ function! ale#uri#jdt#ReadJDTLink(encoded_uri) abort endif let l:uri = a:encoded_uri - let b:ale_lsp_root = l:root + let b:ale_root = l:root set filetype=java call ale#lsp_linter#SendRequest( |