highlighter: Remove EmptyDef since it's superseeded by a nil check of SyntaxDef

This commit is contained in:
Jöran Karl
2023-09-20 20:25:09 +02:00
parent f386b29e16
commit 430da61314
2 changed files with 0 additions and 5 deletions

View File

@@ -908,8 +908,6 @@ func (b *Buffer) UpdateRules() {
if b.SyntaxDef != nil {
b.Settings["filetype"] = b.SyntaxDef.FileType
}
} else {
b.SyntaxDef = &highlight.EmptyDef
}
if b.SyntaxDef != nil {