helix: enable copilot w/helix-gpt

This commit is contained in:
Daniel Lundin 2024-03-31 21:21:40 +02:00
parent 2682af3b05
commit 9ff59044ef

View file

@ -5,6 +5,17 @@ roots = [
"Cargo.toml",
"Cargo.lock"
]
language-servers = [
"rust-analyzer",
"gpt",
]
[[language]]
name = "go"
language-servers = [
"gopls",
"gpt",
]
[language.auto-pairs]
'(' = ')'
@ -28,3 +39,8 @@ lifetimeElisionHints.enable = "skip_trivial"
parameterHints.enable = true
typeHints.enable = true
typeHints.hideClosureInitialization = false
[language-server.gpt]
command = "helix-gpt"
args = ["--handler", "copilot", "--logFile", "/home/dln/.cache/helix/helix-gpt.log"]