mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 16:29:57 -04:00
1a9d2a4040
Update runtime files https://github.com/vim/vim/commit/89a9c159f23fb7b3e24e6d09068adfc24a73afcb Omit: nsis/lang/turkish.nsi pixmaps/gen-inline-pixbufs.sh doc/popup.txt doc/terminal.txt tutor/tutor* src/[g]vimtutor CONTRIBUTING.md Skip: doc/eval.txt (needs 8.1.2342) doc/testing.txt (needs 8.2.0299)
25 lines
682 B
VimL
25 lines
682 B
VimL
" Vim syntax file
|
|
" Language: Gemtext markup language
|
|
" Maintainer: Suneel Freimuth <suneelfreimuth1@gmail.com>
|
|
" Latest Revision: 2020-11-21
|
|
" Filenames: *.gmi
|
|
|
|
if exists('b:current_syntax')
|
|
finish
|
|
endif
|
|
|
|
syntax match Heading /^#\{1,3}.\+$/
|
|
syntax match List /^\* /
|
|
syntax match LinkURL /^=>\s*\S\+/
|
|
syntax match Quote /^>.\+/
|
|
syntax region Preformatted start=/^```/ end=/```/
|
|
|
|
highlight default link Heading Special
|
|
highlight default link List Statement
|
|
highlight default link LinkURL Underlined
|
|
highlight default link Quote Constant
|
|
highlight default link Preformatted Identifier
|
|
|
|
let b:current_syntax = 'gemtext'
|
|
|