mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
Updated local config plugins
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
return { -- Mini is so varied it's hard to categorise. So i dumped my mini installs here
|
return { -- Mini is so varied it's hard to categorise. So i dumped my mini installs here
|
||||||
{ -- Collection of various small independent plugins/modules
|
{ -- Collection of various small independent plugins/modules
|
||||||
"echasnovski/mini.nvim",
|
"echasnovski/mini.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
-- Better Around/Inside textobjects
|
-- Better Around/Inside textobjects
|
||||||
@@ -26,6 +26,8 @@ return { -- Mini is so varied it's hard to categorise. So i dumped my mini insta
|
|||||||
INFO = { duration = 3000 },
|
INFO = { duration = 3000 },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require("mini.clue").setup() -- For per-project/dynamic plugin loading
|
||||||
|
|
||||||
-- Some other mini.nvim plugins that look useful to me
|
-- Some other mini.nvim plugins that look useful to me
|
||||||
require("mini.clue").setup()
|
require("mini.clue").setup()
|
||||||
require("mini.visits").setup()
|
require("mini.visits").setup()
|
||||||
|
|||||||
@@ -1,26 +1,29 @@
|
|||||||
return { -- General programming utilities go here
|
return { -- General programming utilities go here
|
||||||
-- Tools for configuration and plugin development
|
-- Tools for configuration and plugin development
|
||||||
{ "folke/neoconf.nvim", cmd = "Neoconf" },
|
|
||||||
{
|
{
|
||||||
"folke/neodev.nvim",
|
"klen/nvim-config-local",
|
||||||
|
lazy = false, -- Load immediately to ensure it catches the initial working directory
|
||||||
opts = {
|
opts = {
|
||||||
override = function(root_dir, library)
|
config_files = { ".nvim.lua", ".nvimrc", ".exrc" },
|
||||||
if
|
hashfile = vim.fn.stdpath("data") .. "/config-local",
|
||||||
root_dir:find(
|
autocommands_create = true,
|
||||||
os.getenv("XDG_CONFIG_HOME")
|
commands_create = true,
|
||||||
.. "/nix/home-manager/core/dotfiles/dot_config/nvim/",
|
silent = false,
|
||||||
1,
|
lookup_parents = false,
|
||||||
true
|
},
|
||||||
) == 1
|
},
|
||||||
then
|
{
|
||||||
library.enabled = true
|
"folke/lazydev.nvim",
|
||||||
library.plugins = true
|
ft = "lua",
|
||||||
end
|
opts = {
|
||||||
end,
|
library = {
|
||||||
|
"~/.config/nvim/",
|
||||||
|
"~/.config/nix/home-manager/core/dotfiles/dot_config/nvim/",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
-- Privilege escalation plugin
|
-- Privilege escalation plugin
|
||||||
{ "lambdalisue/suda.vim", event = "VeryLazy" },
|
{ "lambdalisue/suda.vim", event = "VeryLazy" },
|
||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
cmd = { "Trouble" },
|
cmd = { "Trouble" },
|
||||||
|
|||||||
Reference in New Issue
Block a user