-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Issue with injected language #144
Comments
This is kinda similar to #135 Could you try to recreate the same with |
Both work fine, as in, comments out entire line with |
As I suspect, the thing with So with This situation, two languages on the same line, will always be ambiguous. And I don't even know whether is this something that needs to be fixed or not. |
I am closing this for now. As I don't know a solution that'll work in every case. If anyone figures this out feel free to reply or even raise a PR :) |
Hey, have noticed that if you have a cursor inside string such as (lua file example)
commanding
gcc
leads to incorrectly commented out line:" vim.cmd 'stopinsert!'
I am not quite sure if I would expect it to turn to
or simply do nothing (perhaps it should comment out injected code, as it would make sense within multilane blocks). But correct behaviour is surely wrong.
(thanks for great plugin!)
The text was updated successfully, but these errors were encountered: