fix(config): new config, it's been a while

This commit is contained in:
devaine 2025-10-26 19:41:13 -05:00
commit 1fe92c532b
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
11 changed files with 385 additions and 0 deletions

84
lua/plugins/dev-utils.lua Normal file
View file

@ -0,0 +1,84 @@
return {
-- Parser that does syntax highlighting
{
"nvim-treesitter/nvim-treesitter",
branch = 'master',
lazy = false,
build = ":TSUpdate",
config = function ()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"lua",
"cpp",
"java",
"javascript",
"bash",
"python",
"typescript",
"css",
"html",
"jsdoc",
"http",
"sql",
"ssh_config",
"json",
"tsx",
"xml",
"yaml",
"nginx",
"gitcommit",
"gitignore",
"cmake"
},
indent = { enable = true },
highlight = { enable = true }
})
end
},
-- Allows pairs for {}, '', "", ()
{
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
opts = {}
},
-- Allows automatic tagging on HTML or JSON (E.g: <div>test</div> )
{
"windwp/nvim-ts-autotag",
config = function()
require("nvim-ts-autotag").setup()
end,
},
-- Provides highlighting on TODO's, E.g:
-- NOTE: This is a note.
-- WARN: This is warning note.
-- TODO: This is a to-do note.
-- FIX: This is a fix note.
-- PERF: This is a performance note.
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("todo-comments").setup()
end,
},
-- Allows highlighting for hexadecimal colors for RGB characters.
-- E.g: #FFFFFF
{
"brenoprata10/nvim-highlight-colors",
config = function()
require("nvim-highlight-colors").setup()
end,
},
-- Shows line(s) indicating indentation.
{
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {},
},
}