Skip to content

Commit 12f9455

Browse files
authored
api : check hint visibility (#85)
Add function to check if hint is shown in llama.
1 parent c31cd09 commit 12f9455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/llama.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,3 +1139,7 @@ function! llama#fim_hide()
11391139
exe 'silent! iunmap <buffer> ' . g:llama_config.keymap_accept_line
11401140
exe 'silent! iunmap <buffer> ' . g:llama_config.keymap_accept_word
11411141
endfunction
1142+
1143+
function! llama#is_hint_shown()
1144+
return s:hint_shown
1145+
endfunction

0 commit comments

Comments
 (0)