Mistral FIM integration

This commit is contained in:
2026-06-28 16:58:05 +02:00
parent ade50ceac4
commit 42a7ebddd9
2 changed files with 37 additions and 0 deletions
+8
View File
@@ -59,3 +59,11 @@ lsp-enable
lsp-inlay-diagnostics-enable global
declare-option str fim_tmp "/tmp/kak-fim.buf"
define-command fim-complete -docstring "FIM-Completion am Cursor (Mistral)" %{
write -force %opt{fim_tmp}
execute-keys "!python3 %val{config}/mistral-fim.py %opt{fim_tmp} %val{cursor_line} %val{cursor_column}<ret>"
}
map global user f ': fim-complete<ret>' -docstring 'FIM complete'