mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-08 20:43:31 +08:00
Fix typos
This commit is contained in:
@@ -5,7 +5,7 @@ ALE CMake Integration *ale-cmake-options*
|
||||
===============================================================================
|
||||
cmakelint *ale-cmake-cmakelint*
|
||||
|
||||
g:ale_cmake_cmakelint_exectuable *g:ale_cmake_cmakelint_executable*
|
||||
g:ale_cmake_cmakelint_executable *g:ale_cmake_cmakelint_executable*
|
||||
*b:ale_cmake_cmakelint_executable*
|
||||
Type: |String|
|
||||
Default: `'cmakelint'`
|
||||
|
||||
@@ -20,7 +20,7 @@ Integration Information
|
||||
while you type.
|
||||
3. rls -- If you have `rls` installed, you might prefer using this linter
|
||||
over cargo. rls implements the Language Server Protocol for incremental
|
||||
compliation of Rust code, and can check Rust files while you type. `rls`
|
||||
compilation of Rust code, and can check Rust files while you type. `rls`
|
||||
requires Rust files to contained in Cargo projects.
|
||||
|
||||
Only cargo is enabled by default. To switch to using rustc instead of cargo,
|
||||
|
||||
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