Skip to content

Path not concealed in Vim 9.1 #258

@andis-sprinkis

Description

@andis-sprinkis

I wanted to check the issue #257 on Vim so I installed the version from Arch Linux repo.

The default behavior between Neovim 0.11 and Vim 9.1 appears to be visibly different - the paths are concealed in Neovim but not in Vim.

nvim -N -u NORC +'set rtp+=~/.local/share/nvim/lazy/vim-dirvish' +'runtime plugin/dirvish.vim'
vim -N -u NORC +'set rtp+=~/.local/share/nvim/lazy/vim-dirvish' +'runtime plugin/dirvish.vim'
:Dirvish

On both Nvim and Vim

:echo &conceallevel

prints 2.

Not sure if the differences in Neovim and Vim default options would impact it - Vim_diff - Neovim docs

Image
NVIM v0.11.4
Build type: RelWithDebInfo
LuaJIT 2.1.1753364724
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions     -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security     -fstack-clash-protection -fcf-protection     -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/neovim/src=/usr/src/debug/neovim -flto=auto -O2 -g -flto=auto -fno-fat-lto-objects -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always  -DUNIT_TESTING -D_GNU_SOURCE -DINCLUDE_GENERATED_DECLARATIONS -DUTF8PROC_STATIC -I/usr/include/luajit-2.1 -I/usr/include -I/build/neovim/src/neovim/build/src/nvim/auto -I/build/neovim/src/neovim/build/include -I/build/neovim/src/neovim/build/cmake.config -I/build/neovim/src/neovim/src 

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Sep 05 2025 17:55:41)
Included patches: 1-1734
Compiled by Arch Linux
Huge version without GUI.  Features included (+) or not (-):
+acl               +find_in_path      +multi_byte        +tcl/dyn
+arabic            +float             +multi_lang        +termguicolors
+autocmd           +folding           -mzscheme          +terminal
+autochdir         -footer            +netbeans_intg     +terminfo
-autoservername    +fork()            +num64             +termresponse
-balloon_eval      +gettext           +packages          +textobjects
+balloon_eval_term -hangul_input      +path_extra        +textprop
-browse            +iconv             +perl/dyn          +timers
++builtin_terms    +insert_expand     +persistent_undo   +title
+byte_offset       +ipv6              +popupwin          -toolbar
+channel           +job               +postscript        +user_commands
+cindent           +jumplist          +printer           +vartabs
+clientserver      +keymap            +profile           +vertsplit
-clipboard         +lambda            -python            +vim9script
+cmdline_compl     +langmap           +python3/dyn       +viminfo
+cmdline_hist      +libcall           +quickfix          +virtualedit
+cmdline_info      +linebreak         +reltime           +visual
+comments          +lispindent        +rightleft         +visualextra
+conceal           +listcmds          +ruby/dyn          +vreplace
+cryptv            +localmap          +scrollbind        -wayland
+cscope            +lua/dyn           +signs             -wayland_clipboard
+cursorbind        +menu              +smartindent       +wildignore
+cursorshape       +mksession         +socketserver      +wildmenu
+dialog_con        +modify_fname      -sodium            +windows
+diff              +mouse             -sound             +writebackup
+digraphs          -mouseshape        +spell             -X11
-dnd               +mouse_dec         +startuptime       +xattr
-ebcdic            +mouse_gpm         +statusline        -xfontset
+emacs_tags        -mouse_jsbterm     -sun_workshop      -xim
+eval              +mouse_netterm     +syntax            -xpm
+ex_extra          +mouse_sgr         +tabpanel          -xsmp
+extra_search      -mouse_sysmouse    +tag_binary        -xterm_clipboard
-farsi             +mouse_urxvt       -tag_old_static    -xterm_save
+file_in_path      +mouse_xterm       -tag_any_white     
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
 3rd user vimrc file: "$XDG_CONFIG_HOME/vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/vim/src=/usr/src/debug/vim -flto=auto -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 
Linking: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.42/core_perl/CORE -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -L/usr/local/lib -o vim -lm -ltinfo -lacl -lattr -lgpm -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions