robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
2f167c53ac
master
1" Vim filetype plugin file 2" Language: vue 3" Last Change: 4" 2025 Jun 09 by Vim project set comment options #17479 5 6if exists ( "b:did_ftplugin" ) |finish |endif 7let b: did_ftplugin = 1 8 9" Make sure the continuation lines below do not cause problems in 10" compatibility mode. 11let s: save_cpo = & cpo 12set cpo -= C 13 14setlocal commentstring = <!--\ %s\ --> 15setlocal comments = s:<!--,m:\ \ \ \ ,e:--> 16 17let b: undo_ftplugin = "setlocal comments< commentstring<" 18 19" Copied from ftplugin/html.vim 20" Original thanks to Johannes Zellner and Benji Fisher. 21if exists ( "loaded_matchit" ) 22let b: match_ignorecase = 1 23let b: match_words = '<:>,' 24 \.. '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' 25 \.. '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' 26 \.. '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' 27let b: undo_ftplugin .= ' | unlet! b:match_words b:match_ignorecase' 28endif 29 30" Restore the saved compatibility options. 31let & cpo = s: save_cpo 32unlet s: save_cpo