update
This commit is contained in:
parent
fcd8e97a2c
commit
1997349cb0
1 changed files with 12 additions and 13 deletions
25
init.lua
25
init.lua
|
|
@ -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" },
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue