helix: enable copilot w/helix-gpt
This commit is contained in:
parent
2682af3b05
commit
9ff59044ef
1 changed files with 16 additions and 0 deletions
|
@ -5,6 +5,17 @@ roots = [
|
||||||
"Cargo.toml",
|
"Cargo.toml",
|
||||||
"Cargo.lock"
|
"Cargo.lock"
|
||||||
]
|
]
|
||||||
|
language-servers = [
|
||||||
|
"rust-analyzer",
|
||||||
|
"gpt",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "go"
|
||||||
|
language-servers = [
|
||||||
|
"gopls",
|
||||||
|
"gpt",
|
||||||
|
]
|
||||||
|
|
||||||
[language.auto-pairs]
|
[language.auto-pairs]
|
||||||
'(' = ')'
|
'(' = ')'
|
||||||
|
@ -28,3 +39,8 @@ lifetimeElisionHints.enable = "skip_trivial"
|
||||||
parameterHints.enable = true
|
parameterHints.enable = true
|
||||||
typeHints.enable = true
|
typeHints.enable = true
|
||||||
typeHints.hideClosureInitialization = false
|
typeHints.hideClosureInitialization = false
|
||||||
|
|
||||||
|
[language-server.gpt]
|
||||||
|
command = "helix-gpt"
|
||||||
|
args = ["--handler", "copilot", "--logFile", "/home/dln/.cache/helix/helix-gpt.log"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue