mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-17 19:41:27 +08:00
Fix #257 in preparation for #427, standardise options with fallbacks, and make it so every value can be computed dynamically
This commit is contained in:
1 parent
2f009690c3
commit
706dd050f2
16 files changed
+69
-36
No files matched your search
@@ -4,8 +4,10 @@
|
||||
let g:ale_python_flake8_executable =
|
||||
\ get(g:, 'ale_python_flake8_executable', 'flake8')
|
||||
|
||||
let g:ale_python_flake8_args =
|
||||
\ get(g:, 'ale_python_flake8_args', '')
|
||||
" Support an old setting as a fallback.
|
||||
let s:default_options = get(g:, 'ale_python_flake8_args', '')
|
||||
let g:ale_python_flake8_options =
|
||||
\ get(g:, 'ale_python_flake8_options', s:default_options)
|
||||
|
||||
" A map from Python executable paths to semver strings parsed for those
|
||||
" executables, so we don't have to look up the version number constantly.
|
||||
|
||||
Reference in new issue
Block a user