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