Indentation lost on line break in the middle of the line #11
Comments
I'm will be taking a look at this. Thanks for opening the issue! |
@adriantoine are you able to provide a file (perhaps via gist) that we could use to reproduce the issue? |
Unfortunately, I can reproduce that on every file 🤔 I think I'll do some investigation on my side, I'll disable plugins one by one and see which one is causing that. Thanks! 😊 |
I noticed some similar issues, I'll also look into this. My issues had to do with omitting semi-colons tho... 🤔 |
Don't hold your breath but my long term goal is to write a syntax and indent file from scratch that works well. Right now a lot of the syntax and indent stuff is a "getting as close as we can with what we have" situation. |
FWIW so no point in duplicating efforts when you can just grab the |
After investigating, it works when I comment out this line: https://github.com/zperrault/vimrc.js/blob/master/vimrc.plugs#L25 |
After looking at this bug: mxw/vim-jsx#63, it works if I add:
in my |
Thanks @adriantoine , I was going crazy here and your solution worked for me 👍 |
It's easier to understand with a gif:
If I add a new line there, the indentation is completely lost, which is very annoying. It happens sometimes at the end of the line, I've tried to google that issue but couldn't find anything. I'm only using this basic
vimrc.js
.I'm using neovim in iTerm2 on Mac.
The text was updated successfully, but these errors were encountered: