Don't use code check on .bib files

This commit is contained in:
James Allen 2017-01-26 16:13:21 +01:00
parent 32b0c6a4fb
commit 68aab6e05c

View file

@ -279,7 +279,7 @@ define [
session.setUseWrapMode(true)
# use syntax validation only when explicitly set
if scope.syntaxValidation? and syntaxValidationEnabled
if scope.syntaxValidation? and syntaxValidationEnabled and !scope.fileName.match(/\.bib$/)
session.setOption("useWorker", scope.syntaxValidation);
# now attach session to editor