refactor(neovim): Rename files, move plugin declarations around, remove

plugins completely

- Removed: dotnet with all related configs & plugins
- Removed: `vim-highlightedyank` replaced with autocommand
- Moved: `indent-blankline` from `code-generic` -> `ui`
- Moved: All javascript plugins to `code-lsp`: WIP
- Moved: `vim-easymotion` from `code-navigation` -> `navigation`
- Renamed: `code-completion` -> `completion`
- Renamed: `code-formatting` -> `formatting`
- Renamed: `code-git` -> `git`
- Renamed: `code-lint` -> `lint`
- Renamed: `navigate-files` -> `navigation`
This commit is contained in:
Pratik Tripathy
2025-07-28 12:54:04 +05:30
parent 532aea9044
commit ae6d1cebb8
13 changed files with 79 additions and 115 deletions

View File

@@ -1,32 +1,6 @@
return {
{ "tpope/vim-repeat" },
-- indent guides for Neovim
{
"lukas-reineke/indent-blankline.nvim",
cond = require("config.util").is_not_vscode(),
opts = {
indent = { char = "", tab_char = "" },
scope = { enabled = false },
exclude = {
filetypes = {
"help",
"alpha",
"dashboard",
"neo-tree",
"Trouble",
"trouble",
"lazy",
"mason",
"notify",
"toggleterm",
"lazyterm",
},
},
},
main = "ibl",
},
-- mini.nvim: Collection of various small independent plugins/modules
{
"echasnovski/mini.nvim",

View File

@@ -81,4 +81,38 @@ return {
require("crates").setup()
end,
},
-- Javascript/Typescript/React/Vue
--
-- Automatically add closing tags for HTML and JSX
{
"windwp/nvim-ts-autotag",
config = function()
require("nvim-ts-autotag").setup()
end,
},
-- Intelligent commenting on JSX
{
"JoosepAlviste/nvim-ts-context-commentstring",
opts = {
options = {
enable_autocmd = false,
},
},
config = function()
vim.g.skip_ts_context_commentstring_module = true
end,
},
-- Highlight colors
{
"brenoprata10/nvim-highlight-colors",
setup = {
enable_tailwind = true,
},
config = function()
require("nvim-highlight-colors").setup()
end,
},
}

View File

@@ -1,8 +0,0 @@
return {
{
"easymotion/vim-easymotion",
keys = {
{ "<leader>j", "<Plug>(easymotion-s)", desc = "Easymotion jump" },
},
},
}

View File

@@ -75,18 +75,7 @@ return {
-- Text object
map({ "o", "x" }, "ih", ":<C-U>Gitsigns select_hunk<CR>", { desc = "Git: Visual select hunk" })
-- Staging
-- Actions
map("n", "<leader>gr", gs.reset_hunk, { desc = "Git: reset hunk" })
map("n", "<leader>gsh", gs.stage_hunk, { desc = "Git: Stage Hunk" })
map("n", "<leader>gsu", gs.undo_stage_hunk, { desc = "Git: Undo Stage Hunk" })
map("n", "<leader>gsb", gs.stage_buffer, { desc = "Git: Stage Current File" })
-- visual mode
map("v", "<leader>gsH", function()
gs.stage_hunk({ vim.fn.line("."), vim.fn.line("v") })
end, { desc = "Git: Visual Stage Hunk" })
-- normal mode
map("n", "<leader>gp", gs.preview_hunk, { desc = "Git: Preview hunk" })
map("n", "<leader>gK", function()

View File

@@ -1,3 +0,0 @@
return {
{ "Hoffs/omnisharp-extended-lsp.nvim", lazy = true },
}

View File

@@ -1,33 +0,0 @@
return {
-- Automatically add closing tags for HTML and JSX
{
"windwp/nvim-ts-autotag",
config = function()
require("nvim-ts-autotag").setup()
end,
},
-- Intelligent commenting on JSX
{
"JoosepAlviste/nvim-ts-context-commentstring",
opts = {
options = {
enable_autocmd = false,
},
},
config = function()
vim.g.skip_ts_context_commentstring_module = true
end,
},
-- Highlight colors
{
"brenoprata10/nvim-highlight-colors",
setup = {
enable_tailwind = true,
},
config = function()
require("nvim-highlight-colors").setup()
end,
},
}

View File

@@ -1,4 +1,10 @@
return {
{
"easymotion/vim-easymotion",
keys = {
{ "<leader>j", "<Plug>(easymotion-s)", desc = "Easymotion jump" },
},
},
-- File Explorer: Neotree
{

View File

@@ -17,8 +17,6 @@ return {
cond = require("config.util").is_not_vscode(),
},
{ "machakann/vim-highlightedyank" },
{
"catppuccin/nvim",
name = "catppuccin",
@@ -307,6 +305,32 @@ return {
end,
},
-- Indent guides for Neovim
{
"lukas-reineke/indent-blankline.nvim",
cond = require("config.util").is_not_vscode(),
opts = {
indent = { char = "", tab_char = "" },
scope = { enabled = false },
exclude = {
filetypes = {
"help",
"alpha",
"dashboard",
"neo-tree",
"Trouble",
"trouble",
"lazy",
"mason",
"notify",
"toggleterm",
"lazyterm",
},
},
},
main = "ibl",
},
-- Better folds
{
"kevinhwang91/nvim-ufo",