updatE
This commit is contained in:
parent
a100681c0e
commit
938945b842
1 changed files with 14 additions and 10 deletions
20
init.lua
20
init.lua
|
|
@ -14,9 +14,13 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
if vim.g.vscode then
|
if vim.g.vscode then
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
|
{
|
||||||
"terrortylor/nvim-comment",
|
"terrortylor/nvim-comment",
|
||||||
})
|
config = function()
|
||||||
require("nvim_comment").setup()
|
require("nvim_comment").setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -69,7 +73,13 @@ require("lazy").setup({
|
||||||
'hrsh7th/cmp-vsnip',
|
'hrsh7th/cmp-vsnip',
|
||||||
'hrsh7th/vim-vsnip',
|
'hrsh7th/vim-vsnip',
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
|
||||||
|
{
|
||||||
"terrortylor/nvim-comment",
|
"terrortylor/nvim-comment",
|
||||||
|
config = function()
|
||||||
|
require("nvim_comment").setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
"nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
{
|
{
|
||||||
'romgrk/barbar.nvim',
|
'romgrk/barbar.nvim',
|
||||||
|
|
@ -125,11 +135,7 @@ require("lazy").setup({
|
||||||
vim.o.timeout = true
|
vim.o.timeout = true
|
||||||
vim.o.timeoutlen = 300
|
vim.o.timeoutlen = 300
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {}
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"dstein64/nvim-scrollview",
|
"dstein64/nvim-scrollview",
|
||||||
"sindrets/diffview.nvim",
|
"sindrets/diffview.nvim",
|
||||||
|
|
@ -185,8 +191,6 @@ cmp.setup({
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
require("nvim_comment").setup()
|
|
||||||
|
|
||||||
require("neodev").setup({
|
require("neodev").setup({
|
||||||
override = function(_, library)
|
override = function(_, library)
|
||||||
library.enabled = true
|
library.enabled = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue