nvim config updates
This commit is contained in:
parent
51896abd6f
commit
dba3e617f7
4 changed files with 22 additions and 15 deletions
|
|
@ -1,13 +1,13 @@
|
|||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
|
|
@ -21,15 +21,15 @@ require("keymaps")
|
|||
require("options")
|
||||
|
||||
if is_wsl == 1 then
|
||||
require("clipboard-wsl")
|
||||
require("clipboard-wsl")
|
||||
end
|
||||
|
||||
if is_mac == 1 then
|
||||
require("clipboard-macos")
|
||||
require("clipboard-macos")
|
||||
end
|
||||
|
||||
if is_unix == 1 then
|
||||
require("clipboard-unix")
|
||||
if is_unix == 1 and is_mac ~= 1 then
|
||||
require("clipboard-unix")
|
||||
end
|
||||
|
||||
require("lazy").setup("plugins")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue