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

View file

@ -7,6 +7,7 @@
"git.nvim": { "branch": "main", "commit": "eb09b8d01d7bb38ca1d65ed0d82d71bddcd8a8bd" },
"gitsigns.nvim": { "branch": "main", "commit": "79127db3b127f5d125f35e0d44ba60715edf2842" },
"harpoon": { "branch": "master", "commit": "21f4c47c6803d64ddb934a5b314dcb1b8e7365dc" },
"indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" },
"lazy.nvim": { "branch": "main", "commit": "3ad55ae678876516156cca2f361c51f7952a924b" },
"lsp-zero.nvim": { "branch": "v2.x", "commit": "f084f4a6a716f55bf9c4026e73027bb24a0325a3" },
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },

View file

@ -7,9 +7,9 @@ vim.opt.relativenumber = true -- juicy relativity
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.smarttab = true
vim.opt.breakindent = true

View file

@ -0,0 +1,6 @@
return {
"lukas-reineke/indent-blankline.nvim",
config = {
show_end_of_line = true,
},
}