Files
helix-config/languages.toml
Steven Le Rouzic 158e438c9c Add copilot
2024-06-10 09:44:12 +02:00

27 lines
679 B
TOML

[[language]]
name = "c"
indent = { unit = " ", tab-width = 4 }
[[language]]
name = "cpp"
indent = { unit = " ", tab-width = 4 }
file-types = ["cpp", "h", "hpp", "inc"]
language-servers = ["clangd", "copilot"]
[[language]]
name = "gas"
indent = { unit = " ", tab-width = 4 }
[[grammar]]
name = "gas"
source = { git = "https://github.com/stevenlr/tree-sitter-gas", rev = "ea4c4d158010790140ff737b8bbe7bb06d3e8b92" }
[language-server.clangd]
args = ["-header-insertion=never"]
[language-server.copilot]
command = "bun"
args = ["run", "C:\\bin\\helix-gpt.js"]
environment = { HANDLER = "copilot" }
required-root-patterns = [".steven-copilot"]