mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Fix #450 Document how linters are loaded
This commit is contained in:
12
doc/ale.txt
12
doc/ale.txt
@@ -911,6 +911,18 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
|
||||
is not desired, the |ale#engine#EscapeCommandPart()| function can be used to
|
||||
replace those characters to avoid formatting issues.
|
||||
|
||||
*ale-linter-loading-behaviour*
|
||||
|
||||
Linters for ALE will be loaded by searching |runtimepath| in the following
|
||||
format: >
|
||||
|
||||
ale_linters/<filetype>/<linter_name>.vim
|
||||
<
|
||||
Any linters which exist anywhere in |runtimepath| with that directory
|
||||
structure will be automatically loaded for the matching |filetype|. Filetypes
|
||||
containing `.` characters will be split into individual parts, and files
|
||||
will be loaded for each filetype between the `.` characters.
|
||||
|
||||
|
||||
ale#linter#Get(filetype) *ale#linter#Get()*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user