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