mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-27 02:24:57 +08:00
fcitx5 vimscript
This commit is contained in:
parent
83519f4ed3
commit
b6fc70ffba
2 changed files with 12 additions and 4 deletions
|
|
@ -10,6 +10,14 @@ if &cp || exists("g:loaded_fcitx") || (
|
|||
\ && !exists('$FCITX_SOCKET'))
|
||||
finish
|
||||
endif
|
||||
if executable('fcitx5-remote')
|
||||
" currently python version does not support fcitx5
|
||||
let g:fcitx_remote = 'fcitx5-remote'
|
||||
runtime so/fcitx.vim
|
||||
finish
|
||||
else
|
||||
let g:fcitx_remote = 'fcitx-remote'
|
||||
endif
|
||||
if has("python3")
|
||||
let python3 = 1
|
||||
elseif has("python")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue