diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2018-12-26 10:41:57 +0100 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2018-12-26 10:41:57 +0100 | 
| commit | d43b70d93987c94d15a352cf0026fb93d3317cc8 (patch) | |
| tree | 74470b6cc30ddb4ef8ceb2ec557bc32ccccb5ebb /autoload/vifm | |
| parent | ec1c94306953b678bb36572897bd218fe6c76506 (diff) | |
| download | vim-polyglot-d43b70d93987c94d15a352cf0026fb93d3317cc8.tar.gz vim-polyglot-d43b70d93987c94d15a352cf0026fb93d3317cc8.zip  | |
Update
Diffstat (limited to 'autoload/vifm')
| -rw-r--r-- | autoload/vifm/globals.vim | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/autoload/vifm/globals.vim b/autoload/vifm/globals.vim index f6f62022..4c4c9924 100644 --- a/autoload/vifm/globals.vim +++ b/autoload/vifm/globals.vim @@ -2,7 +2,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vifm') == -1  " common functions for vifm plugin related to globals  " Maintainer:  xaizek <xaizek@posteo.net> -" Last Change: January 02, 2018 +" Last Change: November 03, 2018  " Initializes global variables to defaults unless they are already set  function! vifm#globals#Init() @@ -26,6 +26,10 @@ function! vifm#globals#Init()              let g:vifm_term = 'xterm -e'          endif      endif + +    if !exists('g:vifm_embed_term') +        let g:vifm_embed_term = has('gui_running') +    endif  endfunction  endif  | 
