pmizio / typescript-tools.nvim

⚡ TypeScript integration NeoVim deserves ⚡
MIT License
1.45k stars 40 forks source link

fix: completeFunctionCalls adds brackets when writing JSX #240

Open m-gail opened 7 months ago

m-gail commented 7 months ago

Solves #239

Fixes brackets being placed wrongly (for example with JSX and import statements) when complete_function_calls is set to true as described in the linked issue.

Old behavior

oldbehavior

New behavior

newbehavior

pmizio commented 7 months ago

Hi, thanks for your contribution. I'm still on my vacation so I'll test it next week!

GitMurf commented 4 months ago

Any updates on this?

mmirus commented 2 months ago

This would be a really nice improvement. :pray: