forked from luna/vim-rana-local
temporary fix for #40
This commit is contained in:
parent
cd074dcff5
commit
73710edd4a
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ def guess_lexer_using_modeline(text):
|
||||||
if file_type is not None:
|
if file_type is not None:
|
||||||
try:
|
try:
|
||||||
lexer = get_lexer_by_name(file_type)
|
lexer = get_lexer_by_name(file_type)
|
||||||
except ClassNotFound: # pragma: nocover
|
except: # pragma: nocover
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if lexer is not None:
|
if lexer is not None:
|
||||||
|
|
Loading…
Reference in a new issue