Migrate ftdetect generation to ruby

This commit is contained in:
Adam Stankiewicz
2020-08-23 23:25:06 +02:00
parent f3ab28a287
commit 114a93bb7c
7 changed files with 862 additions and 660 deletions

View File

@@ -1,22 +0,0 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tomdoc') == -1
syn keyword tomdocKeywords
\ Returns Yields Raises Examples Signature
\ containedin=.*Comment
\ contained
syn match tomdocDescriptions
\ +\s*\(Public\|Internal\|Deprecated\):+he=e-1
\ containedin=.*Comment
\ contained
syn match tomdocArguments
\ +\s*[A-Za-z0-9_\-&\*:]*\(\s*- \)+he=e-3
\ containedin=.*Comment
\ contained
hi default link tomdocDescriptions String
hi default link tomdocKeywords String
hi default link tomdocArguments HELP
endif

View File

@@ -1,4 +1,4 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xls') == -1
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xsl') == -1
" Vim syntax file
" Language: XSLT 1.0