From fd74d8b2b170b540680a9bbf6c64990f8ebafd08 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 8 Oct 2018 19:00:59 +0200 Subject: Update --- autoload/crystal_lang.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'autoload/crystal_lang.vim') 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 -- cgit v1.2.3