Compare commits
No commits in common. "4d59d38f43cf48f74b44a8be2ee6df14fd109917" and "59710cda03bd8033afc35d3a25f3ba8f46ee172a" have entirely different histories.
4d59d38f43
...
59710cda03
@ -3,21 +3,19 @@
|
||||
"LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
|
||||
"avante.nvim": { "branch": "main", "commit": "4749e4ea1aff653a9e6f6e542d390e3c7560d161" },
|
||||
"ayu-vim": { "branch": "master", "commit": "01faacb4cb76e8cf72ad9858c581d80876260ab3" },
|
||||
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
|
||||
"calendar-vim": { "branch": "master", "commit": "2083a41e2d310f9bbbbf644517f30e901f1fb04d" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"coc.nvim": { "branch": "release", "commit": "da20bea23b6226e5859a06137b841c6853599f22" },
|
||||
"comfortable-motion.vim": { "branch": "master", "commit": "e20aeafb07c6184727b29f7674530150f7ab2036" },
|
||||
"copilot.lua": { "branch": "master", "commit": "d296017e588215df3f7b5796d1172f0d690fa13c" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
||||
"emmet-vim": { "branch": "master", "commit": "6c511a8d7d2863066f32e25543e2bb99d505172c" },
|
||||
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
|
||||
"fzf-lua": { "branch": "main", "commit": "ac6a34ea39831ec71c14f72075facf377ea9a00d" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "9cd665f46ab7af2e49d140d328b8e72ea1cf511b" },
|
||||
"gruvbox": { "branch": "master", "commit": "f1ecde848f0cdba877acb0c740320568252cc482" },
|
||||
"img-clip.nvim": { "branch": "main", "commit": "24c13df08e3fe66624bed5350a2a780f77f1f65b" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
@ -26,11 +24,9 @@
|
||||
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
||||
"material.vim": { "branch": "main", "commit": "cecac931e8bd9e3d2cbb7c1e24ddb98887176f68" },
|
||||
"mini.pick": { "branch": "main", "commit": "ef479fcfb94b8f5fdbec46d697c18ca113547f3d" },
|
||||
"neogit": { "branch": "master", "commit": "9bb1e73c534f767607e0a888f3de4c942825c501" },
|
||||
"neotest": { "branch": "master", "commit": "dddbe8fe358b05b2b7e54fe4faab50563171a76d" },
|
||||
"nerdtree": { "branch": "master", "commit": "9b465acb2745beb988eff3c1e4aa75f349738230" },
|
||||
"nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "1e1900b0769324a9675ef85b38f99cca29e203b3" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "fb733ac734249ccf293e5c8018981d4d8f59fa8f" },
|
||||
"nvim-luadev": { "branch": "master", "commit": "3ba0c02c378503739f1fdb95cff3ea2aad48db3e" },
|
||||
@ -41,7 +37,6 @@
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"pycodestyle.nvim": { "branch": "master", "commit": "203ff9ffdc832dd125efa94dacf7ce898bbce100" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "d6aaa19913415c653fa38aead4d9867628394510" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
|
||||
"tagbar": { "branch": "master", "commit": "8de7694c0aeda253073098bbc9fb890b2902ddb8" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
|
||||
"unite.vim": { "branch": "master", "commit": "0ccb3f7988d61a9a86525374be97360bd20db6bc" },
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim", -- required
|
||||
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||
|
||||
-- Only one of these is needed.
|
||||
"nvim-telescope/telescope.nvim", -- optional
|
||||
"ibhagwan/fzf-lua", -- optional
|
||||
"echasnovski/mini.pick", -- optional
|
||||
},
|
||||
},
|
||||
{
|
||||
"lewis6991/gitsigns.nvim",
|
||||
init = function ()
|
||||
local gitsigns = require("gitsigns")
|
||||
gitsigns.setup()
|
||||
|
||||
vim.keymap.set('n', '<leader>ph', gitsigns.preview_hunk, { noremap = true, silent = true })
|
||||
|
||||
vim.keymap.set('n', '<leader>sh', gitsigns.stage_hunk, { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<leader>uh', gitsigns.undo_stage_hunk, { noremap = true, silent = true })
|
||||
end,
|
||||
}
|
||||
}
|
||||
@ -78,17 +78,14 @@ return {
|
||||
"powerman/vim-plugin-AnsiEsc",
|
||||
"preservim/tagbar",
|
||||
"liuchengxu/vim-which-key",
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
event = "InsertEnter",
|
||||
config = true
|
||||
},
|
||||
-- "jiangmiao/auto-pairs",
|
||||
"HerringtonDarkholme/yats.vim",
|
||||
"posva/vim-vue",
|
||||
"tpope/vim-fugitive",
|
||||
"dylanaraps/wal.vim",
|
||||
"xuhdev/vim-latex-live-preview",
|
||||
"lervag/vimtex",
|
||||
"airblade/vim-gitgutter",
|
||||
"mattn/emmet-vim",
|
||||
"nvie/vim-flake8",
|
||||
"https://gitlab.com/HiPhish/pycodestyle.nvim",
|
||||
|
||||
@ -1,14 +1,12 @@
|
||||
local lsp_servers = {
|
||||
"lua_ls",
|
||||
"nil_ls", -- nix
|
||||
-- "nil_ls", -- nix
|
||||
"rust_analyzer",
|
||||
"gopls",
|
||||
"pyright",
|
||||
"bashls",
|
||||
"ts_ls",
|
||||
"marksman",
|
||||
"taplo",
|
||||
"yamlls",
|
||||
}
|
||||
|
||||
return {
|
||||
@ -75,19 +73,6 @@ end
|
||||
filetypes = {"python"},
|
||||
})
|
||||
|
||||
lspconfig["rust_analyzer"].setup({
|
||||
capabilities = capabilities,
|
||||
filetypes = {"rust"},
|
||||
settings = {
|
||||
['rust-analyzer'] = {
|
||||
checkOnSave = true,
|
||||
check = {
|
||||
command = "clippy",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- luasnip setup
|
||||
local luasnip = require 'luasnip'
|
||||
|
||||
@ -135,11 +120,6 @@ cmp.setup {
|
||||
},
|
||||
}
|
||||
vim.keymap.set('n', "gd", vim.lsp.buf.definition, { silent = true })
|
||||
vim.keymap.set('n', "ca", vim.lsp.buf.code_action, { silent = true })
|
||||
|
||||
-- Show line diagnostics automatically in hover window
|
||||
vim.o.updatetime = 250
|
||||
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,57 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
priority = 1000,
|
||||
lazy = false,
|
||||
---@type snacks.Config
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
explorer = {
|
||||
enabled = true,
|
||||
replace_netrw = true,
|
||||
},
|
||||
picker = {
|
||||
enabled = true,
|
||||
},
|
||||
matcher = {
|
||||
cwd_bonus = true,
|
||||
ignorecase = true, -- use ignorecase
|
||||
filename_bonus = true, -- give bonus for matching file names (last part of the path)
|
||||
frecency = true, -- frecency bonus
|
||||
history_bonus = true,
|
||||
},
|
||||
},
|
||||
init = function ()
|
||||
local snacks = require('snacks')
|
||||
vim.keymap.set('n', '<leader>e', function ()
|
||||
snacks.picker.explorer()
|
||||
end, { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<leader>f', snacks.picker.files, { noremap = true, silent = true })
|
||||
vim.keymap.set('n', '<leader>g', snacks.picker.grep, { noremap = true, silent = true })
|
||||
end
|
||||
},
|
||||
{
|
||||
'romgrk/barbar.nvim',
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
||||
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
||||
},
|
||||
init = function() vim.g.barbar_auto_setup = false end,
|
||||
opts = {
|
||||
animation = true,
|
||||
sidebar_filetypes = {
|
||||
['snacks_picker_list'] = true
|
||||
}
|
||||
},
|
||||
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
||||
},
|
||||
{
|
||||
"voldikss/vim-floaterm",
|
||||
init = function ()
|
||||
vim.g.floaterm_giteditor = false
|
||||
vim.keymap.set('n', '<leader>cw', '<cmd>:FloatermNew git commit<cr>', { noremap = true, silent = true })
|
||||
end
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user