This commit is contained in:
Faye Lorenz
2026-02-27 00:02:50 -06:00
commit d67a9f0f93
16 changed files with 17916 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
syn match cFunction "\<[a-zA-Z_][a-zA-Z_0-9]*\>[^()]*)("me=e-2
syn match cFunction "\<[a-zA-Z_][a-zA-Z_0-9]*\>\s*("me=e-1
hi cFunction ctermfg=12
+3
View File
@@ -0,0 +1,3 @@
syn match VendorPrefix /-\(moz\|webkit\|o\|ms\)-[a-zA-Z-]\+/ containedin=cssDefinition
hi VendorPrefix ctermfg=3 cterm=italic
+29
View File
@@ -0,0 +1,29 @@
if exists('b:current_syntax')
finish
endif
let s:del_def = ','
let s:del = '\%(' . s:del_def . '\|$\)'
let s:del_noend = '\%(' . s:del_def . '\)'
let s:col =
\ '\%(\%(\%(' . (s:del_def !~# '\s' ? '\s*' : '') .
\ '"\%(' . (exists("g:csv_nl") ? '\_' : '' ) .
\ '[^"]\|""\)*"\s*\)' . s:del . '\)\|\%(' .
\ '[^' . s:del_def . ']*' . s:del . '\)\)'
let s:col_end = '\%(\%(\%(' . (s:del_def !~# '\s' ? '\s*' : '') .
\ '"\%(' . (exists("g:csv_nl") ? '\_' : '' ) .
\ '[^"]\|""\)*"\)' . s:del_noend . '\)\|\%(' .
\ '[^' . s:del_def . ']*' . s:del_noend . '\)\)'
let s:del = get(b:, 'delimiter', s:del_def)
exe 'syn match CSVColumnEven nextgroup=CSVColumnOdd /'
\ . s:col . '/ contains=CSVDelimiter'
exe 'syn match CSVColumnOdd nextgroup=CSVColumnEven /'
\ . s:col . '/ contains=CSVDelimiter'
exe 'syn match CSVDelimiter /' . s:col_end . '/ms=e,me=e contained'
hi def link CSVDelimiter Number
hi def link CSVColumnOdd Define
hi def link CSVColumnEven Keyword
let b:current_syntax = 'csv'
+3
View File
@@ -0,0 +1,3 @@
syn match htmlEqual /=/ containedin=htmlTag
hi htmlEqual ctermfg=15
+33
View File
@@ -0,0 +1,33 @@
" Links
syn region markdownLinkText matchgroup=markdownLinkTextDelimiter
\ start="!\=\[\%(\_[^]]*]\%( \=[[(]\)\)\@=" end="\]\%( \=[[(]\)\@="
\ nextgroup=markdownLink,markdownId skipwhite
\ contains=@markdownInline,markdownLineStart concealends
syn region markdownLink matchgroup=markdownLinkDelimiter
\ start="(" end=")" keepend contained conceal contains=markdownUrl
syn cluster markdownInline add=@NoSpell
" Code
syn region markdownCode matchgroup=markdownCodeDelimiter
\ start="`" end="`" concealends
" Extended
syn match markdownExt /{[.:#][^}]*}/ conceal
" Error
" syn match markdownError "\w\@<=_\w\@="
syn match markdownError "\w\@<=\w\@="
" Latex
let b:current_syntax = ''
unlet b:current_syntax
syn include syntax/tex.vim
syn region markdownTexBlock matchgroup=markdownTexMathDelimiter
\ start='^\$\$' end='\$\$$' contains=@texMathZoneGroup
syn match markdownTexLine '\$[^$].\{-}\$' contains=@texMathZoneGroup
" Highlights
hi markdownTexMathDelimiter ctermfg=13
hi markdownTexBlock ctermfg=13
hi markdownTexLine ctermfg=13
hi markdownExt ctermfg=11 cterm=none
+5
View File
@@ -0,0 +1,5 @@
syn keyword vimKeywords1 if endif containedin=vimFuncBody
syn keyword vimKeywords2 try catch endtry containedin=vimFuncBody
hi vimKeywords1 ctermfg=10
hi vimKeywords2 ctermfg=9
File diff suppressed because it is too large Load Diff
+38
View File
@@ -0,0 +1,38 @@
{
"snippets.ultisnips.enable": false,
"suggest.noselect": false,
"suggest.enablePreselect": true,
"inlayHint.enable": false,
"diagnostic.virtualText": false,
"diagnostic.enable": true,
"diagnostic.errorSign": "✗",
"diagnostic.warningSign": "•",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "➤",
"hover.floatConfig": {
"border": true,
"rounded": true
},
"suggest.floatConfig": {
"border": true,
"rounded": true
},
"diagnostic.floatConfig": {
"border": true,
"rounded": true
},
"signature.floatConfig": {
"border": true,
"rounded": true
},
"markdownlint.config": {
"line-length": false,
"no-inline-html": false
},
"html.filetypes": [
"html",
"liquid",
"markdown",
"liquid.markdown"
]
}