Comments (19)
It is feature. You want to complete non English characters, you must change g:neocomplcache#keyword_patterns
variable.
from neocomplcache.vim.
As I understand variable is g:neocomplcache_keyword_patterns['_']
.
I've set it to [\kА-Яа-я]\+
(which works: :echo match('тест', '[\kА-Яа-я]\+')
) that didn't help :(
Any clues?
UPD: file was text (test.txt)
from neocomplcache.vim.
If you want to edit text filetype, you must change g:neocomplcache_keyword_patterns['text']
.
from neocomplcache.vim.
that didn't help either :(
from neocomplcache.vim.
let g:neocomplcache_keyword_patterns['text']= '[\kа-яА-Я]\+'
- not working
from neocomplcache.vim.
I think you must regenerate cache by :NeoComplCacheClean
.
from neocomplcache.vim.
Didn't help.
from neocomplcache.vim.
It is same behavior on neocomplete?
I don't want to change neocomplcache. But if neocomplete, I will check it.
from neocomplcache.vim.
I don't have neocomplete and can't check it.
from neocomplcache.vim.
Oh, I get it.
I think it is feature. Because, neocomplete or neocomplcache ignore multibyte input.
from neocomplcache.vim.
It is neocomplete function. But neocomplcache is same.
function! neocomplete#is_multibyte_input(cur_text) "{{{
return (exists('b:skk_on') && b:skk_on)
\ || char2nr(split(a:cur_text, '\zs')[-1]) > 0x80
endfunction"}}}
from neocomplcache.vim.
You cannot complete full multibyte input candidates like тест
.
from neocomplcache.vim.
Erm so basically it can't be fixed because you call that bug a feature? 0o
from neocomplcache.vim.
It is not bug. It is intended feature. Because, current GVim IM integration is buggy.
Auto completion should not work on IM input. So, neocomplete/neocomplcache ignores multibyte input.
from neocomplcache.vim.
Could you please add some option to turn this off? like g:neocomplcache_force_multibite
or something
from neocomplcache.vim.
I don't want to change neocomplcache code. Pull request is wellcome.
from neocomplcache.vim.
I think the name should beg:neocomplcache_enable_multibyte_completion
.
from neocomplcache.vim.
https://github.com/naquad/neocomplcache.vim/commit/77d518050489e04a4197faf75f74405b8123b200
I've called it g:neocomplcache_allow_multibyte
, but that can be changed. In any case that causes some unclear issue I can't figure out: completion looses last byte, i.e. was тест
and suggestion is тес
. Trying to figure it out.
from neocomplcache.vim.
Well, neocomplcache has multibyte input bugs. Can you check it?
from neocomplcache.vim.
Related Issues (20)
- Special character completion ruby methods HOT 2
- Autocomplete paths relative to currently open file HOT 5
- Python executable on a remote server HOT 1
- "key not present in dictionary" errors when gvim is launched with windows 8.3 path HOT 2
- grammar error in user guide HOT 3
- Only map <c-p> and <c-n> while the neocomplcache menu is active HOT 1
- neocomplcache with coffeescript HOT 1
- Method to collect results from omnifunc without selecting first result HOT 2
- obsolete note on readme HOT 2
- filename_include source not working in Neovim HOT 4
- Can remove completefunc in neocomplcache? HOT 2
- C++ HOT 1
- NeoComplCache HOT 1
- how do I use tab to navigate like super tab? HOT 1
- suggestions are not displaying beyond the cursorline HOT 16
- When use this plugin in neovim, I get some error. HOT 1
- Undefined function pythoncomplete#Complete HOT 4
- "key not present in dictionary" errors when i use brew install macvim, version is Vim 9.0.1276 (MacVim r176) HOT 6
- Does not complete HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neocomplcache.vim.