This commit is contained in:
Jaroslaw Konik 2024-05-17 16:29:50 +02:00
parent a100681c0e
commit 938945b842

View file

@ -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