Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
svelte.vim41 linesDownload Raw Back to ftplugin
1" Vim filetype plugin2" Language:	svelte3" Maintainer:	Igor Lacerda <igorlafarsi@gmail.com>4" Last Change:	2025 Apr 065 6if exists('b:did_ftplugin')7  finish8endif9let b:did_ftplugin = 110 11let s:cpo_sav = &cpo12set cpo&vim13 14setlocal matchpairs+=<:>15setlocal commentstring=<!--\ %s\ -->16setlocal comments=s:<!--,m:\ \ \ \ ,e:-->17 18let b:undo_ftplugin = 'setlocal comments< commentstring< matchpairs<'19 20if exists('&omnifunc')21  setlocal omnifunc=htmlcomplete#CompleteTags22  call htmlcomplete#DetectOmniFlavor()23  let b:undo_ftplugin ..= " | setlocal omnifunc<"24endif25 26if exists("loaded_matchit") && !exists("b:match_words")27  let b:match_ignorecase = 128  let b:match_words = '<:>,' .29    \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' .30    \ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .31    \ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>,' .32    \ '{#\(if\|each\)[^}]*}:{\:else[^}]*}:{\/\(if\|each\)},' .33    \ '{#await[^}]*}:{\:then[^}]*}:{\:catch[^}]*}:{\/await},' .34    \ '{#snippet[^}]*}:{\/snippet},' .35    \ '{#key[^}]*}:{\/key}'36  let b:html_set_match_words = 137  let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words b:html_set_match_words"38endif39let &cpo = s:cpo_sav40unlet! s:cpo_sav41 
codekingpro/portable-devtools · Team Ai