Skip to content

"pp" shown at the beginning of the buffer when opening a new file #19852

@dorianmariecom

Description

@dorianmariecom

Steps to reproduce

  1. have vim 9.2 installed (via brew)
  2. run vim -u DEFAULTS --noplugin /tmp/test
  3. see pp at the beginning of the buffer

Expected behaviour

empty file instead of "pp"

Version of Vim

9.2.250

Environment

operating system: macos tahoe 26.3.1
terminal: terminal.app Version 2.15 (466)
~> echo $TERM
xterm-256color
i use fish version 4.6.0

Image

downgrading to 9.1 solved it

Logs and stack traces

chdir(/tmp)
fchdir() to previous dir
chdir(/Users/dorianmariefr)
fchdir() to previous dir
sourcing "/Users/dorianmariefr/.vimrc"
chdir(/Users/dorianmariefr/.vim/autoload)
fchdir() to previous dir
line 24: sourcing "/Users/dorianmariefr/.vim/autoload/plug.vim"
finished sourcing /Users/dorianmariefr/.vim/autoload/plug.vim
continuing in /Users/dorianmariefr/.vimrc
chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
line 83: sourcing "/opt/homebrew/share/vim/vim92/filetype.vim"
not found in 'runtimepath': "ftdetect/*.vim"
finished sourcing /opt/homebrew/share/vim/vim92/filetype.vim
continuing in plug#end
chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
line 83: sourcing "/opt/homebrew/share/vim/vim92/ftplugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/ftplugin.vim
continuing in plug#end
chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
line 83: sourcing "/opt/homebrew/share/vim/vim92/indent.vim"
finished sourcing /opt/homebrew/share/vim/vim92/indent.vim
continuing in plug#end
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 86: sourcing "/opt/homebrew/share/vim/vim92/syntax/syntax.vim"
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 20: sourcing "/opt/homebrew/share/vim/vim92/syntax/synload.vim"
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 22: sourcing "/opt/homebrew/share/vim/vim92/syntax/syncolor.vim"
chdir(/opt/homebrew/share/vim/vim92/colors/lists)
fchdir() to previous dir
line 57: sourcing "/opt/homebrew/share/vim/vim92/colors/lists/default.vim"
finished sourcing /opt/homebrew/share/vim/vim92/colors/lists/default.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/syncolor.vim
finished sourcing /opt/homebrew/share/vim/vim92/syntax/syncolor.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/synload.vim
finished sourcing /opt/homebrew/share/vim/vim92/syntax/synload.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/syntax.vim
Executing FileType Autocommands for "*"
autocommand 0verbose exe "set syntax=" . expand("<amatch>")

finished sourcing /opt/homebrew/share/vim/vim92/syntax/syntax.vim
continuing in plug#end
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 27: sourcing "/opt/homebrew/share/vim/vim92/syntax/syntax.vim"
chdir(/opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax)
fchdir() to previous dir
line 16: sourcing "/opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/nosyntax.vim"
Executing BufEnter Autocommands for "*"
autocommand syn clear

autocommand if exists("b:current_syntax") | unlet b:current_syntax | endif

finished sourcing /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/nosyntax.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/syntax.vim
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 20: sourcing "/opt/homebrew/share/vim/vim92/syntax/synload.vim"
chdir(/opt/homebrew/share/vim/vim92/syntax)
fchdir() to previous dir
line 22: sourcing "/opt/homebrew/share/vim/vim92/syntax/syncolor.vim"
finished sourcing /opt/homebrew/share/vim/vim92/syntax/syncolor.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/synload.vim
finished sourcing /opt/homebrew/share/vim/vim92/syntax/synload.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/syntax/syntax.vim
Executing FileType Autocommands for "*"
autocommand 0verbose exe "set syntax=" . expand("<amatch>")

