Mistral FIM integration
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user