kalekundert / vim-coiled-snake

Compact, but ready to strike. 🐍
124 stars 11 forks source link

After uprading to vim 9, coiled-snake stops responding after a time #40

Closed LinearG closed 1 year ago

LinearG commented 1 year ago

I recently upgraded my MacVim to r177 (Vim 9.0.1677). Since then, about an hour into a session, coiled snake stops working and vim generates E490: No fold found.

If I :call coiledsnake#DebugFolds() I get: Error detected while processing function coiledsnake#DebugFolds[2]..<SNR>102_FoldsFromLines[44]..CoiledSnakeConfigureFold:

and lots of E461: Illegal variable name: a:num_blanks_below

If I re-source the plugin nothing changes., And nothing changes if I :FastFoldUpdate. The only thing that fixes it is writing all my changes and restarting MacVim.

LinearG commented 1 year ago

I fat fingered a customization that I put in after/plugin. My bad.