commit 7c3e1f2584c28911c253ef96cafae2ece1fe3c26
parent a8326f758499cec4db9c773ef4e40fdd3e95bdc6
Author: hhvn <dev@hhvn.uk>
Date: Sun, 2 Jan 2022 22:24:51 +0000
.c/n/s/rcshell.vim: support multiple rc scripts open at once
Diffstat:
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/.config/nvim/syntax/rcshell.vim b/.config/nvim/syntax/rcshell.vim
@@ -19,16 +19,7 @@
" plan9port's implementation.
" There is a tradeoff: less powerful `(ba)sh like substitution` syntax
" error detection.
-"
-" Disable loading this plugin.
-"
-if exists("g:loaded_rcshell")
- finish
-endif
-let g:loaded_rcshell = 1
-"
-" For version 5.x: Clear all syntax items
-" For version 6.x: Quit when a syntax file was already loaded
+
if version < 600
syntax clear
elseif exists("b:current_syntax")