vimrc/sources_non_forked/vim-bundle-mako/ftplugin/mako.vim

20 lines
537 B
VimL
Raw Normal View History

" Vim filetype plugin file
" Language: Mako
" Maintainer: Randy Stauner <randy@magnificent-tears.com>
2019-11-16 15:28:42 +00:00
" Last Change: 2019-09-06
" Version: 0.2
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
setlocal comments=:##
setlocal commentstring=##%s
2019-11-16 15:28:42 +00:00
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