diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-02-28 10:38:25 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-28 10:56:58 +0100 |
commit | 07b4b7524fc7faefb69e5c94d2512eb0807f0593 (patch) | |
tree | 95a3501927c94598dcf4bb54b40bdee84d2871f8 /runtime | |
parent | 0190771713241b10872b9e2118e16ea4e4b2d1a0 (diff) | |
download | rneovim-07b4b7524fc7faefb69e5c94d2512eb0807f0593.tar.gz rneovim-07b4b7524fc7faefb69e5c94d2512eb0807f0593.tar.bz2 rneovim-07b4b7524fc7faefb69e5c94d2512eb0807f0593.zip |
vim-patch:e84d2d4432cd
runtime(sh): Update ftplugin, fix vim/vim#14101 (vim/vim#14102)
Add the 'b' flag to 'comments', so that the shebang line is not detected as comment.
Fixes vim/vim#14101.
https://github.com/vim/vim/commit/e84d2d4432cd6e43f2bb300d02abc90d551bcf4a
Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/sh.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/sh.vim b/runtime/ftplugin/sh.vim index fccfe4be91..6d2093bf83 100644 --- a/runtime/ftplugin/sh.vim +++ b/runtime/ftplugin/sh.vim @@ -4,7 +4,7 @@ " Previous Maintainer: Dan Sharp " Contributor: Enno Nagel <ennonagel+vim@gmail.com> " Eisuke Kawashima -" Last Change: 2024 Jan 14 +" Last Change: 2024 Feb 27 if exists("b:did_ftplugin") finish @@ -14,7 +14,7 @@ let b:did_ftplugin = 1 let s:save_cpo = &cpo set cpo-=C -setlocal comments=:# +setlocal comments=b:# setlocal commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql |