[bim] Be sure to set syntax on new file
This commit is contained in:
parent
dbeeb21091
commit
2089ab7bd8
@ -1733,6 +1733,9 @@ void open_file(char * file) {
|
||||
FILE * f = fopen(file, "r");
|
||||
|
||||
if (!f) {
|
||||
if (hilight_on_open) {
|
||||
env->syntax = match_syntax(file);
|
||||
}
|
||||
env->loading = 0;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user