aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/fortran.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 23:05:15 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 23:19:58 -0400
commitac83c6eba65e92d434f3245f518f869c94751e6b (patch)
tree7c5625df2e83bde29193d2ff414813aa26f7d832 /runtime/indent/fortran.vim
parent8f8602d2dfc87257c1d72492aa1d285f335bb942 (diff)
downloadrneovim-ac83c6eba65e92d434f3245f518f869c94751e6b.tar.gz
rneovim-ac83c6eba65e92d434f3245f518f869c94751e6b.tar.bz2
rneovim-ac83c6eba65e92d434f3245f518f869c94751e6b.zip
vim-patch:e0e391755432
Update runtime files. https://github.com/vim/vim/commit/e0e3917554327f2524066f89fbbef9c83c1535da
Diffstat (limited to 'runtime/indent/fortran.vim')
-rw-r--r--runtime/indent/fortran.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/indent/fortran.vim b/runtime/indent/fortran.vim
index 696320288d..26ed33a54d 100644
--- a/runtime/indent/fortran.vim
+++ b/runtime/indent/fortran.vim
@@ -74,11 +74,15 @@ endif
if (b:fortran_fixed_source == 1)
setlocal indentexpr=FortranGetFixedIndent()
if exists("*FortranGetFixedIndent")
+ let &cpoptions = s:cposet
+ unlet s:cposet
finish
endif
else
setlocal indentexpr=FortranGetFreeIndent()
if exists("*FortranGetFreeIndent")
+ let &cpoptions = s:cposet
+ unlet s:cposet
finish
endif
endif
@@ -213,7 +217,7 @@ function FortranGetFixedIndent()
return ind
endfunction
-let &cpoptions=s:cposet
+let &cpoptions = s:cposet
unlet s:cposet
" vim:sw=2 tw=130