Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法自动启动插件 #11

Open
ZhiZe-ZG opened this issue Aug 4, 2023 · 2 comments
Open

无法自动启动插件 #11

ZhiZe-ZG opened this issue Aug 4, 2023 · 2 comments

Comments

@ZhiZe-ZG
Copy link

ZhiZe-ZG commented Aug 4, 2023

尝试使用 Vim Plug 给 Neovim 安装了插件,把 init.vim 设置为

call plug#begin()
Plug 'Neur1n/neuims', {'on': 'IMSToggle'}
call plug#end()

进入 nvim 后使用 IMSToggle 可以激活插件,但是插件不能在进入 nvim 之后自动激活。

@neur1n
Copy link
Owner

neur1n commented Aug 4, 2023

, {'on': 'IMSToggle'}去掉应该就可以

@ZhiZe-ZG
Copy link
Author

ZhiZe-ZG commented Aug 4, 2023

@neur1n 去掉也不行,在 init.vim 中加了这个命令可以了:

autocmd VimEnter * :IMSToggle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants