File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -727,7 +727,7 @@ func findRealRuntimeSyntaxDef(name string, header *highlight.Header) *highlight.
727727}
728728
729729// findRuntimeSyntaxDef finds a specific syntax definition
730- // in the runtime files
730+ // in the built-in syntax files
731731func findRuntimeSyntaxDef (name string , header * highlight.Header ) * highlight.Def {
732732 for _ , f := range config .ListRuntimeFiles (config .RTSyntax ) {
733733 if f .Name () == name {
@@ -830,7 +830,7 @@ func (b *Buffer) UpdateRules() {
830830 }
831831
832832 if ! foundDef {
833- // search for the syntax file in the runtime files
833+ // search for the syntax file in the built-in syntax files
834834 for _ , f := range config .ListRuntimeFiles (config .RTSyntaxHeader ) {
835835 data , err := f .Data ()
836836 if err != nil {
@@ -917,7 +917,7 @@ func (b *Buffer) UpdateRules() {
917917 // search for the default file in the user's custom syntax files
918918 b .SyntaxDef = findRealRuntimeSyntaxDef ("default" , nil )
919919 if b .SyntaxDef == nil {
920- // search for the default file in the runtime files
920+ // search for the default file in the built-in syntax files
921921 b .SyntaxDef = findRuntimeSyntaxDef ("default" , nil )
922922 }
923923 }
You can’t perform that action at this time.
0 commit comments