init commit

This commit is contained in:
unknown
2025-08-19 08:06:37 -04:00
commit 2957b5515a
743 changed files with 45495 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
from talon import Context, Module
mod = Module()
ctx = Context()
ctx.matches = r"""
code.language: protobuf
"""
ctx.lists["user.code_type"] = {
"string": "string",
"bytes": "bytes",
"you sixty four": "uint64",
"you thirty two": "uint32",
"eye sixty four": "int64",
"eye thirty two": "int32",
"sin sixty four": "sint64",
"sin thirty two": "sint32",
"fixed sixty four": "fixed64",
"fixed thirty two": "fixed32",
"as fixed sixty four": "sfixed64",
"as fixed thirty two": "sfixed32",
"boolean": "bool",
"double": "double",
"float": "float",
}
+18
View File
@@ -0,0 +1,18 @@
code.language: protobuf
-
# this is pretty bare-bones, further contributions welcome
block: user.code_block()
state message: "message "
state package: "package "
state reserved: "reserved "
state enum: "enum "
op equals: " = "
state import: "import "
state import public: "import public "
state option: "option "
state repeated: "repeated "
type {user.code_type}: "{code_type}"
repeated type {user.code_type}: "repeated {code_type}"