From ef5b97466e9ab8e03e0625d0fae13a2436cf5ae2 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sat, 10 Nov 2012 10:47:14 +0900 Subject: [PATCH] - Improved keyword filter behavior. --- autoload/neocomplcache/sources/snippets_complete.vim | 2 +- autoload/neosnippet.vim | 3 ++- doc/neosnippet.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index 709e601..fa93a41 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets_complete.vim " AUTHOR: Shougo Matsushita -" Last Modified: 09 Nov 2012. +" Last Modified: 10 Nov 2012. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the diff --git a/autoload/neosnippet.vim b/autoload/neosnippet.vim index b350f78..9e4c09d 100644 --- a/autoload/neosnippet.vim +++ b/autoload/neosnippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: neosnippet.vim " AUTHOR: Shougo Matsushita -" Last Modified: 09 Nov 2012. +" Last Modified: 10 Nov 2012. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -183,6 +183,7 @@ function! s:set_snippet_dict(snippet_dict, snippets, dup_check, snippets_file)"{ for alias in get(a:snippet_dict, 'alias', []) let alias_snippet = copy(snippet) let alias_snippet.word = alias + let alias_snippet.filter_str = alias let a:snippets[alias] = alias_snippet let a:dup_check[alias] = alias_snippet diff --git a/doc/neosnippet.txt b/doc/neosnippet.txt index 9011b50..0c83a69 100755 --- a/doc/neosnippet.txt +++ b/doc/neosnippet.txt @@ -716,6 +716,7 @@ CHANGELOG *neosnippet-changelog* - Improved syntax error. - Fixed error in java snippet. - Improved snippet rank. +- Improved keyword filter behavior. 2012-11-07 - Fixed s:indent_snippet().