Fixed silly error

This commit is contained in:
Karl Yngve Lervåg 2016-12-20 21:25:25 +01:00
parent 5e48e275cc
commit 6b5c633fc8

View File

@ -4,8 +4,11 @@
" Email: karl.yngve@gmail.com
"
if exists('b:current_syntax') | finish | endif
let b:current_syntax = 'tex'
if !exists('b:current_syntax')
let b:current_syntax = 'tex'
elseif b:current_syntax !=# 'tex'
finish
endif
" Perform spell checking when there is no syntax
" - This will enable spell checking e.g. in toplevel of included files