-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Utilize .gitignore
outside of Git repositories
#6909
Comments
All that's needed to implement this is to add a Note that we support global gitignore rules1 so setting this to false would cause those to be always active aswell so if we make this configurable in helix it should still default to Footnotes
|
I can work on this over the next day or two! |
I've created a pull request with this feature! |
I just want to note, that even currently, outside of a git folder, |
I took jj (jujutsu) for a spin this weekend, and noticed that Helix ignored .gitignore (🥁). Jujutsu uses .gitignore too, and even though it is git compatible, it has its own I worked around this by symlinking .gitignore as .ignore, but it would be nice if it was picked up automatically even though its not really a git repo. Unsure about how often you have a .gitignore that you don't want to affect Helix. Maybe a better default would be to always parse .gitignore. |
It would amazing, if the
.gitignore
file would be parsed, even if the directory is not a Git repository.Certain projects do not use Git, but have a
.gitignore
in their source tree for exactly this reason. OpenBSD is a good example for it.The text was updated successfully, but these errors were encountered: