This commit is contained in:
λmolinae 2025-05-21 00:43:18 -06:00
parent 25ef741b37
commit 06a45b954d
7 changed files with 37 additions and 73 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
.luarc.json
*.sug

View file

@ -2,55 +2,4 @@ require("config.settings")
require("config.lazy")
require("config.mappings")
vim.cmd.colorscheme("pywal16")
local tn_colors = require("tokyonight.colors").setup({ style = "storm" })
local syntax_overrides = {
{ "Comment", tn_colors.comment, true },
{ "Constant", tn_colors.orange },
{ "String", tn_colors.green },
{ "Character", tn_colors.green },
{ "Number", tn_colors.orange },
{ "Boolean", tn_colors.orange },
{ "Float", tn_colors.orange },
{ "Identifier", tn_colors.cyan },
{ "Function", tn_colors.blue, true },
{ "Statement", tn_colors.magenta },
{ "Conditional", tn_colors.magenta },
{ "Repeat", tn_colors.magenta },
{ "Label", tn_colors.blue },
{ "Operator", tn_colors.magenta },
{ "Keyword", tn_colors.magenta },
{ "Exception", tn_colors.magenta },
{ "PreProc", tn_colors.blue },
{ "Include", tn_colors.blue },
{ "Define", tn_colors.blue },
{ "Macro", tn_colors.blue },
{ "Type", tn_colors.yellow },
{ "StorageClass", tn_colors.yellow },
{ "Structure", tn_colors.yellow },
{ "Typedef", tn_colors.yellow },
{ "Special", tn_colors.red },
{ "Delimiter", tn_colors.fg },
{ "SpecialComment", tn_colors.comment },
{ "Debug", tn_colors.red },
{ "DiagnosticError", tn_colors.error, true },
{ "DiagnosticWarn", tn_colors.warning, true },
{ "DiagnosticInfo", tn_colors.blue },
{ "DiagnosticHint", tn_colors.hint },
{ "DiagnosticUnderlineError", tn_colors.error, false, true },
{ "DiagnosticUnderlineWarn", tn_colors.warning, false, true },
{ "DiagnosticUnderlineInfo", tn_colors.blue, false, true },
{ "DiagnosticUnderlineHint", tn_colors.hint, false, true },
{ "DiagnosticVirtualTextError", tn_colors.error, false, false, nil },
{ "DiagnosticVirtualTextWarn", tn_colors.warning, false, false, nil },
{ "DiagnosticVirtualTextInfo", tn_colors.blue, false, false, nil },
{ "DiagnosticVirtualTextHint", tn_colors.hint, false, false, nil }
}
for _, group in ipairs(syntax_overrides) do
vim.api.nvim_set_hl(0, group[1], { fg = group[2], bold = group[3] or false, italic = group[4] or false, bg = group[5] or nil })
end
vim.cmd.colorscheme("tokyonight")

View file

@ -13,6 +13,7 @@
"lualine.nvim": { "branch": "master", "commit": "0c6cca9f2c63dadeb9225c45bc92bb95a151d4af" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "ce0e87c0be12e7c48296a7513e90430e3eac7f24" },
"mason.nvim": { "branch": "main", "commit": "9eaedb864cdadc29c6eb7d761a6c0d8aee26c91b" },
"moonfly": { "branch": "master", "commit": "e356d55cedb24a6c4251d83ce28e0e2010e99d2f" },
"neo-tree.nvim": { "branch": "main", "commit": "56f383aa157f1ff20a59154907cc5f9fe26e4db9" },
"nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },

View file

@ -0,0 +1,16 @@
return {
bigfile = { enabled = false },
dashboard = { enabled = true },
explorer = { enabled = false },
git = { enabled = true },
indent = { enabled = true },
input = { enabled = false },
notifier = { enabled = false },
quickfile = { enabled = false },
scope = { enabled = false },
scroll = { enabled = false },
statuscolumn = { enabled = false },
terminal = { enabled = true },
toggle = { enabled = true },
words = { enabled = false },
}

View file

@ -4,18 +4,8 @@ return {
priority = 1000,
lazy = false,
---@type snacks.Config
opts = {
bigfile = { enabled = false },
dashboard = { enabled = true },
explorer = { enabled = false },
indent = { enabled = true },
input = { enabled = false },
notifier = { enabled = false },
quickfile = { enabled = false },
scope = { enabled = false },
scroll = { enabled = true },
statuscolumn = { enabled = false },
words = { enabled = false },
}
opts = function()
return require "config.plugins.snacks"
end,
}
}

14
lua/plugins/themes.lua Normal file
View file

@ -0,0 +1,14 @@
return {
{
"amolinae06/pywal16.nvim",
opts = {},
},
{
"folke/tokyonight.nvim",
opts = {
style = "night",
transparent = false,
terminal_colors = true,
}
}
}

View file

@ -1,12 +1,4 @@
return {
{
"amolinae06/pywal16.nvim",
opts = {},
},
{
"folke/tokyonight.nvim",
opts = {}
},
{
"norcalli/nvim-colorizer.lua",
opts = { 'css'; 'javascript'; html = {mode = 'foreground';} },