mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-14 22:43:49 -05:00
Improve guard so it works for no eof new line
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dlang') == -1
|
||||
|
||||
if &filetype == "ddoc"
|
||||
"ddoc file type
|
||||
" Quit when a syntax file was already loaded
|
||||
@@ -81,4 +82,5 @@ elseif &filetype == "d"
|
||||
hi! def link ddocIdentifierNestedDecl Macro
|
||||
hi! def link ddocKeyword Macro
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user