summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-15 22:36:03 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-15 22:36:03 +0100
commitb72e608374b24977279b580cdab474714fe76a74 (patch)
treedbdc0d2571523316f06ea477a684f6fbde4656e3
parentc2755b75c108b237e16259e0f2fa9479452f7b49 (diff)
nvim: Add support for ‘%debug’
-rw-r--r--.config/nvim/after/syntax/yacc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/after/syntax/yacc.vim b/.config/nvim/after/syntax/yacc.vim
index 51f3b3c..fe6603e 100644
--- a/.config/nvim/after/syntax/yacc.vim
+++ b/.config/nvim/after/syntax/yacc.vim
@@ -1,4 +1,4 @@
-syn match yaccDefines '^%\(header\|output\)\>'
+syn match yaccDefines '^%\(debug\|header\|output\)\>'
syn match yaccKey '^\s*%\(nterm\|precedence\)\>' contained
syn match yaccType '<[a-zA-Z_][a-zA-Z0-9_]*\s*\*>' contains=yaccBrkt contained
syn match yaccString '"[^"]*"' contained