Open moinmoti opened 3 years ago
Surround does not re-indent the text when nvim-treesitter indentation is enabled. Steps to reproduce:
Used config:
require'nvim-treesitter.configs'.setup { ensure_installed = 'maintained', highlight = {enable = true}, indent = {enable = true} }
Same for me, but I removed treesitter and the issue is still happening. It seems that something else is the reason behind this issue, or vim-surround itself.
Surround does not re-indent the text when nvim-treesitter indentation is enabled. Steps to reproduce:
Used config: