summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-09-20 20:50:58 +0100
committerGitHub <noreply@github.com>2019-09-20 20:50:58 +0100
commite6946de98a197a113b5150543200e77cfd85acbf (patch)
tree59773624f67549d263e71defa8879ca0bf1691aa
parent6ab264ff0fa0a0fb431281bb9cbec2775c44cdcc (diff)
parentda262f40dd6f087dc2bcb03e408e207c4c8d5724 (diff)
downloadale-e6946de98a197a113b5150543200e77cfd85acbf.zip
Merge pull request #2736 from zoonfafer/doc-typos
doc: Fix typos
-rw-r--r--autoload/ale/path.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/path.vim b/autoload/ale/path.vim
index 84c26d0a..30550503 100644
--- a/autoload/ale/path.vim
+++ b/autoload/ale/path.vim
@@ -54,14 +54,14 @@ function! ale#path#FindNearestDirectory(buffer, directory_name) abort
return ''
endfunction
-" Given a buffer, a string to search for, an a global fallback for when
+" Given a buffer, a string to search for, and a global fallback for when
" the search fails, look for a file in parent paths, and if that fails,
" use the global fallback path instead.
function! ale#path#ResolveLocalPath(buffer, search_string, global_fallback) abort
" Search for a locally installed file first.
let l:path = ale#path#FindNearestFile(a:buffer, a:search_string)
- " If the serach fails, try the global executable instead.
+ " If the search fails, try the global executable instead.
if empty(l:path)
let l:path = a:global_fallback
endif