generated from tweag/project
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!(nix): add topiary-cli-nix build output
This build output uses the grammars from nixpkgs over those provided by topiary itself.
- Loading branch information
1 parent
a979f66
commit f5072d9
Showing
4 changed files
with
106 additions
and
7 deletions.
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
topiary-config/languages_nix.ncl |
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,72 @@ | ||
{ | ||
languages = { | ||
bash = { | ||
extensions = ["sh", "bash"], | ||
grammar.source.path = "@bash@", | ||
}, | ||
|
||
css = { | ||
extensions = ["css"], | ||
grammar.source.path = "@css@", | ||
}, | ||
|
||
json = { | ||
extensions = [ | ||
"json", | ||
"avsc", | ||
"geojson", | ||
"gltf", | ||
"har", | ||
"ice", | ||
"JSON-tmLanguage", | ||
"jsonl", | ||
"mcmeta", | ||
"tfstate", | ||
"tfstate.backup", | ||
"topojson", | ||
"webapp", | ||
"webmanifest" | ||
], | ||
grammar.source.path = "@json@", | ||
}, | ||
|
||
nickel = { | ||
extensions = ["ncl"], | ||
grammar.source.path = "@nickel@", | ||
}, | ||
|
||
ocaml = { | ||
extensions = ["ml"], | ||
grammar.source.path = "@ocaml@", | ||
}, | ||
|
||
ocaml_interface = { | ||
extensions = ["mli"], | ||
grammar.source.path = "@ocaml_interface@", | ||
}, | ||
|
||
# ocamllex = { | ||
# extensions = ["mll"], | ||
# grammar.source.path = "@ocamllex@", | ||
# }, | ||
|
||
rust = { | ||
extensions = ["rs"], | ||
indent = " ", # 4 spaces | ||
grammar.source.path = "@rust@", | ||
}, | ||
|
||
toml = { | ||
extensions = ["toml"], | ||
grammar.source.path = "@toml@", | ||
}, | ||
|
||
tree_sitter_query = { | ||
extensions = ["scm"], | ||
grammar = { | ||
source.path = "@tree_sitter_query@", | ||
symbol = "tree_sitter_query", | ||
}, | ||
}, | ||
}, | ||
} |