nvim: plugin cleanup

This commit is contained in:
Daniel Lundin 2023-02-14 14:08:01 +01:00
parent b319a1cddc
commit cd9de7e9b3
7 changed files with 10 additions and 73 deletions

View file

@ -15,7 +15,7 @@
"hlargs.nvim": { "branch": "main", "commit": "88b925d699fb39633cdda02c24f0b3ba5d0e6964" },
"inc-rename.nvim": { "branch": "main", "commit": "21c23c379342a731a0c90f226601ec0434627b26" },
"indent-blankline.nvim": { "branch": "master", "commit": "8299fe7703dfff4b1752aeed271c3b95281a952d" },
"lazy.nvim": { "branch": "main", "commit": "8aa90c34233f7de420b326de361137a571827d8c" },
"lazy.nvim": { "branch": "main", "commit": "6a18404b7d1c05f0d1f35f7b78bd5c282dff7a89" },
"lsp_lines.nvim": { "branch": "main", "commit": "ec98b45c8280e5ef8c84028d4f38aa447276c002" },
"lspkind-nvim": { "branch": "master", "commit": "c68b3a003483cf382428a43035079f78474cd11e" },
"lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" },
@ -34,7 +34,7 @@
"nvim-lspconfig": { "branch": "master", "commit": "9b8f5260f3e793e2dcb2899e0a5b944667a95cb2" },
"nvim-navic": { "branch": "master", "commit": "7e9d2b2b601149fecdccd11b516acb721e571fe6" },
"nvim-osc52": { "branch": "main", "commit": "27da4724a887dabed3768b41fa51c785cb62ef26" },
"nvim-treesitter": { "branch": "master", "commit": "4db66966720541c2286dc7451be3c8ff9f273bb9" },
"nvim-treesitter": { "branch": "master", "commit": "f475b24c81d64d64ab213a73882b7c4f3bbbf26a" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "fcd764507f723903af5507e141ea593e855b504a" },
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" },

View file

@ -5,10 +5,10 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.runtimepath:prepend(lazypath)
-- require("lazy").setup("plugins")
require("lazy").setup({
spec = {
{ import = "plugins" },
},
import = "plugins",
defaults = { lazy = true },
checker = { enabled = true },
performance = {

View file

@ -50,40 +50,6 @@ return {
opts = { snippet_engine = "luasnip" },
},
{
"ThePrimeagen/refactoring.nvim",
keys = {
{
"<leader>r",
function()
require("refactoring").select_refactor()
end,
mode = "v",
noremap = true,
silent = true,
expr = false,
},
},
opts = {},
},
{
"ThePrimeagen/refactoring.nvim",
keys = {
{
"<leader>r",
function()
require("refactoring").select_refactor()
end,
mode = "v",
noremap = true,
silent = true,
expr = false,
},
},
opts = {},
},
{
"smjonas/inc-rename.nvim",
cmd = "IncRename",

View file

@ -6,6 +6,7 @@ end
local M = {
"nvim-telescope/telescope.nvim",
lazy = false,
dependencies = {
"nvim-lua/popup.nvim",
"nvim-lua/plenary.nvim",

View file

@ -27,6 +27,7 @@ return {
"gomod",
"graphql",
"help",
"hcl",
"html",
"http",
"java",
@ -67,20 +68,16 @@ return {
enable = true,
use_languagetree = true,
},
indent = {
enable = false,
},
context_commentstring = { enable = true, enable_autocmd = false },
playground = {
enable = true,
disable = {},
updatetime = 25,
persist_queries = false,
},
incremental_selection = {
enable = true,
keymaps = {
@ -90,13 +87,11 @@ return {
node_decremental = "sa",
},
},
query_linter = {
enable = true,
use_virtual_text = true,
lint_events = { "BufWrite", "CursorHold" },
},
textobjects = {
move = {
enable = true,

View file

@ -1,24 +0,0 @@
local M = {
"folke/yanky.nvim",
}
function M.config()
require("yanky").setup({
ring = {
history_length = 100,
storage = "memory",
sync_with_numbered_registers = false,
cancel_event = "update",
},
})
vim.keymap.set({ "n", "x" }, "p", "<Plug>(YankyPutAfter)")
vim.keymap.set({ "n", "x" }, "P", "<Plug>(YankyPutBefore)")
vim.keymap.set({ "n", "x" }, "gp", "<Plug>(YankyGPutAfter)")
vim.keymap.set({ "n", "x" }, "gP", "<Plug>(YankyGPutBefore)")
vim.keymap.set("n", "<c-p>", "<Plug>(YankyCycleForward)")
vim.keymap.set("n", "<c-n>", "<Plug>(YankyCycleBackward)")
end
return M

View file

@ -1,8 +1,8 @@
local M = {
"mcchrish/zenbones.nvim",
event = "VeryLazy",
-- event = "VeryLazy",
dependencies = {
"rktjmp/lush.nvim",
{ "rktjmp/lush.nvim" },
},
}
@ -119,15 +119,14 @@ function M.config()
PMenuThumb({ bg = "#64B5F6" }),
StatusLine({ base = base.VertSplit, fg = "#BCAAA4" }),
StatusLineNC({ base = base.VertSplit, fg = "#BCAAA4" }),
TreesitterContext({ bg = "#f0f0f0", fg = "#BCAAA4", gui = "bold,italic" }),
TreesitterContextLineNumber({ bg = "#f0f0f0", fg = "#979770", gui = "bold,italic" }),
}
end)
-- Apply specs using lush tool-chain
vim.cmd("colorscheme zenbones")
lush.apply(lush.compile(specs))
vim.cmd("colorscheme zenbones")
end
return M