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
For emacs, there are things like orgstruct that allow using org folding in non-org files by having the ""s after a comment character (e.g. "# * heading level"). I don't know about other stuff, but I like using this syntax for folds better than markers. I don't know if you would consider this to be outside of the scope of vim-dotoo, but since the fold expression and color stuff already exists here, it might make sense to just add a fold expression that is similar but has &commentstring (removing the "%s") before the ""s.
The text was updated successfully, but these errors were encountered:
Sounds reasonable, though it would require adding syntax definitions to every filetype. As of now our syntax & folding definitions are limited to the dotoo filetype. Not that it's not possible, but not sure it will be off putting.
I have been a bit busy in other things in a while, this is a complex piece of code, I will take time out to churn some much needed tests and perhaps finally get to refactor the syntax files.
I think it would make sense to just give the user a way to choose what filetypes to have it active for if possible (maybe just using FileType autocmds or ftplugin). Take your time; I'm looking forward to it.
For emacs, there are things like orgstruct that allow using org folding in non-org files by having the ""s after a comment character (e.g. "# * heading level"). I don't know about other stuff, but I like using this syntax for folds better than markers. I don't know if you would consider this to be outside of the scope of vim-dotoo, but since the fold expression and color stuff already exists here, it might make sense to just add a fold expression that is similar but has &commentstring (removing the "%s") before the ""s.
The text was updated successfully, but these errors were encountered: