Comments (11)
Okay, totally fine. Take your time, nothing urgent. π
from git-messenger.vim.
Yes it works like charm now. π
@alfunx thanks for your investigation and the fix!
@rhysd thanks for the nice help for this issue. π
from git-messenger.vim.
Thank you for reporting this. It sounds a bug on calculating width of the window. Let me check.
from git-messenger.vim.
I tried on my project, but could not reproduce this:
Case1: Commit hash line is the longest
Case2: Author line is the longest:
Maybe some option in vimrc causes this issue.
from git-messenger.vim.
@weilbith Can I try in the same situation? If ok, please let me know:
- Repository URL you could reproduce this issue
- Git commit hash
- File path you opened
from git-messenger.vim.
And please check if you set g:git_messenger_max_popup_width
. The default value is v:null
:echo g:git_messenger_max_popup_width
from git-messenger.vim.
Hey, thanks for you help!
And please check if you set g:git_messenger_max_popup_width. The default value is v:null
I can confirm that this is not set by myself and the output is the default value.
@weilbith Can I try in the same situation? If ok, please let me know:
Here we go:
- poanetwork/blockscout
master
apps/block_scout_web/assets/css/components/_navbar.scss
- calling it on line
7
places the commit hash on the next line - on line
8
it looks fine - line
14
shows an example of a NL for the author.
- calling it on line
My screen is wide enough. It floating window(s) should by far not reach the maximum possible width.
from git-messenger.vim.
@rhysd can you reproduce my issue with the given instructions?
from git-messenger.vim.
Thank you for the information. I'm sorry for the delay, I don't have sufficient time to look into this. But I think I can try this weekend.
from git-messenger.vim.
@weilbith I could narrow it down to set foldcolumn=3
(in https://github.com/weilbith/vim-blueplanet/blob/master/options.vim#L127). Removing that fixes this issue, which suggests this option is also set for the popup.
@rhysd A possible (and IMO clean) solution could be to set 'style': 'minimal'
in the configuration for nvim_open_win()
, e.g. in https://github.com/rhysd/git-messenger.vim/blob/master/autoload/gitmessenger/popup.vim#L108-L115. The minimal
style is most useful when "displaying a temporary float where the text should not be edited" (from :h nvim_open_win()
).
from git-messenger.vim.
Thank you so much for narrowing down this issue. I could not notice the option because I set 0
to foldcolumn
. I'm not sure that the option is root cause of this issue, but I could see the unintended line wrapping with set foldcolumn=3
.
Would you update this plugin to the latest and check if this issue still happens in your local or not. If it still happens, I'll reopen this issue.
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.