From 6d5ce1e610b53560985aee3d20b720085fccffdc Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 25 Jul 2018 01:33:45 +0200 Subject: [PATCH] Remove dead s:pair_pos (#108) Its usage was removed in 782b0f0. --- indent/python.vim | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.39.2