mirror of
https://github.com/neovim/neovim.git
synced 2026-01-03 01:46:31 +10: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.
62d8f3dab5
N/A patch:
vim-patch:2f689d5: runtime: mark more invalid email addresses
Co-authored-by: Christian Brabandt <cb@256bit.org>
63 lines
1.8 KiB
VimL
63 lines
1.8 KiB
VimL
" Vim syntax file
|
|
" Language: Chatito
|
|
" Maintainer: ObserverOfTime <chronobserver@disroot.org>
|
|
" Filenames: *.chatito
|
|
" Last Change: 2022 Sep 19
|
|
|
|
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
|
|
" Comment
|
|
syn keyword chatitoTodo contained TODO FIXME XXX
|
|
syn match chatitoComment /^#.*/ contains=chatitoTodo,@Spell
|
|
syn match chatitoComment +^//.*+ contains=chatitoTodo,@Spell
|
|
|
|
" Import
|
|
syn match chatitoImport /^import \+.*$/ transparent contains=chatitoImportKeyword,chatitoImportFile
|
|
syn keyword chatitoImportKeyword import contained nextgroup=chatitoImportFile
|
|
syn match chatitoImportFile /.*$/ contained skipwhite
|
|
|
|
" Intent
|
|
syn match chatitoIntent /^%\[[^\]?]\+\]\((.\+)\)\=$/ contains=chatitoArgs
|
|
|
|
" Slot
|
|
syn match chatitoSlot /^@\[[^\]?#]\+\(#[^\]?#]\+\)\=\]\((.\+)\)\=$/ contains=chatitoArgs,chatitoVariation
|
|
syn match chatitoSlot /@\[[^\]?#]\+\(#[^\]?#]\+\)\=?\=\]/ contained contains=chatitoOpt,chatitoVariation
|
|
|
|
" Alias
|
|
syn match chatitoAlias /^\~\[[^\]?]\+\]\=$/
|
|
syn match chatitoAlias /\~\[[^\]?]\+?\=\]/ contained contains=chatitoOpt
|
|
|
|
" Probability
|
|
syn match chatitoProbability /\*\[\d\+\(\.\d\+\)\=%\=\]/ contained
|
|
|
|
" Optional
|
|
syn match chatitoOpt '?' contained
|
|
|
|
" Arguments
|
|
syn match chatitoArgs /(.\+)/ contained
|
|
|
|
" Variation
|
|
syn match chatitoVariation /#[^\]?#]\+/ contained
|
|
|
|
" Value
|
|
syn match chatitoValue /^ \{4\}\zs.\+$/ contains=chatitoProbability,chatitoSlot,chatitoAlias,@Spell
|
|
|
|
" Errors
|
|
syn match chatitoError /^\t/
|
|
|
|
hi def link chatitoAlias String
|
|
hi def link chatitoArgs Special
|
|
hi def link chatitoComment Comment
|
|
hi def link chatitoError Error
|
|
hi def link chatitoImportKeyword Include
|
|
hi def link chatitoIntent Statement
|
|
hi def link chatitoOpt SpecialChar
|
|
hi def link chatitoProbability Number
|
|
hi def link chatitoSlot Identifier
|
|
hi def link chatitoTodo Todo
|
|
hi def link chatitoVariation Special
|
|
|
|
let b:current_syntax = 'chatito'
|