Browse Source

Fiat lux

tags/v1.0.0
Christian Nicolai 2 years ago
commit
97a5ac7e6d
5 changed files with 95 additions and 0 deletions
  1. +7
    -0
      CHANGELOG.md
  2. +20
    -0
      LICENSE
  3. +7
    -0
      README.md
  4. +44
    -0
      grammars/fluentd.cson
  5. +17
    -0
      package.json

+ 7
- 0
CHANGELOG.md View 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
- 0
LICENSE View 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
- 0
README.md View 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
- 0
grammars/fluentd.cson View 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
- 0
package.json View 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…
Cancel
Save