]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(systemd): allow for overriding systemd ftplugin settings (#13373)
authorEnno <Konfekt@users.noreply.github.com>
Wed, 18 Oct 2023 09:38:19 +0000 (11:38 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 09:38:19 +0000 (11:38 +0200)
closes: #13357

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/systemd.vim

index 8bcacdd381e8301209cb71bf555051fac310ee28..d268bfee7ad503e14022904a7852c9f51ba8dc48 100644 (file)
@@ -3,10 +3,11 @@
 " Keyword Lookup Support:      Enno Nagel <enno.nagel+vim@gmail.com>
 " Latest Revision:      2023-10-07
 
-if !exists('b:did_ftplugin')
-  " Looks a lot like dosini files.
-  runtime! ftplugin/dosini.vim
+if exists("b:did_ftplugin")
+  finish
 endif
+" Looks a lot like dosini files.
+runtime! ftplugin/dosini.vim
 
 if has('unix') && executable('less')
   if !has('gui_running')