diff options
-rw-r--r-- | plugins/language_go.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_go.lua b/plugins/language_go.lua index 199dc0a..58c38c2 100644 --- a/plugins/language_go.lua +++ b/plugins/language_go.lua @@ -19,7 +19,7 @@ syntax.add { { pattern = "[%+%-=/%*%^%%<>!~|&]", type = "operator" }, { pattern = ":=", type = "operator" }, { pattern = "[%a_][%w_]*%f[(]", type = "function" }, -- function call - { pattern = "func()[%s].*[%a_][%w_]*()%f[%[(]", type = {"keyword", "function", "normal"} }, -- function statement + { pattern = "func()%s*[%a_][%w_]*()%f[%[(]", type = {"keyword", "function", "normal"} }, -- function statement { pattern = "[%a_][%w_]*", type = "symbol" }, }, symbols = { |