chore: change themes

This commit is contained in:
huyjaky
2025-08-24 22:14:35 +07:00
parent 44d2f8999a
commit 04c5dcd06a
15 changed files with 172 additions and 243 deletions

View File

@@ -12,8 +12,8 @@ return {
"ray-x/lsp_signature.nvim",
event = "BufRead",
opts = {
hint_enable = false,
doc_lines = 5,
hint_enable = false,
doc_lines = 0,
},
-- config = function() require("lsp_signature").setup() end,
},
@@ -23,9 +23,7 @@ return {
-- customize dashboard options
{
"folke/snacks.nvim",
config = function(_, opts)
require("snacks").setup(opts)
end,
config = function(_, opts) require("snacks").setup(opts) end,
opts = {
dashboard = {
preset = {
@@ -33,11 +31,14 @@ return {
keys = {},
},
},
indent = require( "plugins.configs.ui.indent" ),
indent = require "plugins.configs.ui.indent",
dim = { enabled = false },
terminal = { enabled = false },
profiler = { enabled = false },
},
},
-- You can also easily customize additional setup of plugins that is outside of the plugin's setup call
{
"L3MON4D3/LuaSnip",
@@ -49,72 +50,62 @@ return {
end,
},
{
"altermo/ultimate-autopair.nvim",
event = "InsertEnter",
-- branch = "v0.6",
opts = {
cmap = false,
extensions = {
cond = {
cond = {
function(fn)
return not fn.in_node("comment")
end,
},
},
fly = {
nofilter = true,
},
},
config_internal_pairs = {
{ '"', '"', fly = true },
{ "'", "'", fly = true },
{ "[", "]", fly = true },
{ "{", "}", fly = true },
{ "(", ")", fly = true },
},
},
dependencies = {
{
"AstroNvim/astrocore",
opts = {
mappings = {
n = {
["<Leader>ua"] = {
desc = "Toggle Ultimate Autopair",
function()
local notify = require("astrocore").notify
local function bool2str(bool)
return bool and "on" or "off"
end
local ok, ultimate_autopair = pcall(require, "ultimate-autopair")
if ok then
ultimate_autopair.toggle()
vim.g.ultimate_autopair_enabled = require("ultimate-autopair.core").disable
notify(
string.format(
"ultimate-autopair %s",
bool2str(not vim.g.ultimate_autopair_enabled)
)
)
else
notify("ultimate-autopair not available")
end
end,
},
},
},
},
},
},
specs = {
{
"windwp/nvim-autopairs",
optional = true,
enabled = false,
},
},
},
{
"altermo/ultimate-autopair.nvim",
event = "InsertEnter",
-- branch = "v0.6",
opts = {
cmap = false,
extensions = {
cond = {
cond = {
function(fn) return not fn.in_node "comment" end,
},
},
fly = {
nofilter = true,
},
},
config_internal_pairs = {
{ '"', '"', fly = true },
{ "'", "'", fly = true },
{ "[", "]", fly = true },
{ "{", "}", fly = true },
{ "(", ")", fly = true },
},
},
dependencies = {
{
"AstroNvim/astrocore",
opts = {
mappings = {
n = {
["<Leader>ua"] = {
desc = "Toggle Ultimate Autopair",
function()
local notify = require("astrocore").notify
local function bool2str(bool) return bool and "on" or "off" end
local ok, ultimate_autopair = pcall(require, "ultimate-autopair")
if ok then
ultimate_autopair.toggle()
vim.g.ultimate_autopair_enabled = require("ultimate-autopair.core").disable
notify(string.format("ultimate-autopair %s", bool2str(not vim.g.ultimate_autopair_enabled)))
else
notify "ultimate-autopair not available"
end
end,
},
},
},
},
},
},
specs = {
{
"windwp/nvim-autopairs",
optional = true,
enabled = false,
},
},
},
}