From: Daniel Hahler Date: Wed, 6 May 2015 13:12:26 +0000 (+0200) Subject: Improve handling of lookup in previous lines X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/7cb9a56c62d3540432cbcf78364569be19eb9e8a?hp=7cb9a56c62d3540432cbcf78364569be19eb9e8a Improve handling of lookup in previous lines - Handle jedi-vim call signatures when looking for colon and function def in previous line. This adds `jedi\S` to s:skip_special_chars and improves the algorithm to find the colon in the previous line in `s:indent_like_previous_line`. - Add `s:match_expr_on_line` and use it for `nothing_after_opening_paren`. - Handle comments after opening paren (#32). NOTE: This handles older Vim versions, where `synconcealed` behaves different (returns an empty list for non-concealed) and `getcurpos` is not available (Vim 7.3.429 (used on Travis)). Fixes: https://github.com/hynek/vim-python-pep8-indent/issues/32 ---