Primeiro commit

This commit is contained in:
Syntax
2025-07-23 02:31:18 -03:00
parent 58f9754a87
commit 399cfc3502
11 changed files with 407 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[styling]
default=0x000000;#FFFFFF;false;false
keyword=0x0000FF;#FFFFFF;true;false
comment=0x008000;#FFFFFF;false;true
number=0xFF0000;#FFFFFF;false;false
[keywords]
# Palavras-chave são dígitos hex (0-9 e A-F), conforme seu tema VSCode,
# mas Geany keywords são palavras fixas, então colocaremos os dígitos
keywords=0 1 2 3 4 5 6 7 8 9 A B C D E F
[settings]
# Configurações para comentários
comment_single=//
[options]
# Case insensitive keywords? Para Hex, deixamos case sensitive (false)
case_sensitive=true

View File

@@ -0,0 +1,16 @@
" Syntax file for RedDust
" Maintainer: Syntax Echonomics
if exists("b:current_syntax")
finish
endif
syntax match reddustKeyword /^\s*[0-9A-F]\ze;/
syntax match reddustNumber /\v\<[0-9A-F]\>/
syntax match reddustComment "//.*$"
highlight def link reddustKeyword Keyword
highlight def link reddustNumber Number
highlight def link reddustComment Comment
let b:current_syntax = "reddust"

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,5 @@
{
"comments": {
"lineComment": "//"
}
}

View File

@@ -0,0 +1,28 @@
{
"name": "reddust",
"displayName": "RedDust Language",
"description": "Syntax highlighting for RedDust (.redd)",
"version": "1.0.0",
"publisher": "Syntax Echonomics",
"engines": {
"vscode": "^1.50.0"
},
"icon": "icon.png",
"contributes": {
"languages": [
{
"id": "reddust",
"aliases": ["RedDust", "reddust"],
"extensions": [".redd"],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "reddust",
"scopeName": "source.reddust",
"path": "./reddust.tmLanguage.json"
}
]
}
}

Binary file not shown.

View File

@@ -0,0 +1,19 @@
{
"scopeName": "source.reddust",
"patterns": [
{
"name": "keyword.control.reddust",
"match": "^(\\s*[0-9A-F])(?=;)"
},
{
"name": "constant.numeric.reddust",
"match": "\\b[0-9A-F]\\b"
},
{
"name": "comment.line.double-slash.reddust",
"match": "//.*$"
}
]
}