ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.21k stars 109 forks source link

Auto-indent broken for .tsx files #84

Closed NiloDrumond closed 2 years ago

NiloDrumond commented 2 years ago

Auto-indent works fine on .ts files, but not on .tsx

.ts image

.tsx image

ecosse3 commented 2 years ago

I cannot reproduce this issue. Everything works as expected both in ts and tsx. I work with tsx daily. Did you install tsx and typescript treesitter parsers? :TSInstall tsx.

NiloDrumond commented 2 years ago

I cannot reproduce this issue. Everything works as expected both in ts and tsx. I work with tsx daily. Did you install tsx and typescript treesitter parsers? :TSInstall tsx.

I feel kinda dumb, but that was it. Thank you!