Skip to content

Commit

Permalink
runtime(sbt): do not set b:did_ftplugin before sourcing scala ftplugin(
Browse files Browse the repository at this point in the history
…#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>
  • Loading branch information
lervag committed Dec 11, 2023
1 parent b52e7ac commit 5a68cdf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/ftplugin/sbt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a68cdf

Please sign in to comment.