@@ -57,7 +57,7 @@ endfunction
57
57
" ======================
58
58
59
59
" Indtokens are "indentation tokens". See their exact format in the
60
- " documentaiton of the s:GetTokensFromLine function.
60
+ " documentation of the s:GetTokensFromLine function.
61
61
62
62
" Purpose:
63
63
" Calculate the new virtual column after the given segment of a line.
@@ -75,7 +75,7 @@ endfunction
75
75
" s:CalcVCol("\t'\tx', b", 1, 4, 4) -> 10
76
76
function ! s: CalcVCol (line , first_index, last_index, vcol, tabstop )
77
77
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
79
79
" e.g. `"\t", term` then the else branch below would consume the `", term`
80
80
" part at once.
81
81
let line = a: line [a: first_index : a: last_index ]
@@ -604,7 +604,7 @@ endfunction
604
604
function ! s: BeginElementFoundIfEmpty (stack, token, curr_vcol, stored_vcol, sw )
605
605
if empty (a: stack )
606
606
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' )
608
608
return [1 , a: curr_vcol + a: sw ]
609
609
else
610
610
call s: Log (' "' . a: token .
@@ -825,7 +825,7 @@ function! s:ErlangCalcIndent2(lnum, stack)
825
825
if ret | return res | endif
826
826
827
827
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' )
829
829
return 0
830
830
else
831
831
call s: Log (' End of clause (but not end of line) -> return' )
0 commit comments