feat(neovim): almost perfect neovim setup

This commit is contained in:
mrflos 2024-10-05 12:07:03 +03:00
parent 9c967e206a
commit 8f41f6dabe
2 changed files with 57 additions and 14 deletions

View file

@ -26,13 +26,52 @@ return {
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
},
},
-- {
-- "nvim-treesitter/nvim-treesitter",
-- opts = {
-- ensure_installed = {
-- "vim", "lua", "vimdoc",
-- "html", "css"
-- },
-- },
-- },
{
"nvim-telescope/telescope.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
cmd = "Telescope",
opts = function()
local op = require "nvchad.configs.telescope"
op.defaults.file_ignore_patterns = {
".git",
"cache",
"node_modules",
"vendor",
}
return op
end,
},
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"bash",
"css",
"dockerfile",
"go",
"html",
"javascript",
"json",
"lua",
"make",
"markdown",
"nix",
"php",
"python",
"rust",
"toml",
"tsx",
"typescript",
"twig",
"vim",
"vue",
"yaml",
},
},
},
}