finished sourcing /opt/homebrew/share/vim/vim92/syntax/syntax.vim
continuing in /Users/dorianmariefr/.vimrc
finished sourcing /Users/dorianmariefr/.vimrc
not found in 'packpath': "pack/*/start/*"
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/getscriptPlugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/getscriptPlugin.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/gzip.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/gzip.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/logiPat.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/logiPat.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/manpager.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/manpager.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/matchparen.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/matchparen.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/netrwPlugin.vim"
not found in 'packpath': "pack/*/start/netrw"
chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
chdir(/Users/dorianmariefr/.vim)
fchdir() to previous dir
chdir(/opt/homebrew/share/vim/vimfiles)
fchdir() to previous dir
chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
chdir(/opt/homebrew/share/vim/vim92/pack/dist/opt)
fchdir() to previous dir
chdir(/opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/pack/dist/opt/netrw/plugin)
fchdir() to previous dir
line 7: sourcing "/opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/pack/dist/opt/netrw/plugin/netrwPlugin.vim"
finished sourcing /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/pack/dist/opt/netrw/plugin/netrwPlugin.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/plugin/netrwPlugin.vim
finished sourcing /opt/homebrew/share/vim/vim92/plugin/netrwPlugin.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/openPlugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/openPlugin.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/rrhelper.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/rrhelper.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/spellfile.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/spellfile.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/tarPlugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/tarPlugin.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/tohtml.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/tohtml.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/tutor.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/tutor.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/vimballPlugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/vimballPlugin.vim
chdir(/opt/homebrew/share/vim/vim92/plugin)
fchdir() to previous dir
sourcing "/opt/homebrew/share/vim/vim92/plugin/zipPlugin.vim"
finished sourcing /opt/homebrew/share/vim/vim92/plugin/zipPlugin.vim
not found in 'packpath': "pack/*/start/*"
not found in 'runtimepath': "plugin/**/*.vim"
Reading viminfo file "/Users/dorianmariefr/.viminfo" info oldfiles
"/tmp/test" [New]
Reading viminfo file "/Users/dorianmariefr/.viminfo" marks
Executing BufNewFile Autocommands for "*"
autocommand call dist#ft#DetectFromName()

chdir(/opt/homebrew/share/vim/vim92/autoload/dist)
fchdir() to previous dir
line 0: sourcing "/opt/homebrew/share/vim/vim92/autoload/dist/ft.vim"
finished sourcing /opt/homebrew/share/vim/vim92/autoload/dist/ft.vim
continuing in BufNewFile Autocommands for "*"
Executing BufNewFile Autocommands for "*"
autocommand call dist#ft#DetectFromExt()

autocommand if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat | runtime! scripts.vim | endif

chdir(/opt/homebrew/share/vim/vim92)
fchdir() to previous dir
line 0: sourcing "/opt/homebrew/share/vim/vim92/scripts.vim"
chdir(/opt/homebrew/share/vim/vim92/autoload/dist)
fchdir() to previous dir
line 27: sourcing "/opt/homebrew/share/vim/vim92/autoload/dist/script.vim"
finished sourcing /opt/homebrew/share/vim/vim92/autoload/dist/script.vim
continuing in /opt/homebrew/Cellar/vim/9.2.0200/share/vim/vim92/scripts.vim
finished sourcing /opt/homebrew/share/vim/vim92/scripts.vim
continuing in BufNewFile Autocommands for "*"
Executing BufNewFile Autocommands for "*"
autocommand if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat    && (expand("<amatch>") =~# '\.conf$'^I|| getline(1) =~ '^#' || getline(2) =~ '^#'^I|| getline(3) =~ '^#' || getline(4) =~ '^#'^I|| getline(5) =~ '^#') |   setf FALLBACK conf | endif

Executing BufWinEnter Autocommands for "*"
autocommand autocmd SafeState * ++once call s:Highlight_Matching_Pair()

Executing BufEnter Autocommands for "*"
autocommand sil call s:LocalBrowse(expand("<amatch>"))

Executing VimEnter Autocommands for "*"
autocommand sil call s:VimEnter(expand("<amatch>"))

Executing CursorMoved Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing SafeState Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()


Writing viminfo file "/Users/dorianmariefr/.viminfo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions