diff --git a/examples/llama.vim b/examples/llama.vim index 53222ea12..50353f22e 100644 --- a/examples/llama.vim +++ b/examples/llama.vim @@ -91,6 +91,8 @@ let s:default_config = { \ 'ring_update_ms': 1000, \ } +let g:llama_config = get(g:, 'llama_config', s:default_config) + let s:nvim_ghost_text = exists('*nvim_buf_get_mark') let s:vim_ghost_text = has('textprop') @@ -106,8 +108,6 @@ if s:vim_ghost_text endif endif -let g:llama_config = get(g:, 'llama_config', s:default_config) - function! s:get_indent(str) let l:count = 0 for i in range(len(a:str))