Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Labels
help wantedExtra attention is needed
@blyoa

Description

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:
Image
(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):
Image

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):
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /