From 92ab75408df8bff49bb29e113b3cc159d1ac3105 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:05:45 +0200 Subject: Allow for disabling individual languages, closes #66 --- ftplugin/scala/tagbar.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/scala') diff --git a/ftplugin/scala/tagbar.vim b/ftplugin/scala/tagbar.vim index 5e1f2af6..e6ab70e5 100644 --- a/ftplugin/scala/tagbar.vim +++ b/ftplugin/scala/tagbar.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1 + " " Support for Tagbar -- https://github.com/majutsushi/tagbar " @@ -29,3 +31,5 @@ let g:tagbar_type_scala = { if get(g:, 'scala_use_builtin_tagbar_defs', 1) let g:tagbar_type_scala.deffile = expand(':p:h:h:h') . '/ctags/scala.ctags' endif + +endif -- cgit v1.2.3