Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark disappears with small updatetime #85

Closed
petobens opened this issue Mar 4, 2019 · 1 comment
Closed

Mark disappears with small updatetime #85

petobens opened this issue Mar 4, 2019 · 1 comment

Comments

@petobens
Copy link

petobens commented Mar 4, 2019

Consider the following minimal vimrc

set nocompatible

let $DOTVIM = expand('$HOME/.config/nvim')

set runtimepath+=$DOTVIM/bundle/repos/github.com/Shougo/defx.nvim
filetype plugin indent on

set updatetime=500

call defx#custom#option('_', {
            \ 'winwidth': 30,
            \ 'split': 'vertical',
            \ 'direction': 'topleft',
            \ })

augroup ps_defx
    au!
    au FileType defx call s:defx_settings()
augroup END

function! s:defx_settings()
    nnoremap <silent><buffer><expr> <Space>
        \ defx#do_action('toggle_select') . 'j'
endfunction

Now do

  1. Open nvim and run :Defx
  2. Within the defx buffer select a candidate with <SPACE> -> the candidate mark is shown
  3. Wait half a second -> the mark disappears

I expect the mark not to disappear.

@Shougo Shougo closed this as completed in 1b7fdf4 Mar 4, 2019
@petobens
Copy link
Author

petobens commented Mar 4, 2019

Thank you!

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

No branches or pull requests

1 participant