mirror of
https://github.com/dense-analysis/ale.git
synced 2026-03-05 06:34:21 +08:00
Fix typos
This commit is contained in:
10
doc/ale.txt
10
doc/ale.txt
@@ -608,7 +608,7 @@ g:ale_fixers *g:ale_fixers*
|
||||
A mapping from filetypes to |List| values for functions for fixing errors.
|
||||
See |ale-fix| for more information.
|
||||
|
||||
This variable can be overriden with variables in each buffer.
|
||||
This variable can be overridden with variables in each buffer.
|
||||
|
||||
|
||||
g:ale_fix_on_save *g:ale_fix_on_save*
|
||||
@@ -1508,7 +1508,7 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
|
||||
the end of the file will be moved to the end.
|
||||
`col` - The column number is optional and will
|
||||
default to `0`. Any strings will be automatically
|
||||
coverted to number using `str2nr()`.
|
||||
converted to number using `str2nr()`.
|
||||
`end_col` - An optional end column number.
|
||||
This key can be set to specify the column problems
|
||||
end on, for improved highlighting.
|
||||
@@ -1659,7 +1659,7 @@ ale#linter#Define(filetype, linter) *ale#linter#Define()*
|
||||
`project_callback` and `language_callback` arguments
|
||||
must also be defined.
|
||||
|
||||
LSP linters handle diagonstics automatically, so
|
||||
LSP linters handle diagnostics automatically, so
|
||||
the `callback` argument must not be defined.
|
||||
|
||||
`project_callback` A |String| or |Funcref| for a callback function
|
||||
@@ -1748,12 +1748,12 @@ ale#linter#Get(filetype) *ale#linter#Get()*
|
||||
Return all of linters configured for a given filetype as a |List| of
|
||||
|Dictionary| values in the format specified by |ale#linter#Define()|.
|
||||
|
||||
Filetypes may be dot-seperated to invoke linters for multiple filetypes:
|
||||
Filetypes may be dot-separated to invoke linters for multiple filetypes:
|
||||
for instance, the filetype `javascript.jsx` will return linters for both the
|
||||
`javascript` and `jsx` filetype.
|
||||
|
||||
Aliases may be defined in as described in |g:ale_linter_aliases|. Aliases
|
||||
are applied after dot-seperated filetypes are broken up into their
|
||||
are applied after dot-separated filetypes are broken up into their
|
||||
components.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user