Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with nvim-treesitter indentation #328

Open
moinmoti opened this issue Jul 12, 2021 · 1 comment
Open

Not compatible with nvim-treesitter indentation #328

moinmoti opened this issue Jul 12, 2021 · 1 comment

Comments

@moinmoti
Copy link

Surround does not re-indent the text when nvim-treesitter indentation is enabled.
Steps to reproduce:

  1. Install nvim-treesitter.
  2. Enable indent

Used config:

require'nvim-treesitter.configs'.setup {
    ensure_installed = 'maintained',
    highlight        = {enable = true},
    indent           = {enable = true}
}
@MuhammadSawalhy
Copy link

MuhammadSawalhy commented Sep 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants