Skip to content

Commit cc4d34c

Browse files
committed
chore: fix typos found by codespell
1 parent 400bee0 commit cc4d34c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ftplugin/ocaml.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ endfunction
369369
endif
370370
else
371371
let annot_file_name = ''
372-
"(Pierre Vittet: I have commented 4b because this was chrashing
372+
"(Pierre Vittet: I have commented 4b because this was crashing
373373
"my vim (it produced infinite loop))
374374
"
375375
" 4b. anarchy : the renamed _build directory may be higher in the hierarchy
@@ -460,8 +460,8 @@ endfunction
460460

461461
"b. 'search' and 'match' work to find the type information
462462

463-
"In: - lin1,col1: postion of expression first char
464-
" - lin2,col2: postion of expression last char
463+
"In: - lin1,col1: position of expression first char
464+
" - lin2,col2: position of expression last char
465465
"Out: - the pattern to be looked for to find the block
466466
" Must be called in the source buffer (use of line2byte)
467467
function! s:Block_pattern(lin1,lin2,col1,col2)
@@ -579,7 +579,7 @@ endfunction
579579
let res = substitute (a:res, "\n", "", "g" )
580580
"remove double space
581581
let res =substitute(res , " ", " ", "g")
582-
"remove space at begining of string.
582+
"remove space at beginning of string.
583583
let res = substitute(res, "^ *", "", "g")
584584
return res
585585
endfunction

0 commit comments

Comments
 (0)