Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Jul 19, 2023
1 parent 039e667 commit 121cd84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zaje.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func getDefs(filename string, data []byte) []highlight.LineMatch {
if syn_dir == "" {
if stat, err := os.Stat(os.Getenv("HOME") + "/.config/zaje/syntax_files"); err == nil && stat.IsDir() {
syn_dir = os.Getenv("HOME") + "/.config/zaje/syntax_files"
}else{
} else {
if stat, err := os.Stat("/etc/zaje/syntax_files"); err == nil && stat.IsDir() {
syn_dir = "/etc/zaje/syntax_files"
syn_dir = "/etc/zaje/syntax_files"
}
}
}
Expand Down

0 comments on commit 121cd84

Please sign in to comment.