-
Notifications
You must be signed in to change notification settings - Fork 45
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
Common LISP code get borked in kakoune #86
Comments
Hi! I don't see any tabs in your example, so I'm not sure if you mean the indentation is important or maybe github ate the tabs? If the tab characters are important, can you link to a gist? I don't see any problems loading this snippet as it is. Parinfer doesn't know how wide tabs are and replaces them with two spaces as it applies its algorithm. That said, the editor plugins should run paren mode once and make a "correct" file before any other editing occurs. I'm not sure where the duplication artifacts you are seeing could be coming from. Try piping the raw (with tabs, presumably) text to |
I have a minimal example showing the problem. With
It must break some offset calculation somewhere. |
EDIT: disregard this comment, it is probably not relevant. |
I tried parinfer-rust for the first time using kakoune.
I installed parinfer-rust following the manual installation process, using git and make install to get the very latest version.
I opened a few lisp files that are known to work and the display in kakoune is totally wrong in some places, if I open the file with other editors the content is correct. I tried in the 3 different modes but it ends with t he same issue.
After fiddling, I came to a small example of code reproducing the issue.
tabs are important
Original code:
code displayed by kakoune:
The text was updated successfully, but these errors were encountered: