-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .config/nvim/lua/config/lazy.lua Update .config/nvim/lua/core/options.lua
- Loading branch information
1 parent
aca13f8
commit fa956d2
Showing
3 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
require("core.options") | ||
if not vim.g.vscode then | ||
require("core.options") | ||
require("core.keymaps") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
-- Bootstrap lazy.nvim | ||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||
if not (vim.uv or vim.loop).fs_stat(lazypath) then | ||
local lazyrepo = "https://github.com/folke/lazy.nvim.git" | ||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) | ||
if vim.v.shell_error ~= 0 then | ||
vim.api.nvim_echo({ | ||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" }, | ||
{ out, "WarningMsg" }, | ||
{ "\nPress any key to exit..." }, | ||
}, true, {}) | ||
vim.fn.getchar() | ||
os.exit(1) | ||
end | ||
if not vim.g.vscode then | ||
-- Bootstrap lazy.nvim | ||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||
if not (vim.uv or vim.loop).fs_stat(lazypath) then | ||
local lazyrepo = "https://github.com/folke/lazy.nvim.git" | ||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) | ||
if vim.v.shell_error ~= 0 then | ||
vim.api.nvim_echo({ | ||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" }, | ||
{ out, "WarningMsg" }, | ||
{ "\nPress any key to exit..." }, | ||
}, true, {}) | ||
vim.fn.getchar() | ||
os.exit(1) | ||
end | ||
end | ||
vim.opt.rtp:prepend(lazypath) | ||
require("lazy").setup("plugins") | ||
end | ||
vim.opt.rtp:prepend(lazypath) | ||
|
||
require("lazy").setup("plugins") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters