-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Added support for .gitignore #2481
Conversation
e1da8a6
to
d7b14fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @osipxd for this language definition!
A few minor nits and one questions:
What are headers and sections? The spec doesn't mention those.
Also, it might be nice to have an alias for .npmignore
files edit: and .hgignore
files.
It isn't from specification it is just additional highlight to better structurize gitignore file in case if it is large.
Ok, I'll add it |
30d0a3c
to
f7a8e29
Compare
It tried searching for this practice and I wasn't able to find anything. It doesn't seem to be common, so let's just go with the spec for now and remove |
Thank you for contributing @osipxd! |
Closes #2475
I've called the main language
ignore
because it can be used in many ignore configs. Like.hgignore
or.npmignore
.Implementation inspired with .ignore plugin.