summaryrefslogtreecommitdiffstats
path: root/ftplugin/elm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ftplugin/elm.vim2
-rw-r--r--ftplugin/elm/tagbar.vim2
2 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/elm.vim b/ftplugin/elm.vim
index 9c923b5a..e364d55f 100644
--- a/ftplugin/elm.vim
+++ b/ftplugin/elm.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
+
" plugin for Elm (http://elm-lang.org/)
if exists('b:did_ftplugin')
@@ -108,4 +109,5 @@ let &l:path =
setlocal includeexpr=GetElmFilename(v:fname)
setlocal include=^\\s*import\\s\\+
setlocal suffixesadd=.elm
+
endif
diff --git a/ftplugin/elm/tagbar.vim b/ftplugin/elm/tagbar.vim
index 4ae5b10c..4c0e3731 100644
--- a/ftplugin/elm/tagbar.vim
+++ b/ftplugin/elm/tagbar.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
+
if !executable('ctags')
finish
elseif globpath(&runtimepath, 'plugin/tagbar.vim') ==? ''
@@ -19,4 +20,5 @@ function! s:SetTagbar()
endfunction
call s:SetTagbar()
+
endif