Adds the clearest current starting point of my dotfiles I can make out. There is no way to automate anything yet. Lots of stuff is missing from the nix configuration, which needs to be added per machine.
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
use-grammars = { only = [ "asciidoc", "c", "c-sharp", "latex", "rust" ] }
|
|
|
|
# [[language]]
|
|
# name = "asciidoc"
|
|
# scope = "source.asciidoc"
|
|
# auto-format = false
|
|
# comment-tokens = ["//"]
|
|
# block-comment-tokens = [
|
|
# { start = "////", end = "////"},
|
|
# { start = "[comment]\n--", end = "--" },
|
|
# { start = "[comment]\n", end = "\n\n" }
|
|
# ]
|
|
# file-types = ["adoc", "asciidoc", "asciidoctor"]
|
|
# shebangs = ["asciidoctor"]
|
|
|
|
[language-server.clangd.config]
|
|
fallbackFlags = [ "-std=c23" ]
|
|
|
|
[[language]]
|
|
name = "cpp"
|
|
file-types = ["cc", "hh", "c++", "cpp", "hpp", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino", "C", "H", "cu", "cuh", "cppm", "h++", "ii", "inl", { glob = ".hpp.in" }]
|
|
|
|
[[language]]
|
|
name = "c"
|
|
auto-format = true
|
|
file-types = ["c", "h", { glob = ".h.in" }]
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
[[language]]
|
|
name = "toml"
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
[[language]]
|
|
name = "asciidoc"
|
|
scope = "source.adoc"
|
|
file-types = ["adoc", "asciidoc", "asciidoctor"]
|
|
shebangs = ["asciidoctor"]
|
|
grammar = "asciidoc"
|
|
|
|
[[grammar]]
|
|
name = "asciidoc"
|
|
source = { git = "https://github.com/cathaysia/tree-sitter-asciidoc", rev = "241f0c1ffeab76fef463be28c7c498757dedd7ee", subpath = "tree-sitter-asciidoc" }
|