Skip to content

fix: arglist toggle and syntax when using dirvish_relative_paths#263

Open
mrak wants to merge 1 commit into
justinmk:masterfrom
mrak:master
Open

fix: arglist toggle and syntax when using dirvish_relative_paths#263
mrak wants to merge 1 commit into
justinmk:masterfrom
mrak:master

Conversation

@mrak

@mrak mrak commented Jun 18, 2026

Copy link
Copy Markdown

Description

Setting let g:dirvish_relative_paths = 1 breaks arglist tracking and syntax highlighting.

Steps to reproduce

  1. Add let g:dirvish_relative_paths = 1 into your vimrc, init.vim, or equivalent configuration file.
  2. Edit an exsisting file nvim myfile
  3. Open dirvish via -
    • Note that myfile is not highlighted using the DirvishArg highlight
  4. Press x one or more times
    • Note that the message arglist: N files increases N with each press of x and that the syntax is not toggled

Fix

Normalize the filepath in two code sections. During the syntax detection and when invoking set_args

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant