chore: update plugin versions and disable automatic lint installation

This commit is contained in:
sankalp committed 2025-09-12 23:45:45 +05:45
1 parent 6d3a60c8dd
commit a2816c42bb
3 files changed
+237 -248

No files matched your search

+4 -4
View File
@@ -7,7 +7,7 @@
"conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" }, "conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
"floaterm": { "branch": "main", "commit": "ae3de018d20dccd9372bbff7137e8a6d6030f69e" }, "floaterm": { "branch": "main", "commit": "ae3de018d20dccd9372bbff7137e8a6d6030f69e" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" }, "gitsigns.nvim": { "branch": "main", "commit": "f780609807eca1f783a36a8a31c30a48fbe150c5" },
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" }, "gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
"harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" }, "harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
@@ -16,7 +16,7 @@
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" }, "markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"markview.nvim": { "branch": "main", "commit": "e6b0f5aee8105adab6077509c46459812db4cffa" }, "markview.nvim": { "branch": "main", "commit": "e6b0f5aee8105adab6077509c46459812db4cffa" },
"mason-conform.nvim": { "branch": "main", "commit": "48da2ebd5efbaf8a99566eadc3ece82d523f03c5" }, "mason-conform.nvim": { "branch": "main", "commit": "48da2ebd5efbaf8a99566eadc3ece82d523f03c5" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "5e085efe67fccb13372d54331d849219662a7e93" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "7f9a39fcd2ac6e979001f857727d606888f5909c" },
"mason-nvim-lint": { "branch": "main", "commit": "767b8ccdddaa977bec8987fd7507b9865a279235" }, "mason-nvim-lint": { "branch": "main", "commit": "767b8ccdddaa977bec8987fd7507b9865a279235" },
"mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" }, "mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" },
"mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" }, "mini.ai": { "branch": "main", "commit": "e139eb1101beb0250fea322f8c07a42f0f175688" },
@@ -30,9 +30,9 @@
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" }, "nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
"nvim-genghis": { "branch": "main", "commit": "cdf584d05ffc9d5c1f247079991552249e4f7487" }, "nvim-genghis": { "branch": "main", "commit": "cdf584d05ffc9d5c1f247079991552249e4f7487" },
"nvim-lint": { "branch": "master", "commit": "f126af5345c7472e9a0cdbe1d1a29209be72c4c4" }, "nvim-lint": { "branch": "master", "commit": "f126af5345c7472e9a0cdbe1d1a29209be72c4c4" },
"nvim-lspconfig": { "branch": "master", "commit": "c8b90ae5cbe21d547b342b05c9266dcb8ca0de8f" }, "nvim-lspconfig": { "branch": "master", "commit": "d89f4891f0720cd2598e4bdd60010d8784b2ac8a" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, "nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" },
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" }, "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
"smartcolumn.nvim": { "branch": "main", "commit": "b9cdbdf42f7ac5a659204cd5926017c7ff724a19" }, "smartcolumn.nvim": { "branch": "main", "commit": "b9cdbdf42f7ac5a659204cd5926017c7ff724a19" },
+43 -43
View File
@@ -1,45 +1,45 @@
return { return {
"mfussenegger/nvim-lint", 'mfussenegger/nvim-lint',
dependencies = { "rshkarin/mason-nvim-lint" }, dependencies = { 'rshkarin/mason-nvim-lint' },
event = { "BufReadPost", "BufNewFile" }, event = { 'BufReadPost', 'BufNewFile' },
keys = { keys = {
{ {
"<leader>L", '<leader>L',
mode = { "n" }, mode = { 'n' },
function() function()
require("lint").try_lint() require('lint').try_lint()
end, end,
desc = "Trigger linting for current file", desc = 'Trigger linting for current file',
}, },
}, },
config = function() config = function()
require("lint").linters_by_ft = { require('lint').linters_by_ft = {
["*"] = { "codespell" }, ['*'] = { 'codespell' },
["javascript"] = { "eslint_d", "cspell" }, ['javascript'] = { 'eslint_d', 'cspell' },
["typescript"] = { "eslint_d", "cspell" }, ['typescript'] = { 'eslint_d', 'cspell' },
["javascriptreact"] = { "eslint_d", "cspell" }, ['javascriptreact'] = { 'eslint_d', 'cspell' },
["typescriptreact"] = { "eslint_d", "cspell" }, ['typescriptreact'] = { 'eslint_d', 'cspell' },
["dockerfile"] = { "hadolint" }, ['dockerfile'] = { 'hadolint' },
["markdown"] = { "write_good", "markdownlint" }, ['markdown'] = { 'write_good', 'markdownlint' },
["text"] = { "write_good" }, ['text'] = { 'write_good' },
["sh"] = { "shellcheck" }, ['sh'] = { 'shellcheck' },
["yaml"] = { "actionlint" }, ['yaml'] = { 'actionlint' },
["python"] = { "ruff" }, ['python'] = { 'ruff' },
} }
require("mason-nvim-lint").setup({ require('mason-nvim-lint').setup({
ensure_installed = { ensure_installed = {
"eslint_d", 'eslint_d',
"hadolint", 'hadolint',
"write_good", 'write_good',
"markdownlint", 'markdownlint',
"shellcheck", 'shellcheck',
"actionlint", 'actionlint',
"djlint", 'djlint',
"ruff", 'ruff',
"codespell", 'codespell',
"cspell", 'cspell',
}, },
automatic_installation = true, automatic_installation = false,
}) })
end, end,
} }
+190 -201
View File
@@ -1,213 +1,202 @@
return { return {
--harpoon --harpoon
{ {
"ThePrimeagen/harpoon", 'ThePrimeagen/harpoon',
branch = "harpoon2", branch = 'harpoon2',
keys = { keys = {
{ {
"<A-1>", '<A-1>',
function() function()
require("harpoon"):list():select(1) require('harpoon'):list():select(1)
end, end,
desc = "buffer j", desc = 'buffer j',
}, },
{ {
"<A-2>", '<A-2>',
function() function()
require("harpoon"):list():select(2) require('harpoon'):list():select(2)
end, end,
desc = "buffer k", desc = 'buffer k',
}, },
{ {
"<A-3>", '<A-3>',
function() function()
require("harpoon"):list():select(3) require('harpoon'):list():select(3)
end, end,
desc = "buffer l", desc = 'buffer l',
}, },
{ {
"<A-4>", '<A-4>',
function() function()
require("harpoon"):list():select(4) require('harpoon'):list():select(4)
end, end,
desc = "buffer ;", desc = 'buffer ;',
}, },
}, },
}, },
-- better escape -- better escape
{ {
"max397574/better-escape.nvim", 'max397574/better-escape.nvim',
config = function() config = function()
require("better_escape").setup({ require('better_escape').setup({
mappings = { mappings = {
-- i for insert, other modes are the first letter too -- i for insert, other modes are the first letter too
i = { i = {
-- map kj to exit insert mode -- map kj to exit insert mode
k = { k = {
j = "<Esc>", j = '<Esc>',
}, },
-- map jk and jj to exit insert mode -- map jk and jj to exit insert mode
j = { j = {
k = "<Esc>", k = '<Esc>',
j = "<Esc>", j = '<Esc>',
}, },
-- disable jj -- disable jj
j = { j = {
j = false, j = false,
}, },
}, },
}, },
}) })
end, end,
}, },
-- Navigator -- Navigator
{ {
"numToStr/Navigator.nvim", 'numToStr/Navigator.nvim',
event = "VeryLazy", event = 'VeryLazy',
config = function() config = function()
require("Navigator").setup({ require('Navigator').setup({
auto_save = "current", auto_save = 'current',
disable_on_zoom = false, disable_on_zoom = false,
mux = "auto", mux = 'auto',
}) })
end, end,
}, },
-- float terminal -- float terminal
{ {
"akinsho/toggleterm.nvim", 'akinsho/toggleterm.nvim',
cmd = { "ToggleTerm" }, cmd = { 'ToggleTerm' },
version = "*", version = '*',
config = function() config = function()
require("toggleterm").setup({ require('toggleterm').setup({
size = 10, size = 10,
open_mapping = [[<c-\>]], open_mapping = [[<c-\>]],
hide_numbers = true, hide_numbers = true,
shade_filetypes = {}, shade_filetypes = {},
shade_terminals = true, shade_terminals = true,
shading_factor = "2", shading_factor = '2',
start_in_insert = true, start_in_insert = true,
insert_mappings = true, insert_mappings = true,
terminal_mappings = true, terminal_mappings = true,
persist_size = true, persist_size = true,
direction = "float", -- Use 'float' for floating terminal windows direction = 'float', -- Use 'float' for floating terminal windows
close_on_exit = true, close_on_exit = true,
shell = vim.o.shell, shell = vim.o.shell,
float_opts = { float_opts = {
border = "curved", -- or 'single', 'double', 'shadow', etc. border = 'curved', -- or 'single', 'double', 'shadow', etc.
winblend = 0, -- Set to 0 for full transparency winblend = 0, -- Set to 0 for full transparency
highlights = { highlights = {
border = "Normal", border = 'Normal',
background = "Normal", background = 'Normal',
}, },
}, },
}) })
end, end,
}, },
{ {
"nvzone/floaterm", 'nvzone/floaterm',
dependencies = "nvzone/volt", dependencies = 'nvzone/volt',
opts = { opts = {
mappings = { mappings = {
term = function(buf) term = function(buf)
vim.keymap.set({ "n", "t" }, "<Tab>", function() vim.keymap.set({ 'n', 't' }, '<Tab>', function()
require("floaterm.api").cycle_term_bufs("prev") require('floaterm.api').cycle_term_bufs('prev')
end, { buffer = buf }) end, { buffer = buf })
end, end,
}, },
}, },
cmd = "FloatermToggle", cmd = 'FloatermToggle',
}, },
-- smooth scrolling -- smooth scrolling
{ {
"karb94/neoscroll.nvim", 'karb94/neoscroll.nvim',
opts = {}, opts = {},
}, },
-- discord presence -- discord presence
-- { -- {
-- "vyfor/cord.nvim", -- "vyfor/cord.nvim",
-- event = "VeryLazy", -- event = "VeryLazy",
-- }, -- },
-- uv -- uv
{ {
"benomahony/uv.nvim", 'benomahony/uv.nvim',
ft = "python", ft = 'python',
event = "BufReadPre", event = 'BufReadPre',
opts = { opts = {
picker_integration = true, picker_integration = true,
keymaps = { keymaps = {
prefix = "<leader>u", -- Main prefix for uv commands prefix = '<leader>u', -- Main prefix for uv commands
commands = true, -- Show uv commands menu (<leader>x) commands = true, -- Show uv commands menu (<leader>x)
run_file = true, -- Run current file (<leader>xr) run_file = true, -- Run current file (<leader>xr)
run_selection = true, -- Run selected code (<leader>xs) run_selection = true, -- Run selected code (<leader>xs)
run_function = true, -- Run function (<leader>xf) run_function = true, -- Run function (<leader>xf)
venv = true, -- Environment management (<leader>xe) venv = true, -- Environment management (<leader>xe)
init = true, -- Initialize uv project (<leader>xi) init = true, -- Initialize uv project (<leader>xi)
add = true, -- Add a package (<leader>xa) add = true, -- Add a package (<leader>xa)
remove = true, -- Remove a package (<leader>xd) remove = true, -- Remove a package (<leader>xd)
sync = true, -- Sync packages (<leader>xc) sync = true, -- Sync packages (<leader>xc)
sync_all = true, -- Sync all packages, extras and groups (<leader>xC) sync_all = true, -- Sync all packages, extras and groups (<leader>xC)
}, },
}, },
}, },
-- Project management { 'wakatime/vim-wakatime', event = 'VimEnter', lazy = false },
{
"ahmedkhalf/project.nvim",
config = function()
require("project_nvim").setup({
detection_methods = { "lsp", "pattern" },
patterns = { ".git", "_darcs", ".hg", ".bzr", ".svn", "Makefile", "package.json" },
})
end,
},
{ "wakatime/vim-wakatime", event = "VimEnter", lazy = false }, -- {
-- "m4xshen/hardtime.nvim",
-- lazy = false,
-- opts = {},
-- },
-- { -- file operations
-- "m4xshen/hardtime.nvim", {
-- lazy = false, 'chrisgrieser/nvim-genghis',
-- opts = {}, keys = {
-- }, {
'<leader>fp',
-- file operations function()
{ require('genghis').createNewFile()
"chrisgrieser/nvim-genghis", end,
keys = { desc = 'New File',
{ },
"<leader>fp", {
function() '<leader>fd',
require("genghis").createNewFile() function()
end, require('genghis').duplicateFile()
desc = "New File", end,
}, desc = 'Duplicate File',
{ },
"<leader>fd", {
function() '<leader>fr',
require("genghis").duplicateFile() function()
end, require('genghis').renameFile()
desc = "Duplicate File", end,
}, desc = 'Rename File',
{ },
"<leader>fr", {
function() '<leader>fx',
require("genghis").renameFile() function()
end, require('genghis').chmodx()
desc = "Rename File", end,
}, desc = 'Make Executable',
{ },
"<leader>fx", },
function() },
require("genghis").chmodx()
end,
desc = "Make Executable",
},
},
},
} }