Skip to content

Commit bce7aa0

Browse files
committed
remove unused following_prev_end indent handler
1 parent 4004561 commit bce7aa0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

autoload/elixir/indent.vim

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,6 @@ function! elixir#indent#handle_following_trailing_binary_operator(lnum, text, pr
184184
endif
185185
endfunction
186186

187-
function! elixir#indent#handle_following_prev_end(_lnum, _text, prev_nb_lnum, prev_nb_text)
188-
if s:ends_with(a:prev_nb_text, s:keyword('end'), a:prev_nb_lnum)
189-
return indent(a:prev_nb_lnum)
190-
else
191-
return -1
192-
endif
193-
endfunction
194-
195187
function! elixir#indent#handle_starts_with_pipe(lnum, text, prev_nb_lnum, prev_nb_text)
196188
if s:starts_with(a:text, '|>', a:lnum)
197189
let match_operator = '\%(!\|=\|<\|>\)\@<!=\%(=\|>\|\~\)\@!'

0 commit comments

Comments
 (0)