We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cafa60 commit ed993a4Copy full SHA for ed993a4
internal/buffer/buffer.go
@@ -770,7 +770,7 @@ func (b *Buffer) UpdateRules() {
770
}
771
772
if !foundDef {
773
- // search in the default syntax files
+ // search for the syntax file in the runtime files
774
for _, f := range config.ListRuntimeFiles(config.RTSyntaxHeader) {
775
data, err := f.Data()
776
if err != nil {
@@ -883,6 +883,7 @@ func (b *Buffer) UpdateRules() {
883
screen.TermMessage("Error loading syntax file " + f.Name() + ": " + err.Error())
884
continue
885
886
+
887
header, err := highlight.MakeHeaderYaml(data)
888
889
screen.TermMessage("Error parsing syntax file " + f.Name() + ": " + err.Error())
0 commit comments