jessebot / dot_files

Default dot files for onboardme including bash, neovim, powerline, neomutt, w3m, wezterm, and more :)
https://jessebot.github.io/onboardme
GNU Affero General Public License v3.0
5 stars 3 forks source link

Folding in python doesn't work on functions #7

Closed jessebot closed 1 year ago

jessebot commented 1 year ago

It only works on indented text, so if i used it in the doc string or any string below that, it would fold the doc string and/or function, but it doesn't collapse on the actual def somefunc(): line, and I want it to. I'm currently manually defining folds in a couple places, so it's probably also a good time to clear that up as well. Perhaps folding and indents should have their own config file?

jessebot commented 1 year ago

This is magically working after a recent update to my indentation library :) I didn't even have to do anything. Thank you vim-plug.