diff options
Diffstat (limited to 'ftplugin/ocaml.vim')
-rw-r--r-- | ftplugin/ocaml.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/ocaml.vim b/ftplugin/ocaml.vim index 6babcef8..6ce2adcb 100644 --- a/ftplugin/ocaml.vim +++ b/ftplugin/ocaml.vim @@ -373,7 +373,7 @@ endfunction endif else let annot_file_name = '' - "(Pierre Vittet: I have commented 4b because this was chrashing + "(Pierre Vittet: I have commented 4b because this was crashing "my vim (it produced infinite loop)) " " 4b. anarchy : the renamed _build directory may be higher in the hierarchy @@ -464,8 +464,8 @@ endfunction "b. 'search' and 'match' work to find the type information - "In: - lin1,col1: postion of expression first char - " - lin2,col2: postion of expression last char + "In: - lin1,col1: position of expression first char + " - lin2,col2: position of expression last char "Out: - the pattern to be looked for to find the block " Must be called in the source buffer (use of line2byte) function! s:Block_pattern(lin1,lin2,col1,col2) @@ -583,7 +583,7 @@ endfunction let res = substitute (a:res, "\n", "", "g" ) "remove double space let res =substitute(res , " ", " ", "g") - "remove space at begining of string. + "remove space at beginning of string. let res = substitute(res, "^ *", "", "g") return res endfunction |