diff --git a/syntax_files/go.yaml b/syntax_files/go.yaml index 480a162..4ec3126 100644 --- a/syntax_files/go.yaml +++ b/syntax_files/go.yaml @@ -2,7 +2,7 @@ filetype: go detect: filename: "\\.go$" - header: "^package\\s.*" + header: "(^package\\s.*)" rules: # Conditionals and control flow