Blocking echo messages on startup result in blank screen
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- macos, vim
- Ambito
- desktop
Direzione di ricerca
Inizia riproducendo il comando con mvim --clean e confronta la schermata di avvio vuota con la visualizzazione dei messaggi di plain vim. Traccia il modo in cui MacVim gestisce i messaggi echo di avvio e il lancio dell’editor diff, quindi verifica che l’avviso compaia prima che l’editor sia utilizzabile, senza richiedere un’ulteriore pressione di Enter.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Vim Script
- Stelle
- 7.9k
- Fork
- 691
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di macvim-dev/macvim
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
macvim-dev/macvim#1697 · 4 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1658 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1657 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
macvim-dev/macvim#1655 ·
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
macvim-dev/macvim#1653 ·
Tutte le issue di macvim-dev/macvim
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
extension extension: raycast-system-monitor feature request platform: macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
raycast/extensions#31335 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
AvengeMedia/DankMaterialShell#3520 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SubtitleEdit/subtitleedit#15108 · 1 commento ·
-
错误任务红点已经被隐藏,但应用图标上的系统角标仍保留 Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100