Comments (4)
That's perfect, thank you for the quick response. I didn't realize that it'd be sufficient to link gitmessengerPopupNormal
to Pmenu
:D
from git-messenger.vim.
You can configure it in your init.vim
using :hi link
.
For example:
" Header such as 'Commit:', 'Author:'
hi link gitmessengerHeader Identifier
" Commit hash at 'Commit:' header
hi link gitmessengerHash Comment
" History number at 'History:' header
hi link gitmessengerHistory Constant
" Normal color. This color is the most important
hi link gitmessengerPopupNormal CursorLine
" Color of 'end of buffer'. To hide '~' in popup window
hi gitmessengerEndOfBuffer term=None guifg=None guibg=None ctermfg=None ctermbg=None
Which highlight group should be linked is depending on the colorscheme's palette. Please adjust highlight group names to link.
hi link gitmessengerXxx {favorite highlight name}
For instance, above configuration with vim-color-spring-night is as follows:
from git-messenger.vim.
I will add this to README and help files
from git-messenger.vim.
I think coc.nvim uses Pmenu as its highlight group, which seems to work fine.
It's correct in many cases, but some colorschemes utilize vivid colors for popup menu background colors and they are not suitable for reading sentences.
from git-messenger.vim.
Related Issues (20)
- Question about autocmd on float window HOT 4
- [Feature Request] View word-diff version of commit HOT 2
- Git on CentOS7 does not work because it does not support -C option HOT 5
- Does not detect symlinks HOT 4
- Inside .github directory is detected as inside .git directory
- Lines starting with '-' are highlighted as 'removed' in word diffs
- [Question] Missing tests for word-diff feature HOT 3
- Add highlight border color variable HOT 7
- [Idea] Open github pull request of commit HOT 3
- popup commit body sometimes shows CRLF ^M HOT 10
- View range log
- E21: Cannot make changes, 'modifiable' is off HOT 3
- Does not resolve symlink before searching for git root
- Doesn't work on worktrees HOT 2
- Autoclose on BufLeave should be only when entering into a normal buffer HOT 2
- Git popup in visual mode on "<"
- expose command to customise git diff
- vim support popup_create ?
- The bottom border is gone after I press r or d
- Highlight glitch if I press r followed by d
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-messenger.vim.