summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/fortran.vim
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-06-03 20:40:45 +0200
committerChristian Brabandt <cb@256bit.org>2024-06-03 20:40:45 +0200
commit0a0830624a260660c7fa692ecb7e6e5de09114ba (patch)
treec508cff470c4eb03f2020e6356b9fa3fec8053cd /runtime/ftplugin/fortran.vim
parenta218cc6cdabae1113647b817c4eefc2b60a6902f (diff)
patch 9.1.0464: no whitespace padding in commentstring option in ftpluginsv9.1.0464
Problem: no whitespace padding in commentstring option in ftplugins Solution: Change default to include whitespace padding, update existing filetype plugins with the new default value (Riley Bruins) closes: #14843 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/ftplugin/fortran.vim')
-rw-r--r--runtime/ftplugin/fortran.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/ftplugin/fortran.vim b/runtime/ftplugin/fortran.vim
index 3c325818d3..19a4c1e62b 100644
--- a/runtime/ftplugin/fortran.vim
+++ b/runtime/ftplugin/fortran.vim
@@ -11,6 +11,7 @@
" Doug Kearns, and Fritz Reese.
" Last Change: 2023 Dec 22
" 2024 Jan 14 by Vim Project (browsefilter)
+" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')
" Only do these settings when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -89,7 +90,7 @@ else
endif
" Set commentstring for foldmethod=marker
-setlocal cms=!%s
+setlocal cms=!\ %s
" Tabs are not a good idea in Fortran so the default is to expand tabs
if !exists("fortran_have_tabs")