🖍️ Plugin and Theme Formatting
- Formatting cleanup
This commit is contained in:
+3
-12
@@ -2,12 +2,7 @@
|
||||
-- ---------------------------------- Style ------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
-- Set the palette
|
||||
if os.getenv("CATPPUCCIN_PALETTE") then
|
||||
TMEMEPALETTE =
|
||||
require("catppuccin.palettes").get_palette(os.getenv("CATPPUCCIN_PALETTE"))
|
||||
end
|
||||
|
||||
-- Get the kitty theme
|
||||
if os.getenv("KITTY_THEME") then
|
||||
KITTY_THEME = os.getenv("KITTY_THEME")
|
||||
end
|
||||
@@ -16,9 +11,5 @@ end
|
||||
vim.cmd.colorscheme(KITTY_THEME or "catppuccin-frappe")
|
||||
|
||||
-- Set GUI font
|
||||
--vim.opt.guifont = "MonaspiceKr Nerd Font Mono:#e-subpixelantialias:h13"
|
||||
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h13"
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
-- Set transparency
|
||||
vim.cmd(":TransparentDisable")
|
||||
vim.opt.guifont = "Iosevka:#e-subpixelantialias:h12"
|
||||
vim.g.have_nerd_font = true
|
||||
@@ -1,8 +1,8 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- ANSI-escape ---------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
'vim-scripts/AnsiEsc.vim',
|
||||
"vim-scripts/AnsiEsc.vim",
|
||||
lazy = true,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
@@ -6,4 +6,5 @@ return {
|
||||
config = function()
|
||||
require("auto-save").setup({})
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,4 +30,5 @@ return {
|
||||
})
|
||||
require("codewindow").apply_default_keybinds()
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- Colorizer ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
|
||||
@@ -6,4 +6,5 @@ return {
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- -------------------------------- Dashboard ----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"nvimdev/dashboard-nvim",
|
||||
lazy = false,
|
||||
|
||||
@@ -28,4 +28,5 @@ return {
|
||||
})
|
||||
vim.cmd(":set colorcolumn=120")
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -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,
|
||||
}
|
||||
|
||||
@@ -17,4 +17,5 @@ return {
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- Icon Picker ---------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"ziontee113/icon-picker.nvim",
|
||||
config = function()
|
||||
|
||||
@@ -7,4 +7,5 @@ return {
|
||||
local term = os.getenv("TERM")
|
||||
return term and string.find(term, "kitty")
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------------- LazyGit -----------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"kdheepak/lazygit.nvim",
|
||||
cmd = {
|
||||
|
||||
@@ -5,4 +5,5 @@ return {
|
||||
"folke/persistence.nvim",
|
||||
event = "BufReadPre",
|
||||
opts = {},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,4 +10,5 @@ return {
|
||||
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
|
||||
},
|
||||
config = true,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ----------------------------- rip-substitute --------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"chrisgrieser/nvim-rip-substitute",
|
||||
cmd = "RipSubstitute",
|
||||
|
||||
@@ -82,4 +82,5 @@ return {
|
||||
vim.fn.sign_define("smoothcursor_�", { text = "" })
|
||||
vim.fn.sign_define("smoothcursor_R", { text = "" })
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ------------------------------- Transparent ---------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"xiyaowong/transparent.nvim",
|
||||
}
|
||||
config = true,
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- --------------------------- User-getting-bored ------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
|
||||
return {
|
||||
"mikesmithgh/ugbi",
|
||||
lazy = false,
|
||||
|
||||
+4
-3
@@ -1,7 +1,8 @@
|
||||
-- -----------------------------------------------------------------------------
|
||||
-- ----------------------------------- Ayu -------------------------------------
|
||||
-- -----------------------------------------------------------------------------
|
||||
return{
|
||||
return {
|
||||
"Shatur/neovim-ayu",
|
||||
lazy = true
|
||||
}
|
||||
lazy = true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user