Moved fully away from helix to minimal nvim

This commit is contained in:
2026-05-08 09:27:02 +02:00
parent 3e62cbc43c
commit 9de55060c3
5 changed files with 88 additions and 39 deletions
+22
View File
@@ -63,6 +63,28 @@ vim.api.nvim_create_autocmd('LspAttach', {
end,
})
-- Define highlight groups
vim.api.nvim_set_hl(0, "TodoFix", { fg = "#FF5555", bold = true })
vim.api.nvim_set_hl(0, "TodoTodo", { fg = "#FFB86C", bold = true })
vim.api.nvim_set_hl(0, "TodoNote", { fg = "#A8D8FF", bold = true })
vim.api.nvim_set_hl(0, "TodoInfo", { fg = "#98DB6F", bold = true })
-- Match and highlight keywords in comments
local keywords = {
{ pattern = "FIX:.*", group = "TodoFix" },
{ pattern = "TODO:.*", group = "TodoTodo" },
{ pattern = "NOTE:.*", group = "TodoNote" },
{ pattern = "INFO:.*", group = "TodoInfo" },
}
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost" }, {
callback = function()
for _, kw in ipairs(keywords) do
vim.fn.matchadd(kw.group, kw.pattern)
end
end,
})
-- Format: whole file or visual selection via :Fc
local function smart_format()
local mode = vim.fn.mode()
+3 -3
View File
@@ -2,10 +2,10 @@ vim.pack.add({
{ src = "https://github.com/ibhagwan/fzf-lua" },
{ src = "https://github.com/neovim/nvim-lspconfig" },
{ src = "https://github.com/romus204/tree-sitter-manager.nvim" },
{ src = "https://github.com/catppuccin/nvim", name = "catppuccin" },
{ src = "https://github.com/tribela/transparent.nvim" }
{ src = "https://github.com/rebelot/kanagawa.nvim" },
{ src = "https://github.com/tribela/transparent.nvim" },
})
vim.cmd(":colorscheme catppuccin-nvim")
vim.cmd(":colorscheme kanagawa")
require("tree-sitter-manager").setup({})