aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_match.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.0.1105: match() and matchend() are not testedJan Edmund Lazo2018-08-08
| | | | | | Problem: match() and matchend() are not tested. Solution: Add tests. (Ozaki Kiichi, closes vim/vim#2088) https://github.com/vim/vim/commit/1190cf68e27a123cf9f6fb57897782a3b9f7b810
* vim-patch:8.0.1004: matchstrpos() without a match returns too many itemsJan Edmund Lazo2018-08-08
| | | | | | | Problem: Matchstrpos() without a match returns too many items. Solution: Also remove the second item when the position is beyond the end of the string. (Hirohito Higashi) Use an enum for the type. https://github.com/vim/vim/commit/8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452
* vim-patch:8.0.0033Justin M. Keyes2017-03-22
| | | | | | | Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) https://github.com/vim/vim/commit/a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a
* vim-patch:7.4.2228lonerover2017-03-18
| | | | | | | Problem: Test files have inconsistant modelines. Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
* vim-patch:8.0.0040Michael Ennen2016-12-07
| | | | | | | Problem: Whole line highlighting with matchaddpos() does not work. Solution: Check for zero length. (Hirohito Higashi) https://github.com/vim/vim/commit/8507747600bddfd6a68aed057840856bf5548e61
* vim-patch:8.0.0033Michael Ennen2016-12-06
| | | | | | | Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) https://github.com/vim/vim/commit/a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a
* vim-patch:7.4.2269Michael Ennen2016-12-06
| | | | | | | | | Problem: Using 'hlsearch' highlighting instead of matchpos if there is no search match. Solution: Pass NULL as last item to next_search_hl() when searching for 'hlsearch' match. (Shane Harper, closes vim/vim#1013) https://github.com/vim/vim/commit/e17bdffff78ebd6a4e3cff26754cc667557ea810
* vim-patch:7.4.2217Michael Ennen2016-12-06
| | | | | | | | Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi) https://github.com/vim/vim/commit/4f416e41243ca151b95d39d81ce23d00b1484755
* vim-patch:7.4.2163Michael Ennen2016-12-06
Problem: match() and related functions tested with old style test. Solution: Convert to new style test. (Hirohito Higashi) https://github.com/vim/vim/commit/d76a0c15f8bdbc901015879177fd5076d34c7a06