summaryrefslogtreecommitdiffstats
path: root/compiler/gradlew.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/gradlew.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/gradlew.vim b/compiler/gradlew.vim
index aeb73eaa..6715b44d 100644
--- a/compiler/gradlew.vim
+++ b/compiler/gradlew.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'gradle') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gradle') == -1
" Vim Compiler File
" Compiler: gradlew
@@ -26,3 +23,4 @@ CompilerSet errorformat=
\%E%f:\ %\\d%\\+:\ %m\ @\ line\ %l\\,\ column\ %c.,%-C%.%#,%Z%p^,
\%E%>%f:\ %\\d%\\+:\ %m,%C\ @\ line\ %l\\,\ column\ %c.,%-C%.%#,%Z%p^,
\%-G%.%#
+endif