summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorKarl Yngve LervÄg <karl.yngve@lervag.net>2023-12-11 17:17:20 +0100
committerGitHub <noreply@github.com>2023-12-11 17:17:20 +0100
commit5a68cdf14915f20a1a6889cd0a76d29ecd374f24 (patch)
tree73fdf36dc18e81cc2d109bef6d20b697c41ed6aa /runtime/ftplugin
parentb52e7ac7c61cd88d04ee6b7b1808c361dd4a7640 (diff)
runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657)
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>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/sbt.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/ftplugin/sbt.vim b/runtime/ftplugin/sbt.vim
index 309d30e503..bf2c7a657a 100644
--- a/runtime/ftplugin/sbt.vim
+++ b/runtime/ftplugin/sbt.vim
@@ -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