This commit is contained in:
Jaroslaw Konik 2024-05-17 16:34:30 +02:00
parent fcd8e97a2c
commit 1997349cb0

View file

@ -11,19 +11,6 @@ if not vim.loop.fs_stat(lazypath) then
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
if vim.g.vscode then
require("lazy").setup({
{
"terrortylor/nvim-comment",
config = function()
require("nvim_comment").setup()
end
},
})
return
end
vim.g.mapleader = " " vim.g.mapleader = " "
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.opt.cursorline = true vim.opt.cursorline = true
@ -37,6 +24,18 @@ vim.wo.number = true
vim.opt.shortmess:append("sI") vim.opt.shortmess:append("sI")
vim.opt.wrap = false vim.opt.wrap = false
if vim.g.vscode then
require("lazy").setup({
{
"terrortylor/nvim-comment",
config = function()
require("nvim_comment").setup()
end
},
})
return
end
require("lazy").setup({ require("lazy").setup({
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{ {