Closed kdurant closed 9 years ago
let g:neocomplcache_disable_caching_file_path_pattern = ".txt" it don't work!
You must set g:neocomplcache_disable_caching_file_path_pattern
by regular expression.
Example:
let g:neocomplcache_disable_caching_file_path_pattern = '.*\.txt$'
let g:neocomplcache_caching_limit_file_size = 1 It don't work too!
You must clear cache by :NeoComplCacheClean
.
When editing large files if use neocomplcache, the speed is very slow.Because neocomplcache is caching files. So, I look the docment, and find two options.
You should use neocomplete.vim. It is faster than neocomplcache.
You must set g:neocomplcache_disable_caching_file_path_pattern by regular expression. Example: let g:neocomplcache_disable_caching_file_path_pattern = '.*.txt$'
it still generates cache files
I tryed vim7.3.1136. when used unite , it is quick than vim7.3.969 But vim7.3.1136 can't use neocomlete, it include lua interface.
So ....
I'm using Vim 7.3.1195. And it is works. I think you don't write neocomplete's settings.
Note: neocomplete settings is not compatible with neocomplcache! It is different plugin.
Hi, I'm suffering from the same problem, neocomplcache takes too much time on opening large files so that I tried to disable caching for some types of files, I tried this
let g:neocomplcache_disable_caching_file_path_pattern='.*\.log$'
for *.log
files, but neocomplcache cached for log files anyway.
Is there any way to check if it's my problem or neocomplcaches'?
This is neocomplcache feature. You can use vimproc for caching.
When editing large files if use neocomplcache, the speed is very slow.Because neocomplcache is caching files. So, I look the docment, and find two options. 1st. g:neocomplcache_disable_caching_file_path_pattern
I set : let g:neocomplcache_disable_caching_file_path_pattern = ".txt"
it don't work!
2nd. let g:neocomplcache_caching_limit_file_size I set : let g:neocomplcache_caching_limit_file_size = 1 It don't work too!