mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
syntax/syntax_converter: Remove empty rules in regions
This commit is contained in:
parent
f391b59be6
commit
596da97626
1 changed files with 0 additions and 1 deletions
|
|
@ -149,7 +149,6 @@ func generateFile(filetype, syntax, header string, rules []interface{}) string {
|
|||
output += fmt.Sprintf(" - %s:\n", rule.color)
|
||||
output += fmt.Sprintf(" start: \"%s\"\n", strings.Replace(strings.Replace(rule.start, "\\", "\\\\", -1), "\"", "\\\"", -1))
|
||||
output += fmt.Sprintf(" end: \"%s\"\n", strings.Replace(strings.Replace(rule.end, "\\", "\\\\", -1), "\"", "\\\"", -1))
|
||||
output += fmt.Sprintf(" rules: []\n\n")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue