vim-fall/fall.vim

Highlight effect for matched path parts in `Fall file` are not visible

Open

#44 aperta il 3 ott 2025

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)TypeScript (3 fork)github user discovery
help wanted

Metriche repository

Star
 (95 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

When using Fall file, matched text in path parts of the candidate list does not show the highlight effect settings in vimrc.

Current behavior

Even if input text matches some parts of the path, the matched parts does not show the highlight effect. Only the file names are highlighted.

Current behavior example: (deno is not highlighted in denops/fall)

Expected behavior

When input text matches parts of paths, I expect the matched parts of the paths to be highlighted.

Expected behavior example (hard-coded to show intended behavior):

Steps to reproduce

  1. Open vim with the following minimal vimrc in this project directory:

    vim -u vimrc -N
    
  2. Invoke :Fall file.

  3. Input some text that is a substring of a path.

Minimal vimrc settings

let s:plugin_root_dir = '~/.vim/plugin_dir'
let &runtimepath .= ',' . s:plugin_root_dir . '/vim-plug'

call plug#begin(s:plugin_root_dir)
Plug 'cocopon/iceberg.vim'
Plug 'vim-denops/denops.vim'
Plug 'vim-fall/fall.vim'
call plug#end()

set termguicolors
set background=dark
colorscheme iceberg

function! s:customize_fall_style() abort
  hi link FallListSelected Title
  hi link FallListMatch Title
endfunction

augroup my_fall_style
  autocmd!
  autocmd ColorScheme * call s:customize_fall_style()
augroup END
call s:customize_fall_style()

Note

With default fall.vim settings, the matched parts in the selected line is difficult to see with some colorschemes. Highlights may not be displayed as expected.

Default settings example (the hi link ... lines in the above vimrc are commented out):

Guida contributor