From: Daniel Hahler Date: Tue, 24 Jul 2018 23:33:45 +0000 (+0200) Subject: Remove dead s:pair_pos (#108) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/6d5ce1e610b53560985aee3d20b720085fccffdc?ds=inline;hp=-c Remove dead s:pair_pos (#108) Its usage was removed in 782b0f0. --- 6d5ce1e610b53560985aee3d20b720085fccffdc diff --git a/indent/python.vim b/indent/python.vim index b863370..cd44fba 100644 --- a/indent/python.vim +++ b/indent/python.vim @@ -92,14 +92,6 @@ else endfunction endif -function! s:pair_sort(x, y) - if a:x[0] == a:y[0] - return a:x[1] == a:y[1] ? 0 : a:x[1] > a:y[1] ? 1 : -1 - else - return a:x[0] > a:y[0] ? 1 : -1 - endif -endfunction - " Find backwards the closest open parenthesis/bracket/brace. function! s:find_opening_paren(...) " optional arguments: line and column (defaults to 1) to search around