]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657)
authorKarl Yngve Lervåg <karl.yngve@lervag.net>
Mon, 11 Dec 2023 16:17:20 +0000 (17:17 +0100)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 16:17:20 +0000 (17:17 +0100)
The `b:did_ftplugin` guard was set and prevented us from actually sourcing `ftplugin/scala.vim`. Since the latter script also sets the guard properly, we can simply remove the guard here.

Signed-off-by: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= <karl.yngve+git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/sbt.vim

index 309d30e503c998f38993275e4158e5755a50b5a9..bf2c7a657ae8290244f86a26b45a553390904df9 100644 (file)
@@ -9,7 +9,6 @@ if exists('b:did_ftplugin') || &cp
   finish
 endif
 
-let b:did_ftplugin = 1
-
 runtime! ftplugin/scala.vim
 
+let b:did_ftplugin = 1