diff options
Diffstat (limited to 'autoload/crystal_lang.vim')
-rw-r--r-- | autoload/crystal_lang.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/crystal_lang.vim b/autoload/crystal_lang.vim index aaf626cf..bffa721f 100644 --- a/autoload/crystal_lang.vim +++ b/autoload/crystal_lang.vim @@ -310,6 +310,10 @@ function! crystal_lang#format(option_str, ...) abort call setpos('.', pos_save) endfunction +function! crystal_lang#expand(file, pos, ...) abort + return crystal_lang#tool('expand', a:file, a:pos, get(a:, 1, '')) +endfunction + let &cpo = s:save_cpo unlet s:save_cpo |