mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 04:23:51 -05:00
Improve guard to support concatenated files
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
|
||||
" set Vi-incompatible, compiler and commentstring
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
@@ -84,3 +81,4 @@ let g:tagbar_type_typescript = {
|
||||
if get(g:, 'typescript_use_builtin_tagbar_defs', 1)
|
||||
let g:tagbar_type_typescript.deffile = expand('<sfile>:p:h:h') . '/ctags/typescript.ctags'
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user