summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhysd <lin90162@yahoo.co.jp>2017-10-03 01:11:54 +0900
committerrhysd <lin90162@yahoo.co.jp>2017-10-03 01:11:54 +0900
commit753592ca6605c8b8f45c5cd08604b514ec644cc3 (patch)
treeb715680462f76b48802749511958f8c04443b993
parente0bd490ed9150c8a229f127dcacbcbf97c9f9861 (diff)
downloadale-753592ca6605c8b8f45c5cd08604b514ec644cc3.zip
Fix typos
-rw-r--r--ale_linters/sh/shellcheck.vim2
-rw-r--r--autoload/ale/command.vim2
-rw-r--r--autoload/ale/engine.vim2
-rw-r--r--autoload/ale/job.vim2
-rw-r--r--autoload/ale/linter.vim2
-rw-r--r--doc/ale-cmake.txt2
-rw-r--r--doc/ale-rust.txt2
-rw-r--r--doc/ale.txt10
-rw-r--r--test/test_linter_retrieval.vader2
-rw-r--r--test/test_statusline.vader2
10 files changed, 14 insertions, 14 deletions
diff --git a/ale_linters/sh/shellcheck.vim b/ale_linters/sh/shellcheck.vim
index 004656b5..b47ba19f 100644
--- a/ale_linters/sh/shellcheck.vim
+++ b/ale_linters/sh/shellcheck.vim
@@ -2,7 +2,7 @@
" Description: This file adds support for using the shellcheck linter with
" shell scripts.
-" This global variable can be set with a string of comma-seperated error
+" This global variable can be set with a string of comma-separated error
" codes to exclude from shellcheck. For example:
"
" let g:ale_sh_shellcheck_exclusions = 'SC2002,SC2004'
diff --git a/autoload/ale/command.vim b/autoload/ale/command.vim
index f8d04ff2..558fe233 100644
--- a/autoload/ale/command.vim
+++ b/autoload/ale/command.vim
@@ -28,7 +28,7 @@ function! ale#command#FormatCommand(buffer, command, pipe_file_if_needed) abort
" with an ugly string.
let l:command = substitute(l:command, '%%', '<<PERCENTS>>', 'g')
- " Replace all %s occurences in the string with the name of the current
+ " Replace all %s occurrences in the string with the name of the current
" file.
if l:command =~# '%s'
let l:filename = fnamemodify(bufname(a:buffer), ':p')
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index 839218b4..29cb44f3 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -573,7 +573,7 @@ function! ale#engine#ProcessChain(buffer, linter, chain_index, input) abort
if has_key(a:linter, 'command_chain')
while l:chain_index < len(a:linter.command_chain)
- " Run a chain of commands, one asychronous command after the other,
+ " Run a chain of commands, one asynchronous command after the other,
" so that many programs can be run in a sequence.
let l:chain_item = a:linter.command_chain[l:chain_index]
diff --git a/autoload/ale/job.vim b/autoload/ale/job.vim
index 1d8b6760..254f4eec 100644
--- a/autoload/ale/job.vim
+++ b/autoload/ale/job.vim
@@ -1,5 +1,5 @@
" Author: w0rp <devw0rp@gmail.com>
-" Deciption: APIs for working with Asynchronous jobs, with an API normalised
+" Description: APIs for working with Asynchronous jobs, with an API normalised
" between Vim 8 and NeoVim.
"
" Important functions are described below. They are:
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim
index 2cd773f1..269b0929 100644
--- a/autoload/ale/linter.vim
+++ b/autoload/ale/linter.vim
@@ -305,7 +305,7 @@ endfunction
function! ale#linter#Get(original_filetypes) abort
let l:possibly_duplicated_linters = []
- " Handle dot-seperated filetypes.
+ " Handle dot-separated filetypes.
for l:original_filetype in split(a:original_filetypes, '\.')
let l:filetype = ale#linter#ResolveFiletype(l:original_filetype)
let l:linter_names = s:GetLinterNames(l:original_filetype)
diff --git a/doc/ale-cmake.txt b/doc/ale-cmake.txt
index c1356c9d..fb46336f 100644
--- a/doc/ale-cmake.txt
+++ b/doc/ale-cmake.txt
@@ -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'`
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt
index d03ab073..52dc3d61 100644
--- a/doc/ale-rust.txt
+++ b/doc/ale-rust.txt
@@ -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,
diff --git a/doc/ale.txt b/doc/ale.txt
index fae91009..afdc918c 100644
--- a/doc/ale.txt
+++ b/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.
diff --git a/test/test_linter_retrieval.vader b/test/test_linter_retrieval.vader
index afb540d6..1a1e2580 100644
--- a/test/test_linter_retrieval.vader
+++ b/test/test_linter_retrieval.vader
@@ -97,7 +97,7 @@ Execute (The local alias option shouldn't completely replace the global one):
call ale#linter#Define('testft1', g:testlinter1)
call ale#linter#Define('testft2', g:testlinter2)
let g:ale_linter_aliases = {'testft1': ['testft1', 'testft2']}
- " This is a key set for a differnt filetype.
+ " This is a key set for a different filetype.
" We should look for a key in this Dictionary first, and then check the
" global Dictionary.
let b:ale_linter_aliases = {'testft3': ['testft1']}
diff --git a/test/test_statusline.vader b/test/test_statusline.vader
index 7978a509..0ce1d36f 100644
--- a/test/test_statusline.vader
+++ b/test/test_statusline.vader
@@ -88,7 +88,7 @@ Execute (Count should be match the loclist):
\ 'total': 15,
\}, ale#statusline#Count(bufnr(''))
-Execute (Output should be empty for non-existant buffer):
+Execute (Output should be empty for non-existent buffer):
AssertEqual Counts({}), ale#statusline#Count(9001)
Execute (Status() should return just errors for the old format):