From fc0bc607ad091d147e7b1710a3bd1009e1741679 Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Tue, 5 Mar 2019 21:03:09 +0100 Subject: [PATCH 1/2] Modify the highlight for MatchParen In some terminals, a color of cursor disappeared when it was on a parenthese. This modification seems to solve the problem given that the cursor turns orange and the matching parenthese is underlined in orange. --- colors/odyssey.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 0c660c6..062d89f 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -167,7 +167,7 @@ call s:HL( 'CursorLine', 'cursorline') call s:HL( 'ColorColumn', 'foldedline') call s:HL( 'StatusLineTerm', 'cursorline', 'foreground') call s:HL('StatusLineTermNC', 'beyondback', 'linenumber') -call s:HL( 'MatchParen', 'linenumber', 'background') +call s:HL( 'MatchParen', 'background', 'warning', 'underline') call s:HL( 'ToolbarLine', 'linenumber', 'linenumber') call s:HL( 'ToolbarButton', 'linenumber', 'background') call s:HL( 'Comment', 'background', 'linenumber') From 980458b716d7ca5a76d3d39eb7765305707a1eff Mon Sep 17 00:00:00 2001 From: Ludovic Koenig Date: Tue, 5 Mar 2019 21:13:04 +0100 Subject: [PATCH 2/2] Modify the CHANGELOG.md It explains why the change of the highlight of MatchParen has been done. --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1dfbbd..e91fc51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning]. +# [Unreleased] + +### Changed + +- The highlight for MatchParen has been modified. In fact, when the cursor is + over a parenthese, a bracket, a brace, and so on, the matching element turns + 'orange' and is underlined. + + This may solves the problem of the disappearing cursor in some terminals when + it is over a parenthese, bracket or brace. + ## 0.1.0 - 2019-03-04 ### Added @@ -41,4 +52,5 @@ project adheres to [Semantic Versioning]. + Otherwise, a GUI version of Vim must be used. +[Unreleased]: https://github.com/ludokng/vim-odyssey/compare/0.1.0...HEAD [Semantic Versioning]: https://semver.org/spec/v2.0.0.html