mirror of
https://github.com/cmur2/language-fluentd.git
synced 2024-12-21 06:54:25 +01:00
Fiat lux
This commit is contained in:
commit
97a5ac7e6d
7
CHANGELOG.md
Normal file
7
CHANGELOG.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.0 (November 22, 2017)
|
||||
|
||||
NEW FEATURES:
|
||||
|
||||
- Initial release of the [Sublime Text and TextMate package](https://github.com/adamchainz/fluentd.tmLanguage) as package for Atom
|
20
LICENSE
Normal file
20
LICENSE
Normal file
@ -0,0 +1,20 @@
|
||||
Copyright (c) 2017 Christian Nicolai
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
7
README.md
Normal file
7
README.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Fluentd Config File language support in Atom
|
||||
|
||||
Adds basic syntax highlighting based on the [Sublime Text and TextMate package](https://github.com/adamchainz/fluentd.tmLanguage) to `fluent.conf` files in Atom.
|
||||
|
||||
## License
|
||||
|
||||
language-fluentd is licensed under the MIT License. See LICENSE for more information.
|
44
grammars/fluentd.cson
Normal file
44
grammars/fluentd.cson
Normal file
@ -0,0 +1,44 @@
|
||||
scopeName: 'source.fluentd'
|
||||
name: 'Fluentd Config File'
|
||||
fileTypes: [
|
||||
'fluent.conf'
|
||||
]
|
||||
patterns: [
|
||||
{
|
||||
match: "#.*"
|
||||
name: "comment.line.number-sign.fluentd"
|
||||
}
|
||||
{
|
||||
match: "(<)(\\w+)(\\s([^>]+?))?(>)"
|
||||
name: "entity.tag.start.fluentd"
|
||||
captures:
|
||||
"1":
|
||||
name: "punctuation.definition.tag.fluentd"
|
||||
"2":
|
||||
name: "entity.tag.fluentd"
|
||||
"4":
|
||||
name: "entity.other.attribute-name.fluentd"
|
||||
"5":
|
||||
name: "punctuation.definition.tag.fluentd"
|
||||
}
|
||||
{
|
||||
match: "(</)(\\w+)(>)"
|
||||
name: "entity.tag.end.fluentd"
|
||||
captures:
|
||||
"1":
|
||||
name: "punctuation.definition.tag.fluentd"
|
||||
"2":
|
||||
name: "entity.tag.fluentd"
|
||||
"3":
|
||||
name: "punctuation.definition.tag.fluentd"
|
||||
}
|
||||
{
|
||||
match: "([^\\s]+)(\\s+([^\\n]+))?"
|
||||
name: "keyword.directive.generic.fluentd"
|
||||
captures:
|
||||
"1":
|
||||
name: "keyword.directive.fluentd"
|
||||
"3":
|
||||
name: "string.unquoted.fluentd"
|
||||
}
|
||||
]
|
17
package.json
Normal file
17
package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "language-fluentd",
|
||||
"description": "Fluentd Config File language support in Atom",
|
||||
"version": "0.0.0",
|
||||
"engines": {
|
||||
"atom": "*"
|
||||
},
|
||||
"homepage": "https://github.com/cmur2/language-fluentd",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cmur2/language-fluentd.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/cmur2/language-fluentd/issues"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user