summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-01 20:51:29 +0000
committerw0rp <devw0rp@gmail.com>2021-03-01 20:51:29 +0000
commit680ba68d815d772e6461e9ca8306822da64a48aa (patch)
tree39ff97bbb032d91b3a91dde3cb8af15be13bbf80 /plugin
parent9fe7b1fe6a23fb55e6d782293585d58193123f59 (diff)
downloadale-680ba68d815d772e6461e9ca8306822da64a48aa.zip
#3599 - Use ale_root instead of ale_lsp_root
The `ale_lsp_root` setting is now deprecated, and `ale_root` should be used instead. The setting will be used for both setting the root easily for LSP linters, and for running other linters over whole projects.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 845586be..540ba11b 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -87,9 +87,6 @@ let g:ale_lint_on_save = get(g:, 'ale_lint_on_save', 1)
" This flag can be set to 1 to enable linting when the filetype is changed.
let g:ale_lint_on_filetype_changed = get(g:, 'ale_lint_on_filetype_changed', 1)
-" This Dictionary configures the default LSP roots for various linters.
-let g:ale_lsp_root = get(g:, 'ale_lsp_root', {})
-
" If set to 1, hints and suggestion from LSP servers and tsserver will be shown.
let g:ale_lsp_suggestions = get(g:, 'ale_lsp_suggestions', 0)
@@ -104,6 +101,9 @@ let g:ale_enabled = get(g:, 'ale_enabled', 1)
" mapping filename paths from one system to another.
let g:ale_filename_mappings = get(g:, 'ale_filename_mappings', {})
+" This Dictionary configures the default project roots for various linters.
+let g:ale_root = get(g:, 'ale_root', {})
+
" These flags dictates if ale uses the quickfix or the loclist (loclist is the
" default, quickfix overrides loclist).
let g:ale_set_loclist = get(g:, 'ale_set_loclist', 1)