git commit -m "feat: initial release of Strata framework v0.1.0
- Static compiler with STRC pattern (Static Template Resolution with
Compartmentalized Layers)
- Template syntax: { } interpolation, { s-for }, { s-if/s-elif/s-else
}
- File types: .strata, .compiler.sts, .service.sts, .api.sts, .sts,
.scss
- CLI tools: strata dev, strata build, strata g (generators)
- create-strata scaffolding CLI with Pokemon API example
- Dev server with WebSocket HMR (Hot Module Replacement)
- Documentation: README, ARCHITECTURE, CHANGELOG, CONTRIBUTING,
LICENSE
This commit is contained in:
18
templates/.nvim.lua
Normal file
18
templates/.nvim.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
-- Strata file type detection for NeoVim
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
strata = "html", -- Templates: HTML syntax
|
||||
sts = "typescript", -- Pure logic: TypeScript
|
||||
["compiler.sts"] = "typescript", -- Compiler: TypeScript
|
||||
["service.sts"] = "typescript", -- Service: TypeScript
|
||||
["api.sts"] = "typescript", -- API contracts: TypeScript
|
||||
},
|
||||
pattern = {
|
||||
[".*%.compiler%.sts"] = "typescript",
|
||||
[".*%.service%.sts"] = "typescript",
|
||||
[".*%.api%.sts"] = "typescript",
|
||||
},
|
||||
})
|
||||
|
||||
-- Optional: Add custom syntax highlighting or treesitter config
|
||||
-- vim.treesitter.language.register("html", "strata")
|
||||
Reference in New Issue
Block a user