mirror of
https://github.com/neovim/neovim.git
synced 2026-11-01 17:13:14 -06:00
This reverts commits: - 6b652a785033fd4164e049492a7327c1ed7c3e5f - 2f689d5abde0ccddca9e20d8c93a0299bd054e32 - a025a46d4169587145fb54f04af349cd05cb6122 Several email addresses that are known to be valid caused bounces due to an issue with my email setup. The previous commits incorrectly marked these addresses as invalid. So revert the whole thing again. https://github.com/vim/vim/commit/62d8f3dab5a0b30c31a8df86a973c5e59821a3f0 N/A patch: vim-patch:2f689d5: runtime: mark more invalid email addresses Co-authored-by: Christian Brabandt <cb@256bit.org>
34 lines
952 B
VimL
34 lines
952 B
VimL
" Vim compiler file
|
|
" Language: abnf
|
|
" Maintainer: A4-Tacks <wdsjxhno1001@163.com>
|
|
" Last Change: 2025 Mar 05
|
|
" Upstream: https://github.com/A4-Tacks/abnf.vim
|
|
|
|
" Implementing RFC-5234, RFC-7405
|
|
|
|
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
|
|
syn case ignore
|
|
|
|
syn match abnfError /[<>"]/
|
|
syn match abnfComment /;.*/
|
|
syn match abnfOption /[[/\]]/
|
|
syn region abnfString start=/\(%[si]\)\="/ end=/"/ oneline
|
|
syn region abnfProse start=/</ end=/>/ oneline
|
|
syn match abnfNumVal /\v\%b[01]+%(%(\.[01]+)+|-[01]+)=>/
|
|
syn match abnfNumVal /\v\%d\d+%(%(\.\d+)+|-\d+)=>/
|
|
syn match abnfNumVal /\v\%x[0-9a-f]+%(%(\.[0-9a-f]+)+|-[0-9a-f]+)=>/
|
|
syn match abnfRepeat /\v%(%(<\d+)=\*\d*|<\d+ =)\ze[^ \t\r\n0-9*/)\]]/
|
|
|
|
hi def link abnfError Error
|
|
hi def link abnfComment Comment
|
|
hi def link abnfOption PreProc
|
|
hi def link abnfString String
|
|
hi def link abnfProse String
|
|
hi def link abnfNumVal Number
|
|
hi def link abnfRepeat Repeat
|
|
|
|
" vim:noet:ts=8:sts=8:nowrap
|