blob: c33ddd4fb9e2d95c8d258aef0d7d74a224d650bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
" HTML settings
" matchit settings (for % matching)
" Copied from vim's default HTML ftplugin. I just want this, not the rest. My
" preference is still to disable all non-custom ftplugins.
if exists("loaded_matchit")
let b:match_ignorecase = 1
let b:match_words = '<:>,' .
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' .
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
endif
|