Skip to content

Commit 461717a

Browse files
authored
Merge pull request #49 from dundargoc/typo
chore: fix typos with codespell
2 parents 47c643f + a5edd0b commit 461717a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

indent/erlang.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ endfunction
5757
" ======================
5858

5959
" Indtokens are "indentation tokens". See their exact format in the
60-
" documentaiton of the s:GetTokensFromLine function.
60+
" documentation of the s:GetTokensFromLine function.
6161

6262
" Purpose:
6363
" Calculate the new virtual column after the given segment of a line.
@@ -75,7 +75,7 @@ endfunction
7575
" s:CalcVCol("\t'\tx', b", 1, 4, 4) -> 10
7676
function! s:CalcVCol(line, first_index, last_index, vcol, tabstop)
7777

78-
" We copy the relevent segment of the line, otherwise if the line were
78+
" We copy the relevant segment of the line, otherwise if the line were
7979
" e.g. `"\t", term` then the else branch below would consume the `", term`
8080
" part at once.
8181
let line = a:line[a:first_index : a:last_index]
@@ -604,7 +604,7 @@ endfunction
604604
function! s:BeginElementFoundIfEmpty(stack, token, curr_vcol, stored_vcol, sw)
605605
if empty(a:stack)
606606
if a:stored_vcol ==# -1
607-
call s:Log(' "' . a:token . '" directly preceeds LTI -> return')
607+
call s:Log(' "' . a:token . '" directly precedes LTI -> return')
608608
return [1, a:curr_vcol + a:sw]
609609
else
610610
call s:Log(' "' . a:token .
@@ -825,7 +825,7 @@ function! s:ErlangCalcIndent2(lnum, stack)
825825
if ret | return res | endif
826826

827827
if stored_vcol ==# -1
828-
call s:Log(' End of clause directly preceeds LTI -> return')
828+
call s:Log(' End of clause directly precedes LTI -> return')
829829
return 0
830830
else
831831
call s:Log(' End of clause (but not end of line) -> return')

0 commit comments

Comments
 (0)