You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gobble feature sometimes breaks, here are two examples of it happening (LaTeX, Lua)
The blocks are indented as following (using indentation tabs as character). In the second example I also included the visual highlighting utilized for the screenshot
\begin{warn}[Test]
Just a simple test in latex
\end{warn}
-- Disable global cursor line-- Enable on focus buffer()vim.opt.cursorline=falsevim.api.nvim_create_autocmd({'VimEnter', 'WinEnter', 'BufWinEnter'},
{ callback=function() vim.opt_local.cursorline=trueend})
vim.api.nvim_create_autocmd({'WinLeave'},
{ callback=function() vim.opt_local.cursorline=falseend})
I think it has something to do with the prefix-indentation (i.e. both blocks are indented once)
Oddly enough, the problem disappears by adding one (or more) indentation level(s)
I am also going to include my indent configuration for the sake of completeness.
The gobble feature sometimes breaks, here are two examples of it happening (LaTeX, Lua)


The blocks are indented as following (using indentation tabs as character). In the second example I also included the visual highlighting utilized for the screenshot


I think it has something to do with the prefix-indentation (i.e. both blocks are indented once)

Oddly enough, the problem disappears by adding one (or more) indentation level(s)



I am also going to include my indent configuration for the sake of completeness.