Closed yesyestoday2020 closed 4 years ago
没装成功
还有一个问题,在我安装后会影响到我重新映射的窗口跳转, control+h向左跳转变成了增加当前窗口尺寸 control+l向右跳转变成了减小窗口的尺寸
能够成功安装但是,运行:ClockEnable命令报错,不知道怎么回事
重启也没有效果
我也遇到了这个问题,请问你是怎么解决的呢?
@Dreamer-liuyang 不知道你怎么安装的,插件没装成功
@Dreamer-liuyang 不知道你怎么安装的,插件没装成功
Plug 'iamcco/sran.nvim', { 'do': { -> sran#util#install() } }
Plug 'iamcco/clock.nvim' " 时钟
:plugInstall
命令,然后有了下面的界面
let g:clockn_enable = 1
highlight ClockNormal guifg=#000000
let g:clockn_to_top = 1
let g:clockn_to_right = 1
肯定第一次装的时候 :call sran#util#install()
没装成功,重新执行下
call sran#util#install()
显示了这个
[sran.nvim]: install completed
但是运行:ClockEnable
命令还是会显示这不是编辑器的命令
什么系统和版本的vim
我的系统是Manjaro,neovim版本是0.4.3,具体情况请看下图。
:echo sran#util#pre_build_version()
输出什么
什么也没有输出。
预编译版本的你系统不能用
删了重装(需要nodejs支持,如果没有的话不用折腾了,自己用vimscirpt写一个也没多少代码)
Plug 'iamcco/sran.nvim', { 'do': 'yarn' }
或者如果你用 coc.nvim 的话安装 https://github.com/iamcco/coc-clock
OK,我试试安装COC的
能够成功安装但是,运行:ClockEnable命令报错,不知道怎么回事
重启也没有效果