Skip to content

Commit

Permalink
Merge pull request #133 from thisisrandy/master
Browse files Browse the repository at this point in the history
Make fzf.vim and context.vim play nicely together
  • Loading branch information
wellle authored Jul 10, 2024
2 parents 7c025c6 + 19348c0 commit f8f619e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/context.vim
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ function! context#update(...) abort
\ || !s:activated
\ || s:ignore_update
\ || &previewwindow
\ || mode() != 'n'
" NOTE: Checking for mode() != 't' fixes interaction with
" fzf.vim buffer switching. See #132
\ || (mode() != 'n' && mode() != 't')
\ || !context#util#active()
\ || bufname("%") =~# '^term://'
let w:context.needs_update = 0
Expand Down

0 comments on commit f8f619e

Please # to comment.