summaryrefslogtreecommitdiffstats
path: root/markup/highlight/config.go
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-23 16:31:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-01 17:59:44 +0200
commit382c726e63b9adb8d7e38c80e03e404767925eba (patch)
treebcd0b4d76beec5e3cb03bc7f740a90e228723b60 /markup/highlight/config.go
parent4c46f9400b91a205361210e8eb0c1718784ec8f2 (diff)
markup: Fix typo in function and struct names
Diffstat (limited to 'markup/highlight/config.go')
-rw-r--r--markup/highlight/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/markup/highlight/config.go b/markup/highlight/config.go
index ca065fd2d..62db6b237 100644
--- a/markup/highlight/config.go
+++ b/markup/highlight/config.go
@@ -136,7 +136,7 @@ func applyOptions(opts any, cfg *Config) error {
}
func applyOptionsFromString(opts string, cfg *Config) error {
- optsm, err := parseHightlightOptions(opts)
+ optsm, err := parseHighlightOptions(opts)
if err != nil {
return err
}
@@ -188,7 +188,7 @@ func ApplyLegacyConfig(cfg config.Provider, conf *Config) error {
return nil
}
-func parseHightlightOptions(in string) (map[string]any, error) {
+func parseHighlightOptions(in string) (map[string]any, error) {
in = strings.Trim(in, " ")
opts := make(map[string]any)