summaryrefslogtreecommitdiffstats
path: root/ftplugin/mako.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-27 19:47:32 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-27 19:47:32 +0200
commitf95026252c5a31242903a98c741887696dfbb11f (patch)
treecd697cdc96c20a44f03ff3aacc67f78fdcc6ece5 /ftplugin/mako.vim
parent4f3df59be709bf0d5c5c67dc804fde49abdc2700 (diff)
downloadvim-polyglot-f95026252c5a31242903a98c741887696dfbb11f.tar.gz
vim-polyglot-f95026252c5a31242903a98c741887696dfbb11f.zip
Update everything, closes #435
Diffstat (limited to 'ftplugin/mako.vim')
-rw-r--r--ftplugin/mako.vim12
1 files changed, 10 insertions, 2 deletions
diff --git a/ftplugin/mako.vim b/ftplugin/mako.vim
index 81943b68..6d63492b 100644
--- a/ftplugin/mako.vim
+++ b/ftplugin/mako.vim
@@ -3,8 +3,8 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1
" Vim filetype plugin file
" Language: Mako
" Maintainer: Randy Stauner <randy@magnificent-tears.com>
-" Last Change: 2014-02-07
-" Version: 0.1
+" Last Change: 2019-09-06
+" Version: 0.2
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
@@ -12,4 +12,12 @@ let b:did_ftplugin = 1
setlocal comments=:##
setlocal commentstring=##%s
+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
+
endif