Trying not to break things

This commit is contained in:
clevergit
2025-09-10 23:09:59 -04:00
parent 7de5d77a5b
commit f7366bf3ee
6 changed files with 291 additions and 4 deletions
+175
View File
@@ -0,0 +1,175 @@
return {
{
'zaldih/themery.nvim',
lazy = false,
config = function()
require('themery').setup {
themes = {
{ name = 'Rose pine', colorscheme = 'rose-pine' },
{ name = 'Tokyonight-night', colorscheme = 'tokyonight-night' },
{ name = 'Catppuccin Mocha', colorscheme = 'catppuccin-mocha' },
{ name = 'Everforest', colorscheme = 'everforest' },
{ name = 'Kanso', colorscheme = 'kanso-ink' },
},
livePreview = true,
makePersist = true,
}
end,
keys = {
{ '<space>ut', '<cmd>Themery<cr>', mode = 'n', desc = 'Colorschemes' },
},
},
{
'asilvam133/rose-pine.nvim',
name = 'rose-pine',
lazy = false,
opts = {
styles = {
bold = true,
italic = false,
transparency = false,
},
highlight_groups = {
['@function.builtin.lua'] = { italic = false },
['@lsp.type.comment'] = { italic = true },
['@lsp.typemod.function.defaultLibrary.lua'] = { italic = false },
Comment = { italic = true },
DiagnosticUnnecessary = { italic = false },
TabLine = { bg = 'none' },
TabLineSel = { bg = 'none' },
TabLineFill = { bg = 'none' },
ZenBg = { bg = 'none' },
},
},
config = function(_, opts)
require('rose-pine').setup(opts)
end,
},
{
'catppuccin/nvim',
name = 'catppuccin',
lazy = false,
priority = 1000,
opts = {
flavour = 'mocha',
transparent_background = false,
integrations = {
fidget = true,
harpoon = true,
noice = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = { 'italic' },
hints = { 'italic' },
warnings = { 'italic' },
information = { 'italic' },
},
underlines = {
errors = { 'underline' },
hints = { 'underline' },
warnings = { 'underline' },
information = { 'underline' },
},
inlay_hints = {
background = true,
},
},
notify = true,
treesitter_context = true,
telescope = {
enabled = true,
style = 'nvchad',
},
lsp_trouble = true,
},
custom_highlights = function(_)
return {
['@module'] = { style = {} },
Conditional = { style = {} },
TabLine = { bg = 'none' },
TabLineSel = { bg = 'none' },
TabLineFill = { bg = 'none' },
ZenBg = { bg = 'none' },
}
end,
},
config = function(_, opts)
require('catppuccin').setup(opts)
end,
},
{
'folke/tokyonight.nvim',
lazy = false,
priority = 1000,
opts = {
transparent = false,
styles = {
keywords = { italic = false },
},
on_highlights = function(hl, c)
local prompt = '#2d3149'
hl.TelescopeNormal = {
bg = c.bg_dark,
fg = c.fg_dark,
}
hl.TelescopeBorder = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopePromptNormal = {
bg = prompt,
}
hl.TelescopePromptBorder = {
bg = prompt,
fg = prompt,
}
hl.TelescopePromptTitle = {
bg = prompt,
fg = prompt,
}
hl.TelescopePreviewTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.TelescopeResultsTitle = {
bg = c.bg_dark,
fg = c.bg_dark,
}
hl.CursorLineSign = {
fg = hl.Constant.fg,
}
hl.LineNr = {
fg = hl.Constant.fg,
}
hl.LineNrAbove = {
fg = '#737aa2',
}
hl.LineNrBelow = {
fg = '#737aa2',
}
end,
},
},
{
'neanias/everforest-nvim',
version = false,
lazy = false,
priority = 1000,
opts = {
background = 'hard',
transparent_background_level = 0,
},
config = function(_, opts)
require('everforest').setup(opts)
end,
},
{
'webhooked/kanso.nvim',
lazy = false,
priority = 1000,
opts = {
keywordStyle = { italic = false },
},
},
}
+42
View File
@@ -0,0 +1,42 @@
return {
'stevearc/conform.nvim',
cmd = { 'ConformInfo' },
opts = {
format = {
timeout_ms = 3000,
async = false,
quiet = false,
},
formatters_by_ft = {
c = { 'clang-format' },
cpp = { 'clang-format' },
html = { 'htmlbeautifier' },
lua = { 'stylua' },
go = { 'goimports', 'gofumpt' },
hcl = { 'packer_fmt' },
python = { 'black' },
sh = { 'shfmt' },
terraform = { 'terraform_fmt' },
['terraform-vars'] = { 'terraform_fmt' },
tf = { 'terraform_fmt' },
toml = { 'taplo' },
yaml = { 'yamlfmt' },
},
formatters = {
['clang-format'] = {
prepend_args = { '-style=file', '-fallback-style=LLVM' },
},
injected = { options = { ignore_errors = true } },
},
},
keys = {
{
'<leader>f',
function()
require('conform').format { async = true, lsp_fallback = true }
end,
mode = 'n',
desc = 'Conform format',
},
},
}
+33
View File
@@ -0,0 +1,33 @@
return {
'folke/zen-mode.nvim',
config = function()
vim.keymap.set('n', '<leader>zz', function()
require('zen-mode').setup {
window = {
width = 90,
options = {},
},
}
require('zen-mode').toggle()
vim.wo.wrap = false
vim.wo.number = true
vim.wo.rnu = true
ColorMyPencils()
end)
vim.keymap.set('n', '<leader>zZ', function()
require('zen-mode').setup {
window = {
width = 80,
options = {},
},
}
require('zen-mode').toggle()
vim.wo.wrap = false
vim.wo.number = false
vim.wo.rnu = false
vim.opt.colorcolumn = '0'
ColorMyPencils()
end)
end,
}
+1
View File
@@ -0,0 +1 @@
return {}