changeset 33600:b59496c2797b

runtime(systemd): allow for overriding systemd ftplugin settings (#13373) Commit: https://github.com/vim/vim/commit/5036e698520b2c39e4df5738f026a68ba2e76fef Author: Enno <Konfekt@users.noreply.github.com> Date: Wed Oct 18 11:38:19 2023 +0200 runtime(systemd): allow for overriding systemd ftplugin settings (https://github.com/vim/vim/issues/13373) closes: https://github.com/vim/vim/issues/13357 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 18 Oct 2023 11:45:06 +0200
parents 4e3510adf87c
children 28605af12602
files runtime/ftplugin/systemd.vim
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/ftplugin/systemd.vim
+++ b/runtime/ftplugin/systemd.vim
@@ -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')