annotate runtime/ftplugin/sbt.vim @ 33910:136d4922b40b

runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657) Commit: https://github.com/vim/vim/commit/5a68cdf14915f20a1a6889cd0a76d29ecd374f24 Author: Karl Yngve Lerv?g <karl.yngve@lervag.net> Date: Mon Dec 11 17:17:20 2023 +0100 runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(https://github.com/vim/vim/issues/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>
author Christian Brabandt <cb@256bit.org>
date Mon, 11 Dec 2023 17:30:02 +0100
parents d183d629509e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11442
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim filetype plugin file
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: sbt
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Maintainer: Steven Dobay <stevendobay at protonmail.com>
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " License: Same as Vim
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 " Last Change: 2017.04.30
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 " ----------------------------------------------------------------------------
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 if exists('b:did_ftplugin') || &cp
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 finish
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 endif
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 runtime! ftplugin/scala.vim
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13
33910
136d4922b40b runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(#13657)
Christian Brabandt <cb@256bit.org>
parents: 11442
diff changeset
14 let b:did_ftplugin = 1