删除coc
This commit is contained in:
parent
61204ec525
commit
b366b6610d
3
init.lua
3
init.lua
|
@ -25,9 +25,6 @@ require "user.telescope"
|
|||
-- 终端
|
||||
require "user.toggleterm"
|
||||
|
||||
-- 代码补全插件(安装代码补全插件需要node版本14.14.0支持)
|
||||
require "user.coc"
|
||||
|
||||
-- 配置初始化
|
||||
require "config.init"
|
||||
-- 按键映射
|
||||
|
|
|
@ -20,5 +20,4 @@ vim.cmd [[
|
|||
map <C-k> <C-W>k
|
||||
map <C-h> <C-W>h
|
||||
map <C-l> <C-W>l
|
||||
|
||||
]]
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
local status_ok, coc = pcall(require, "coc")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
-- 安装代码补全插件需要node版本14.14.0支持
|
|
@ -111,12 +111,6 @@ return packer.startup({function(use)
|
|||
tag = '*'
|
||||
}
|
||||
|
||||
-- 代码补全插件
|
||||
use {
|
||||
'neoclide/coc.nvim',
|
||||
branch = 'release'
|
||||
}
|
||||
|
||||
-- 克隆packer.nvim后自动配置
|
||||
-- 把这个放在所有插件之后
|
||||
if PACKER_BOOTSTRAP then
|
||||
|
|
Loading…
Reference in New Issue