mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 20:43:52 -05:00
Run a build and commit the results
This commit is contained in:
@@ -189,6 +189,13 @@ function! GetFsharpIndent()
|
||||
|
||||
endif
|
||||
|
||||
|
||||
" Don't change indent after lines begins with '//':
|
||||
if lline =~ '^\s*//'
|
||||
let i = indent(v:lnum)
|
||||
return i == 0 ? ind : i
|
||||
endif
|
||||
|
||||
" Add a 'shiftwidth' after lines ending with:
|
||||
if lline =~ '\(:\|=\|->\|<-\|(\|\[\|{\|{<\|\[|\|\[<\|\<\(begin\|do\|else\|fun\|function\|functor\|if\|initializer\|object\|private\|sig\|struct\|then\|try\)\|\<object\s*(.*)\)\s*$'
|
||||
let ind = ind + &sw
|
||||
|
||||
Reference in New Issue
Block a user