mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-27 02:24:57 +08:00
add WAYLAND_DISPLAY
This commit is contained in:
parent
3554b279a0
commit
84a183b46d
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ scriptencoding utf-8
|
|||
" URL: https://www.vim.org/scripts/script.php?script_id=3764
|
||||
" ---------------------------------------------------------------------
|
||||
" Load Once:
|
||||
if &cp || exists("g:loaded_fcitx") || !exists('$DISPLAY')
|
||||
if &cp || exists("g:loaded_fcitx") || (!exists('$DISPLAY') && !exists('$WAYLAND_DISPLAY'))
|
||||
finish
|
||||
endif
|
||||
let s:keepcpo = &cpo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue