-
Notifications
You must be signed in to change notification settings - Fork 244
fix: range containment check (e.g. weird @parameter.inner behavior) #840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@clason In the master branch, we used to use |
|
If The older upstream functions don't use a proper Upstream is having a similar refactor, so after moving the MSNV to 0.12 (or 0.13, depending on when this gets finished) will hopefully allow us to remove these again. |
|
This is not a "fix" but just adding personal investigations as comments... Pick one of the two approaches and (after testing) commit to it. |
I was hoping people better versed in the codebase would share some insight, but if you don't immediately see an issue with |
fdd9475 to
a296eaa
Compare
|
neovim/neovim#36397, for reference |
|
Hm, in that case why not use the neovim API? Like: b512cc9 |
|
Yes, as I said, that is the goal -- the refactor PR I linked was a partial step towards that. But make sure you're only using API available on Nvim 0.11, not HEAD. |
|
Hm, you're right - If you're happy with my earlier solution (replacing |
|
I'd want @kiyoon to have the last look, but that's fine with me. Add a |
|
(And consider adding a test for #832 so we don't regress again.) |
9a165ce to
d844a80
Compare
aa2add1 to
c000b79
Compare
c000b79 to
53dae30
Compare
|
Ok, test done. Before: After: |
|
Thanks for investigating on this, and I like how simple the solution is! If I understand correctly, it's not really about Can I change the title like this?
|
|
Correct, though I haven't encountered other instances of this bug. I've nothing against the name change. |
Fixes #832