-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add EditorConfig support (#859)
* feat: Add EditorConfig support * try build with deps * update submodule * revert build deps
- Loading branch information
Showing
7 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ jobs: | |
- d | ||
- dart | ||
- dockerfile | ||
- editorconfig | ||
- elisp | ||
- elixir | ||
- elm | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ | |
*.tar.gz | ||
*.elc | ||
*~ | ||
|
||
.DS_Store |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
- Add `EditorConfig` support | ||
|
||
## 0.12.234 - 2024-11-18 | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
(comment) @comment | ||
|
||
(section | ||
(section_name) @string.special) | ||
|
||
(character_choice | ||
(character) @constant) | ||
|
||
(character_range | ||
start: (character) @constant | ||
end: (character) @constant) | ||
|
||
[ | ||
"[" | ||
"]" | ||
"{" | ||
"}" | ||
] @punctuation.bracket | ||
|
||
[ | ||
"," | ||
".." | ||
(path_separator) | ||
] @punctuation.delimiter | ||
|
||
[ | ||
"-" | ||
"=" | ||
(negation) | ||
] @operator | ||
|
||
[ | ||
(wildcard_characters) | ||
(wildcard_any_characters) | ||
(wildcard_single_character) | ||
] @character.special | ||
|
||
(escaped_character) @escape | ||
|
||
(pair | ||
key: (identifier) @property | ||
value: (_) @string) | ||
|
||
(boolean) @boolean | ||
|
||
(integer) @number | ||
|
||
(unset) @constant.builtin | ||
|
||
[ | ||
(spelling_language) | ||
(indent_style) | ||
(end_of_line) | ||
(charset) | ||
] @string.special |
Submodule editorconfig
added at
511d5f
This file contains 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