Skip to content

Commit 0dfa385

Browse files
committed
Add go.mod ignore directive
1 parent de75537 commit 0dfa385

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax/gomod.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ endif
44

55
syntax case match
66

7-
syn match gomodKeywords /\v^%(go|module|require|exclude|replace|retract|toolchain|godebug|tool)/
7+
syn match gomodKeywords /\v^%(go|module|require|exclude|replace|retract|toolchain|godebug|tool|ignore)/
88
syn region gomodComment start="//" end=/$/ contains=@Spell
99
syn match gomodIndirect " // indirect$"
1010
syn match gomodReplace /=>/

0 commit comments

Comments
 (0)