mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 14:03:50 -05:00
Allow for disabling individual languages, closes #66
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'opencl') == -1
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
@@ -8,3 +10,5 @@ if version > 600
|
||||
endif
|
||||
|
||||
let b:did_indent = 1
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user