summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike JS. Choi <mkchoi212@icloud.com>2018-01-06 18:29:07 -0600
committerMike JS. Choi <mkchoi212@icloud.com>2018-01-06 18:29:07 -0600
commit97b75b4d35619f44d29d20167a1416ffc7deac33 (patch)
tree70d5a40f26ca2c0fb870b3098e1720c76a050fd2
parent0e9722c4fe4dab3f701a3c427990eb4eb2deea06 (diff)
Change function name
-rw-r--r--conflict/parse.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/conflict/parse.go b/conflict/parse.go
index 6bf4e96..0a8a28e 100644
--- a/conflict/parse.go
+++ b/conflict/parse.go
@@ -20,7 +20,7 @@ import (
var FileLines map[string][]string
-func (c *Conflict) SyntaxHighlight() error {
+func (c *Conflict) HighlightSyntax() error {
var lexer chroma.Lexer
if lexer = lexers.Match(c.FileName); lexer == nil {
@@ -185,7 +185,7 @@ func Find() (err error) {
if err = All[i].ExtractLines(); err != nil {
return
}
- if err = All[i].SyntaxHighlight(); err != nil {
+ if err = All[i].HighlightSyntax(); err != nil {
return
}
}