vimdoc: add note, warning, deprecated (#5817)

This commit is contained in:
Christian Clason 2023-12-21 14:29:31 +01:00 committed by GitHub
parent c153019e11
commit d2d3df8613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -708,7 +708,7 @@
"revision": "32c76f150347c1cd044e90b8e2bc73c00677fa55"
},
"vimdoc": {
"revision": "60045f7d717eba85fa8abd996e0bb50eed5a3d8e"
"revision": "4f8ba9e39c8b3fbaf0bb5f70ac255474a9099359"
},
"vue": {
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"

View file

@ -23,3 +23,9 @@
(argument) @parameter
(keycode) @string.special
(url) @text.uri
((note) @text.note
(#any-of? @text.note "Note:" "NOTE:" "Notes:"))
((note) @text.warning
(#any-of? @text.warning "Warning:" "WARNING:"))
((note) @text.danger
(#any-of? @text.danger "Deprecated:" "DEPRECATED:"))