Comments (16)
Yep, it's fixed. Thank YOU for fixing this :)
from nvim-compe.
update: this is easily reproducible in c
when you type #include <std.|>
. | is the cursor and that's where the error happens.
Character.match = function(byte1, byte2)
- local diff = byte1 - byte2
+ local diff = (byte1 or 0) - byte2
return diff == 0 or diff == 32 or diff == -32
end
Doing this solves the issue but I don't know if this is a good permanent solution
from nvim-compe.
Sorry for the lately reply.
I can't reproduce clangd/typescript-language-server both.
It is bit difficult (may be it is a potential bug of the matcher.lua
because it is a complex codes)
from nvim-compe.
no worries. I can wait however long it would take until there's a solution for this :)
I've found my workaround so this isn't that big of an issue.
from nvim-compe.
Sorry for annoying.
If you can reproduce easily, please detect the error place by debug
branch.
from nvim-compe.
from nvim-compe.
Ok, I've tried that and here's the debug info. https://paste.sh/zcGWAXps#HKoNPs_FWtgJpF2pGnvEG__E
from nvim-compe.
Thank you! I will debug it.
from nvim-compe.
Hm... I want to detect the input
and the word
that cause this error.
Matcher.score(
Matcher.bytes2string({ 105, 110, 99, 108, 117, 100, 101 }),
Matcher.bytes2string({ 105, 110, 99, 108, 117, 100, 101 })
)
It works fine (no errors).
Could you try to detect the word/input?
from nvim-compe.
The word is #include <
. The error happens as soon as I press <
The full file is this.
#include <
int main(void)
{
printf("Hello world");
}
from nvim-compe.
OK. I will push debug code for the above concern.
from nvim-compe.
Realy thank you for your help.
I've pushed to debug code.
If you have a time, please provide last debug information.
from nvim-compe.
Here's the latest one. https://paste.sh/IBEEkb1Q#gPFs1ST_c7BuAm3gFUUJ9RHh
from nvim-compe.
Thank you very much!
I get the cause may be. will fix it soon
from nvim-compe.
Wa--- issue automatically closed.
from nvim-compe.
I think the issue was solved on the latest master.
from nvim-compe.
Related Issues (20)
- Breaking undo history after typing certain characters after completion HOT 1
- Can not get LSP Snippet working HOT 1
- relative path completion fail if not stating with './' HOT 1
- [Question] Don't append ? for optional arguments HOT 2
- Add the possibility to hide the completion source. HOT 4
- clangd not hiding suggestions after comma or space HOT 3
- Question/Help: LSP Snippet Support Not Working HOT 1
- [Question] Filter completion items by kind, exclude 'Text' items HOT 1
- Documentation syntax highlighting. HOT 5
- attempt to call field 'stylize_markdown' HOT 2
- Custom labels for completion types HOT 2
- FR/Question: Complete on any key HOT 3
- Documentation doesn't pop in completion in some cases HOT 1
- buffer completion should complete words for hidden buffers. HOT 3
- problem with vim-rsi pluggin -- <C-e> HOT 3
- Auto-import doesnโt work with a bunch of LSPs HOT 1
- Buffer Source Completion: diacritic characters are ignored HOT 2
- Triggered in command mode. HOT 2
- Integrate copilot.vim? HOT 2
- No fuzzy completion for [emoji] HOT 1
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 nvim-compe.