filetype: setf xml for *.atom Atom files - #7986
Closed
kevinoid wants to merge 1 commit into
Closed
Conversation
*.atom files are likely to use the Atom Syndication Format ([RFC 4287]), which is an XML-based format. The .atom extension is registered in RFC 4287 and is the only used for application/atom+xml in mime.types from [Apache], [Debian], and [Fedora]. Since Atom files do not always include an XML prolog, it's useful to match the file extension for syntax highlighting as well. [RFC 4287]: https://tools.ietf.org/html/rfc4287 [Apache]: https://svn.apache.org/viewvc/httpd/httpd/tags/2.4.46/docs/conf/mime.types?revision=1880504&view=markup#l37 [Debian]: https://salsa.debian.org/debian/media-types/-/blob/4.0.0/mime.types#L54 [Fedora]: https://pagure.io/mailcap/blob/r2-1-52/f/mime.types#_38 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Codecov Report
@@ Coverage Diff @@
## master #7986 +/- ##
==========================================
- Coverage 89.17% 89.16% -0.01%
==========================================
Files 148 148
Lines 165340 164742 -598
==========================================
- Hits 147436 146899 -537
+ Misses 17904 17843 -61
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Contributor
Author
|
Thanks @brammool! |
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Mar 21, 2021
Problem: Atom files not recognized. Solution: Recognize .atom as XML. (Kivin Locke, closes vim/vim#7986) vim/vim@74b99f6 N/A patches for version.c: vim-patch:8.2.2622: GTK: error when starting up and -geometry is given Problem: GTK: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes vim/vim#7978) vim/vim@a555e6f vim-patch:8.2.2626: GTK3: error when starting up and -geometry is given Problem: GTK3: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes vim/vim#7978) vim/vim@2400143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
*.atom files are likely to use the Atom Syndication Format (RFC 4287), which is an XML-based format. The .atom extension is registered in RFC 4287 and is the only used for application/atom+xml in mime.types from Apache, Debian, and Fedora.
Since Atom files do not always include an XML prolog, it's useful to match the file extension for syntax highlighting as well.
Thanks for considering,
Kevin