This commit is contained in:
newbie 2023-11-27 23:08:28 +08:00
parent be12cae2f9
commit 32fda72951
3 changed files with 10 additions and 7 deletions

View File

@ -3,7 +3,6 @@ G = require('G')
local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not G.loop.fs_stat(lazypath) then if not G.loop.fs_stat(lazypath) then
G.fn.system({ G.fn.system({
"git", "git",
"clone", "clone",
@ -20,7 +19,6 @@ if not G.loop.fs_stat(lazypath) then
"credential.helper", "credential.helper",
"store", "store",
}) })
end end
G.opt.rtp:prepend(lazypath) G.opt.rtp:prepend(lazypath)
@ -36,5 +34,3 @@ else
}) })
end end

View File

@ -34,6 +34,13 @@ return {
'github/copilot.vim', -- github copilot 'github/copilot.vim', -- github copilot
}, },
{ {
'windwp/nvim-autopairs',
} event = "InsertEnter",
opts = {},-- this is equalent to setup({}) function
config = function ()
require('nvim-autopairs').setup({
disable_filetype = { "vim" },
})
end
},
} }

View File

@ -133,7 +133,7 @@ return {
} }
require("symbols-outline").setup(opts) require("symbols-outline").setup(opts)
G.map({ G.map({
{ "n", "<leader>o", ":SymbolsOutline<cr>" }, { "n", "<c-O>", ":SymbolsOutline<cr>" },
}) })
end end
}, },