Closed knpwrs closed 3 years ago
This repository is just about parsing typescript. If you think that you're seeing an incorrect syntax tree for Typescript, then you could report it here, and include:
I think though, that you're talking about a bug/missing feature in a Vim plugin, so this would not be the repository to open the issue.
See https://github.com/windwp/nvim-autopairs/issues/66 and https://github.com/ChristianChiarulli/LunarVim/issues/563
I have the keybindings set up,
:set indentexpr?
returnsindentexpr=nvim_treesitter#indent()
, and indent is enabled in my tree sitter settings.When I type
function () {
I end up with the following:When I press
<CR>
, I get the following:When I expect the following:
If I'm reading those two linked issues correctly I believe this is an issue with https://github.com/tree-sitter/tree-sitter-typescript as opposed to https://github.com/windwp/nvim-autopairs.