From 95d82fdb668b746ac100a8b7d2aca38038150707 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 29 Dec 2020 19:44:40 +0100 Subject: Update --- indent/crystal.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indent/crystal.vim') diff --git a/indent/crystal.vim b/indent/crystal.vim index 4a0cdb00..724f9611 100644 --- a/indent/crystal.vim +++ b/indent/crystal.vim @@ -12,6 +12,16 @@ endif let b:did_indent = 1 +if !exists('g:crystal_indent_assignment_style') + " Possible values: 'variable', 'hanging' + let g:crystal_indent_assignment_style = 'hanging' +endif + +if !exists('g:crystal_indent_block_style') + " Possible values: 'expression', 'do' + let g:crystal_indent_block_style = 'expression' +endif + setlocal nosmartindent " Now, set up our indentation expression and keys that trigger it. -- cgit v1.2.3