Blocking echo messages on startup result in blank screen
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- macos, vim
- Lĩnh vực
- desktop
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh với mvim --clean và so sánh màn hình khởi động trống với phần hiển thị thông báo của plain vim. Theo dõi cách MacVim xử lý các thông báo echo khi khởi động và việc khởi chạy trình soạn thảo diff, sau đó xác minh rằng cảnh báo xuất hiện trước khi trình soạn thảo có thể sử dụng được mà không cần nhấn Enter thêm lần nữa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Steps to reproduce
With the latest prerelease, I run the following command (from a draft default diff tool config similar to https://github.com/jj-vcs/jj/pull/6205, sorry for extraneous quotes):
Update: I changed this line to remove irrelevant backticks. They mess up the result in bash or zsh; I didn't notice because I use fish.
"gvim" "-f" "-d" "-u" "/dev/null" mkdocs-offline.yml mkdocs.yml "-c" "echohl WarningMsg" "-c" "echomsg \"Warning: using plain vimdiff as a diff editor is not recommended. See https://github.com/jj-vcs/jj/wiki/Vim for alternatives.\"" "-c" "echohl None"
(It doesn't matter which two files you'd be comparing, or if they even exist)
This results in a confusing blank screen instead of the expected message:
After pressing Enter, everything works.
Expected behaviour
In plain vim, I get:
"mkdocs-offline.yml" 19 lines, 724 bytes
"mkdocs.yml" 154 lines, 4992 bytes
Warning: using plain `vimdiff` as a diff editor is not recommended. See https://github.com/jj-vcs/jj/wiki/Vim for alternatives.
Press ENTER or type command to continue
Then, vim loads after I press ENTER.
Version of Vim and architecture
1-1251
Environment
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Mar 28 2025 09:26:05)
macOS version - arm64
Included patches: 1-1251
Compiled by GitHub Actions
How MacVim was installed
Downloaded from GitHub
Logs and stack traces
Vim configuration where issue is reproducable
No response
Issue has been tested with given configuration
- by running MacVim.app from GUI macOS interface
- by running vim/gvim/etc installed by MacVim
- by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution) - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
- The both Homebrew packages "vim" and "macvim" are installed
- Ngôn ngữ chính
- Vim Script
- Star
- 7.9k
- Fork
- 691
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của macvim-dev/macvim
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
macvim-dev/macvim#1697 · 4 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
macvim-dev/macvim#1658 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
macvim-dev/macvim#1657 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
macvim-dev/macvim#1655 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
macvim-dev/macvim#1653 ·
Tất cả issue của macvim-dev/macvim
Issue tương tự
-
dock-lock never engages when the Dock is in its default position (missing `orientation` key) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
raycast/extensions#31335 · 2 bình luận ·