Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions autoload/llama.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,9 @@ function! s:fim_render(pos_x, pos_y, data)
endif

" setup accept shortcuts
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_full . ' <C-O>:call llama#fim_accept(''full'')<CR>'
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_line . ' <C-O>:call llama#fim_accept(''line'')<CR>'
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_word . ' <C-O>:call llama#fim_accept(''word'')<CR>'
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_full . ' <ESC>:call llama#fim_accept(''full'')<CR>a'
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_line . ' <ESC>:call llama#fim_accept(''line'')<CR>a'
exe 'inoremap <buffer> ' . g:llama_config.keymap_accept_word . ' <ESC>:call llama#fim_accept(''word'')<CR>a'

let s:hint_shown = v:true

Expand Down