diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-09-09 12:05:33 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-09-09 12:05:33 +0200 |
commit | 7f98e949d4922ba2109304bd4cabe9578a8062fb (patch) | |
tree | e1b08f862397c14ab799e8f277c6fc39ec48b3b6 /indent/erlang.vim | |
parent | ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd (diff) | |
download | vim-polyglot-7f98e949d4922ba2109304bd4cabe9578a8062fb.tar.gz vim-polyglot-7f98e949d4922ba2109304bd4cabe9578a8062fb.zip |
Update
Diffstat (limited to 'indent/erlang.vim')
-rw-r--r-- | indent/erlang.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/erlang.vim b/indent/erlang.vim index 1636cc57..5a5637a7 100644 --- a/indent/erlang.vim +++ b/indent/erlang.vim @@ -61,7 +61,7 @@ endfunction " ====================== " Indtokens are "indentation tokens". See their exact format in the -" documentaiton of the s:GetTokensFromLine function. +" documentation of the s:GetTokensFromLine function. " Purpose: " Calculate the new virtual column after the given segment of a line. @@ -79,7 +79,7 @@ endfunction " s:CalcVCol("\t'\tx', b", 1, 4, 4) -> 10 function! s:CalcVCol(line, first_index, last_index, vcol, tabstop) - " We copy the relevent segment of the line, otherwise if the line were + " We copy the relevant segment of the line, otherwise if the line were " e.g. `"\t", term` then the else branch below would consume the `", term` " part at once. let line = a:line[a:first_index : a:last_index] @@ -608,7 +608,7 @@ endfunction function! s:BeginElementFoundIfEmpty(stack, token, curr_vcol, stored_vcol, sw) if empty(a:stack) if a:stored_vcol ==# -1 - call s:Log(' "' . a:token . '" directly preceeds LTI -> return') + call s:Log(' "' . a:token . '" directly precedes LTI -> return') return [1, a:curr_vcol + a:sw] else call s:Log(' "' . a:token . @@ -829,7 +829,7 @@ function! s:ErlangCalcIndent2(lnum, stack) if ret | return res | endif if stored_vcol ==# -1 - call s:Log(' End of clause directly preceeds LTI -> return') + call s:Log(' End of clause directly precedes LTI -> return') return 0 else call s:Log(' End of clause (but not end of line) -> return') |