🖍️ Plugin and Theme Formatting

- Formatting cleanup
This commit is contained in:
2024-07-12 21:39:48 -04:00
parent 274617da24
commit 2807567e34
23 changed files with 38 additions and 72 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
-- -----------------------------------------------------------------------------
-- ------------------------------- ANSI-escape ---------------------------------
-- -----------------------------------------------------------------------------
return {
'vim-scripts/AnsiEsc.vim',
"vim-scripts/AnsiEsc.vim",
lazy = true,
}
}
-25
View File
@@ -1,25 +0,0 @@
-- -----------------------------------------------------------------------------
-- ----------------------------- auto-dark-mode --------------------------------
-- -----------------------------------------------------------------------------
return {
"f-person/auto-dark-mode.nvim",
lazy = true,
opts = {
update_interval = 1000,
set_dark_mode = function()
vim.o.background = "dark"
local kitty_theme = os.getenv("KITTY_THEME")
vim.cmd.colorscheme(kitty_theme or "catppuccin-frappe")
end,
set_light_mode = function()
vim.o.background = "light"
local kitty_theme = os.getenv("KITTY_THEME")
vim.cmd.colorscheme(kitty_theme or "catppuccin-latte")
end,
},
cond = function() -- Not Using SSH or root
local ssh = os.getenv("SSH_TTY")
local user = os.getenv("USER")
return not ssh and user ~= "root"
end,
}
+2 -1
View File
@@ -6,4 +6,5 @@ return {
config = function()
require("auto-save").setup({})
end,
}
}
+2 -1
View File
@@ -30,4 +30,5 @@ return {
})
require("codewindow").apply_default_keybinds()
end,
}
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- -------------------------------- Colorizer ----------------------------------
-- -----------------------------------------------------------------------------
return {
"norcalli/nvim-colorizer.lua",
config = function()
+2 -1
View File
@@ -6,4 +6,5 @@ return {
config = function()
require("Comment").setup()
end,
}
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- -------------------------------- Dashboard ----------------------------------
-- -----------------------------------------------------------------------------
return {
"nvimdev/dashboard-nvim",
lazy = false,
+2 -1
View File
@@ -28,4 +28,5 @@ return {
})
vim.cmd(":set colorcolumn=120")
end,
}
}
-4
View File
@@ -1,16 +1,12 @@
-- -----------------------------------------------------------------------------
-- ---------------------------------- Gists ------------------------------------
-- -----------------------------------------------------------------------------
return {
{
"Rawnly/gist.nvim",
cmd = { "GistCreate", "GistCreateFromFile", "GistsList" },
config = true,
},
-- `GistsList` opens the selected gif in a terminal buffer,
-- nvim-unception uses neovim remote rpc functionality to open the gist in an actual buffer
-- and prevents neovim buffer inception
{
"samjwill/nvim-unception",
lazy = false,
+3 -4
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- ----------------------------------- gx --------------------------------------
-- -----------------------------------------------------------------------------
return {
"chrishrb/gx.nvim",
keys = {
@@ -9,12 +8,12 @@ return {
"gx",
"<cmd>Browse<cr>",
mode = { "n", "x" },
}
},
},
cmd = { "Browse" },
init = function()
vim.g.netrw_nogx = 1 -- disable netrw gx
vim.g.netrw_nogx = 1
end,
dependencies = { "nvim-lua/plenary.nvim" },
config = true, -- default settings
config = true,
}
+2 -1
View File
@@ -17,4 +17,5 @@ return {
},
})
end,
}
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- ------------------------------- Icon Picker ---------------------------------
-- -----------------------------------------------------------------------------
return {
"ziontee113/icon-picker.nvim",
config = function()
+2 -1
View File
@@ -7,4 +7,5 @@ return {
local term = os.getenv("TERM")
return term and string.find(term, "kitty")
end,
}
}
+4 -4
View File
@@ -7,11 +7,11 @@ return {
lazy = true,
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
event = { "User KittyScrollbackLaunch" },
-- version = '*', -- latest stable version, may have breaking changes if major version changed
-- version = '^5.0.0', -- pin major version, include fixes and features that do not have breaking changes
config = function()
version = "*",
config = function() -- Using Kitty-Scrollback
if vim.env.KITTY_SCROLLBACK_NVIM == "true" then
require("kitty-scrollback").setup()
end
end,
}
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- --------------------------------- LazyGit -----------------------------------
-- -----------------------------------------------------------------------------
return {
"kdheepak/lazygit.nvim",
cmd = {
+2 -1
View File
@@ -5,4 +5,5 @@ return {
"folke/persistence.nvim",
event = "BufReadPre",
opts = {},
}
}
+2 -1
View File
@@ -10,4 +10,5 @@ return {
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
},
config = true,
}
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- ----------------------------- rip-substitute --------------------------------
-- -----------------------------------------------------------------------------
return {
"chrisgrieser/nvim-rip-substitute",
cmd = "RipSubstitute",
+2 -1
View File
@@ -82,4 +82,5 @@ return {
vim.fn.sign_define("smoothcursor_", { text = "" })
vim.fn.sign_define("smoothcursor_R", { text = "󰊄" })
end,
}
}
+3 -2
View File
@@ -1,7 +1,8 @@
-- -----------------------------------------------------------------------------
-- ------------------------------- Transparent ---------------------------------
-- -----------------------------------------------------------------------------
return {
"xiyaowong/transparent.nvim",
}
config = true,
}
-1
View File
@@ -1,7 +1,6 @@
-- -----------------------------------------------------------------------------
-- --------------------------- User-getting-bored ------------------------------
-- -----------------------------------------------------------------------------
return {
"mikesmithgh/ugbi",
lazy = false,