mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
35 lines
1.2 KiB
VimL
35 lines
1.2 KiB
VimL
|
"------------------------------------------------------------------------------
|
||
|
"vim-closetag
|
||
|
"------------------------------------------------------------------------------
|
||
|
|
||
|
" filenames like *.xml, *.html, *.xhtml, ...
|
||
|
" These are the file extensions where this plugin is enabled.
|
||
|
let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.js,*.ts,*.jsx,*.tsx'
|
||
|
|
||
|
" filenames like *.xml, *.xhtml, ...
|
||
|
" This will make the list of non-closing tags self-closing in the specified files.
|
||
|
"
|
||
|
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx,*.tsx,*.js,*.ts'
|
||
|
|
||
|
" filetypes like xml, html, xhtml, ...
|
||
|
" These are the file types where this plugin is enabled.
|
||
|
"
|
||
|
let g:closetag_filetypes = 'html,xhtml,phtml'
|
||
|
|
||
|
" filetypes like xml, xhtml, ...
|
||
|
" This will make the list of non-closing tags self-closing in the specified files.
|
||
|
"
|
||
|
let g:closetag_xhtml_filetypes = 'xhtml,jsx,tsx,js'
|
||
|
|
||
|
" integer value [0|1]
|
||
|
" This will make the list of non-closing tags case-sensitive (e.g. `<Link>` will be closed while `<link>` won't.)
|
||
|
"
|
||
|
let g:closetag_emptyTags_caseSensitive = 1
|
||
|
|
||
|
" Disables auto-close if not in a "valid" region (based on filetype)
|
||
|
|
||
|
let g:closetag_regions = {
|
||
|
\ 'typescript.tsx': 'jsxRegion,tsxRegion',
|
||
|
\ 'javascript.jsx': 'jsxRegion',
|
||
|
\ }
|