Created
December 9, 2013 13:45
-
-
Save qickstarter/7872458 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/neocomplete/sources/file.vim b/autoload/neocomplete/sources/file.vim | |
index 02b3ea1..1d2f6ae 100644 | |
--- a/autoload/neocomplete/sources/file.vim | |
+++ b/autoload/neocomplete/sources/file.vim | |
@@ -30,7 +30,6 @@ set cpo&vim | |
let s:source = { | |
\ 'name' : 'file', | |
\ 'kind' : 'manual', | |
- \ 'mark' : '[F]', | |
\ 'rank' : 3, | |
\ 'sorters' : 'sorter_filename', | |
\ 'converters' : ['converter_remove_next_keyword', 'converter_abbr'], | |
@@ -115,6 +114,7 @@ function! s:get_glob_files(complete_str, path) "{{{ | |
\ files, "{ | |
\ 'word' : fnamemodify(v:val, ':t'), | |
\ 'action__is_directory' : isdirectory(v:val), | |
+ \ 'kind' : isdirectory(v:val) ? '[Dir]' : '[File]', | |
\ }") | |
let candidates = [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment