diff options
author | Ben Boeckel <mathstuf@users.noreply.github.com> | 2022-10-29 11:56:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-29 20:56:09 +0900 |
commit | 28cff80652f31d72807493487e92f32fe81648bd (patch) | |
tree | 2714193a64bd5e075c2f2ea0d11c1f655a144bd4 /autoload | |
parent | e4b20544082ba019d8095cbc24ffab43b15e8fc0 (diff) | |
download | ale-28cff80652f31d72807493487e92f32fe81648bd.zip |
codespell: fix spelling errors picked out by `codespell` (#4343)
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/code_action.vim | 2 | ||||
-rw-r--r-- | autoload/ale/handlers/hdl_checker.vim | 2 | ||||
-rw-r--r-- | autoload/ale/java.vim | 2 | ||||
-rw-r--r-- | autoload/ale/list.vim | 4 | ||||
-rw-r--r-- | autoload/ale/lsp_linter.vim | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/autoload/ale/code_action.vim b/autoload/ale/code_action.vim index 60106a24..db31aad5 100644 --- a/autoload/ale/code_action.vim +++ b/autoload/ale/code_action.vim @@ -216,7 +216,7 @@ function! s:UpdateCursor(cursor, start, end, offset) abort " to the end of the changes let l:cur_line = l:end_line + l:line_offset let l:cur_column = l:end_column + l:column_offset - " else is not necesary, it means modifications are happening + " else is not necessary, it means modifications are happening " after the cursor so no cursor updates need to be done endif endif diff --git a/autoload/ale/handlers/hdl_checker.vim b/autoload/ale/handlers/hdl_checker.vim index e11c5377..e871b083 100644 --- a/autoload/ale/handlers/hdl_checker.vim +++ b/autoload/ale/handlers/hdl_checker.vim @@ -13,7 +13,7 @@ function! ale#handlers#hdl_checker#IsDotGit(path) abort return ! empty(a:path) && isdirectory(a:path) endfunction -" Sould return (in order of preference) +" Should return (in order of preference) " 1. Nearest config file " 2. Nearest .git directory " 3. The current path diff --git a/autoload/ale/java.vim b/autoload/ale/java.vim index e641ac6c..859d938d 100644 --- a/autoload/ale/java.vim +++ b/autoload/ale/java.vim @@ -1,7 +1,7 @@ " Author: Horacio Sanson https://github.com/hsanson " Description: Functions for integrating with Java tools -" Find the nearest dir contining a gradle or pom file and asume it +" Find the nearest dir contining a gradle or pom file and assume it " the root of a java app. function! ale#java#FindProjectRoot(buffer) abort let l:gradle_root = ale#gradle#FindProjectRoot(a:buffer) diff --git a/autoload/ale/list.vim b/autoload/ale/list.vim index f10d0910..8ce8597e 100644 --- a/autoload/ale/list.vim +++ b/autoload/ale/list.vim @@ -18,7 +18,7 @@ if !exists('s:timer_args') let s:timer_args = {} endif -" Return 1 if there is a buffer with buftype == 'quickfix' in bufffer list +" Return 1 if there is a buffer with buftype == 'quickfix' in buffer list function! ale#list#IsQuickfixOpen() abort let l:res = getqflist({ 'winid' : winnr() }) @@ -190,7 +190,7 @@ function! s:RestoreViewIfNeeded(buffer) abort return endif - " Check wether the cursor has moved since linting was actually requested. If + " Check whether the cursor has moved since linting was actually requested. If " the user has indeed moved lines, do nothing let l:current_view = winsaveview() diff --git a/autoload/ale/lsp_linter.vim b/autoload/ale/lsp_linter.vim index 1fb2e9b6..1c98d628 100644 --- a/autoload/ale/lsp_linter.vim +++ b/autoload/ale/lsp_linter.vim @@ -434,7 +434,7 @@ function! ale#lsp_linter#StartLSP(buffer, linter, Callback) abort if empty(l:root) && a:linter.lsp isnot# 'tsserver' " If there's no project root, then we can't check files with LSP, " unless we are using tsserver, which doesn't use project roots. - call ale#lsp_linter#AddErrorMessage(a:linter.name, "Failed to find project root, language server wont't start.") + call ale#lsp_linter#AddErrorMessage(a:linter.name, "Failed to find project root, language server won't start.") return 0 endif |