pmizio / typescript-tools.nvim

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

fix: properly handle if `shiftwidth = 0` #270

Closed mehalter closed 3 months ago

mehalter commented 4 months ago

According to :h 'shiftwidth' if the value is 0 then tabstop is used. Currently it will just use 0 as the indent size, this fixes this.

mehalter commented 4 months ago

Looks like Nightly tests are failing because of deprecation issues, this should be rebased after #267 is merged in