From ff5c6e9bc1c82b25adb0861c5b7565f11b81f342 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Sun, 5 Jan 2014 23:09:54 +0900 Subject: [PATCH] Improve matchers for neocomplete --- autoload/neocomplete/sources/neosnippet.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/neocomplete/sources/neosnippet.vim b/autoload/neocomplete/sources/neosnippet.vim index 196ec22..8471fb7 100644 --- a/autoload/neocomplete/sources/neosnippet.vim +++ b/autoload/neocomplete/sources/neosnippet.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: neosnippet.vim " AUTHOR: Shougo Matsushita -" Last Modified: 21 Nov 2013. +" Last Modified: 05 Jan 2014. " License: MIT license {{{ " Permission is hereby granted, free of charge, to any person obtaining " a copy of this software and associated documentation files (the @@ -32,6 +32,9 @@ let s:source = { \ 'kind' : 'keyword', \ 'rank' : 8, \ 'hooks' : {}, + \ 'matchers' : + \ (g:neocomplete#enable_fuzzy_completion ? + \ ['matcher_fuzzy'] : ['matcher_head']), \} function! s:source.hooks.on_init(context) "{{{