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

Headings/Functionality in Non-Dotoo Filetypes #14

Open
noctuid opened this issue May 14, 2015 · 2 comments
Open

Headings/Functionality in Non-Dotoo Filetypes #14

noctuid opened this issue May 14, 2015 · 2 comments
Assignees

Comments

@noctuid
Copy link

noctuid commented May 14, 2015

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.

@dhruvasagar
Copy link
Owner

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.

Thanks for the suggestion!

@noctuid
Copy link
Author

noctuid commented May 14, 2015

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.

@dhruvasagar dhruvasagar added this to the v0.9 milestone Nov 20, 2015
@dhruvasagar dhruvasagar self-assigned this Nov 20, 2015
@dhruvasagar dhruvasagar removed this from the v0.9 milestone Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants