summaryrefslogtreecommitdiffstats
path: root/autoload/crystal_lang.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2018-10-08 19:00:59 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2018-10-08 19:00:59 +0200
commitfd74d8b2b170b540680a9bbf6c64990f8ebafd08 (patch)
treeb1fdef6203a78a21053d1b8e0666ab7a38c36df2 /autoload/crystal_lang.vim
parent055f7710b65dfa2df52fc0b5be2486ae36ac5751 (diff)
downloadvim-polyglot-fd74d8b2b170b540680a9bbf6c64990f8ebafd08.tar.gz
vim-polyglot-fd74d8b2b170b540680a9bbf6c64990f8ebafd08.zip
Updatev3.3.3
Diffstat (limited to 'autoload/crystal_lang.vim')
-rw-r--r--autoload/crystal_lang.vim4
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