From 85e28f7c32069f6dbbaba04037f79f4032d9f1bc Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 23 Feb 2010 14:05:35 +0900 Subject: [PATCH] add 'aliases' for complete tag. --- zencoding.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zencoding.vim b/zencoding.vim index 07ba721..435c36d 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1076,6 +1076,11 @@ function! ZenCompleteTag(findstart, base) call add(res, item) endif endfor + for item in values(s:zen_settings[type]['aliases']) + if stridx(item, a:base) != -1 + call add(res, item) + endif + endfor return res endif endfunction