Skip to content

Commit cc05fb3

Browse files
committed
打磨
1 parent 6b9c69d commit cc05fb3

6 files changed

Lines changed: 25 additions & 6 deletions

File tree

colors/gruvboxl.lua

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,22 @@ hl({
116116
Delimiter = { fg = neutral_orange },
117117
Identifier = { fg = bright_red },
118118

119+
Error = { fg = dark0, bg = bright_red },
120+
119121
Visual = { bg = "#423e3c" },
120122
Folded = { fg = gray_ext0, bg = dark_ext1 },
121123

122124
DiagnosticError = { fg = bright_red },
123-
DiagnosticInfo = { fg = bright_green },
124-
DiagnosticHint = { fg = "#b4bbc8" },
125+
DiagnosticInfo = { fg = bright_aqua },
126+
DiagnosticHint = { fg = bright_blue },
125127
DiagnosticWarn = { fg = neutral_yellow },
128+
DiagnosticOk = { fg = bright_green },
129+
130+
DiagnosticUnderlineError = { underline = true, sp = bright_blue },
131+
DiagnosticUnderlineWarn = { underline = true, sp = bright_yellow },
132+
DiagnosticUnderlineInfo = { underline = true, sp = bright_aqua },
133+
DiagnosticUnderlineHint = { underline = true, sp = bright_blue },
134+
DiagnosticUnderlineOk = { underline = true, sp = bright_green },
126135

127136
ColorColumn = { bg = dark_ext1 },
128137
Debug = { fg = neutral_yellow },

init.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,17 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
7676
end
7777
vim.opt.rtp:prepend(lazypath)
7878
require("lazy").setup({
79+
defaults = {
80+
lazy = false,
81+
},
7982
spec = {
8083
{ import = "plugins" },
8184
},
82-
install = { colorscheme = { "gruvbox" } },
85+
install = { colorscheme = { "gruvboxl" } },
8386
checker = { enabled = false },
87+
rocks = {
88+
enabled = false,
89+
},
8490
})
8591

8692
vim.cmd.colorscheme("gruvboxl")

lua/autocmds.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,5 @@ autocmd("LspDetach", {
181181
end,
182182
})
183183

184-
185184
require("kide.tools.maven").setup()
186185
require("kide.tools.plantuml").setup()

lua/kide/tools/ai.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ local function create_gpt_win()
306306
M.gpt_chat()
307307
end, { noremap = true, silent = true, buffer = charbuf })
308308

309+
vim.api.nvim_buf_create_user_command(charbuf, "GptSend", function()
310+
M.gpt_chat()
311+
end, { desc = "Gpt Send" })
312+
309313
vim.api.nvim_create_autocmd("WinClosed", {
310314
buffer = charbuf,
311315
callback = close_gpt_win,

lua/options.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ vim.opt.numberwidth = 2
2525
vim.opt.signcolumn = "yes"
2626
vim.opt.scrollback = 100000
2727

28-
2928
-- 高亮所在行
3029
vim.opt.cursorline = true
3130

lua/plugins.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ return {
2828
"nvimdev/indentmini.nvim",
2929
event = "BufRead",
3030
config = function()
31-
require("indentmini").setup()
31+
require("indentmini").setup({
32+
exclude = { "markdown", "" },
33+
})
3234
vim.api.nvim_set_hl(0, "IndentLine", { fg = "#3e3e3e" })
3335
vim.api.nvim_set_hl(0, "IndentLineCurrent", { fg = "#fb4934" })
3436
end,

0 commit comments

Comments
 (0)