mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2026-01-08 11:57:28 +08:00
add WAYLAND_DISPLAY
This commit is contained in:
parent
11033e228e
commit
2e0506f2b5
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
|
" URL: https://www.vim.org/scripts/script.php?script_id=3764
|
||||||
" ---------------------------------------------------------------------
|
" ---------------------------------------------------------------------
|
||||||
" Load Once:
|
" Load Once:
|
||||||
if &cp || exists("g:loaded_fcitx") || !exists('$DISPLAY') || !has('python3')
|
if &cp || exists("g:loaded_fcitx") || (!exists('$DISPLAY') && !exists('$WAYLAND_DISPLAY')) || !has('python3')
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
let s:keepcpo = &cpo
|
let s:keepcpo = &cpo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue