nvim config updates

This commit is contained in:
juancwu 2023-09-11 16:43:49 -04:00
commit dba3e617f7
No known key found for this signature in database
4 changed files with 22 additions and 15 deletions

View file

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