vim-closetag
vim-closetag copied to clipboard
Problem with indentation in js, jsx, ts, tsx files
Example render method in react class. Symbol |
is my cursor.
render() {
return (
<div>|</div>
);
}
Then I press >
and this is what happens:
render() {
return (
<div>
|
</div>
);
}
And this happens with all files
Yes, I have the save issue? How we can fix it?
I am also having this issue
Has this issue been fixed @alvan ? Because I am facing it too.
same to me. not indent in .jsx
file. working fine on html
Weird, It's not working for me in HTML. Just throws my cursor back to the very beginning of the line, no tabs at all.
Even doing the >> thing to make a new line puts both whatever I'm going to type and the closing tag at the beginning of the new line.