1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
SpaceVim/bundle/django-plus.vim/after/syntax/django.vim
2022-05-07 08:03:49 +08:00

11 lines
289 B
VimL
Vendored

if exists('b:did_django_syntax') || &l:filetype =~# '^html'
finish
endif
let b:did_django_syntax = 1
let b:django_orig_syntax = get(b:, 'current_syntax', 'django')
unlet! b:current_syntax
runtime! syntax/django.vim
let b:current_syntax = b:django_orig_syntax
unlet b:django_orig_syntax