tree-sitter / tree-sitter-typescript

TypeScript grammar for tree-sitter
MIT License
361 stars 108 forks source link

JSDOC Indentation Broken on .ts (typescript) #154

Closed danielnehrig closed 3 years ago

danielnehrig commented 3 years ago

https://i.imgur.com/PP1emsf.png instead of

/**
 *

it does

/**
*

indentation works fine for tsx

:TSInstall typescript :TSInstall tsx

has been done and indent is enabled on ts setup lua cfg also treesitter is the only used plugin

mjambon commented 3 years ago

Hey @danielnehrig, I think you might want to file this issue with some other repo that's specific to the editor plugin you're using. This repo handles only parsing, and also comments are not parsed. Maybe the tree-sitter folks have a recommendation (I'm a guest here).