Refresh generated nvim config
This commit is contained in:
@ -94,51 +94,51 @@ require("lazy").setup({
|
|||||||
["priority"] = 1000,
|
["priority"] = 1000,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"autopairs",
|
"nvim-autopairs",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-autopairs").setup(opts)
|
require("nvim-autopairs").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-autopairs",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-autopairs",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "autopairs",
|
["name"] = "nvim-autopairs",
|
||||||
["opts"] = { ["check_ts"] = true },
|
["opts"] = { ["check_ts"] = true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"bbye",
|
"vim-bbye",
|
||||||
["cmd"] = { "Bdelete", "Bwipeout" },
|
["cmd"] = { "Bdelete", "Bwipeout" },
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vim-bbye",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vim-bbye",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "bbye",
|
["name"] = "vim-bbye",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"better-escape",
|
"better_escape",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("better_escape").setup(opts)
|
require("better_escape").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/better-escape.nvim",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/better-escape.nvim",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "better-escape",
|
["name"] = "better_escape",
|
||||||
["opts"] = { ["mapping"] = { "jk" }, ["timeout"] = 200 },
|
["opts"] = { ["mapping"] = { "jk" }, ["timeout"] = 200 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"clangd-extensions",
|
"clangd_extensions",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("clangd_extensions").setup(opts)
|
require("clangd_extensions").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/clangd_extensions.nvim",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/clangd_extensions.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "clangd-extensions",
|
["name"] = "clangd_extensions",
|
||||||
["opts"] = { ["inlay_hints"] = { ["inline"] = false } },
|
["opts"] = { ["inlay_hints"] = { ["inline"] = false } },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -186,10 +186,10 @@ require("lazy").setup({
|
|||||||
["name"] = "cmp-nvim-lsp-signature-help",
|
["name"] = "cmp-nvim-lsp-signature-help",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-luasnip",
|
"cmp_luasnip",
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/cmp_luasnip",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/cmp_luasnip",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-luasnip",
|
["name"] = "cmp_luasnip",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-cmp",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-cmp",
|
||||||
@ -263,27 +263,28 @@ require("lazy").setup({
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"comment",
|
"Comment",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("Comment").setup(opts)
|
require("Comment").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"ts-context-commentstring",
|
"ts_context_commentstring",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
-- Skip compatibility checks
|
|
||||||
vim.g.skip_ts_context_commentstring_module = true
|
|
||||||
|
|
||||||
require("ts_context_commentstring").setup(opts)
|
require("ts_context_commentstring").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-ts-context-commentstring",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-ts-context-commentstring",
|
||||||
|
["init"] = function()
|
||||||
|
-- Skip compatibility checks
|
||||||
|
vim.g.skip_ts_context_commentstring_module = true
|
||||||
|
end,
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "ts-context-commentstring",
|
["name"] = "ts_context_commentstring",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/comment.nvim",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/comment.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "comment",
|
["name"] = "Comment",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["mappings"] = { ["basic"] = true, ["extra"] = false },
|
["mappings"] = { ["basic"] = true, ["extra"] = false },
|
||||||
["opleader"] = { ["block"] = "<C-b>", ["line"] = "<C-c>" },
|
["opleader"] = { ["block"] = "<C-b>", ["line"] = "<C-c>" },
|
||||||
@ -334,16 +335,17 @@ require("lazy").setup({
|
|||||||
end,
|
end,
|
||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"persisted",
|
"persisted",
|
||||||
|
["cmd"] = { "SessionSave", "SessionDelete", "Telescope persisted" },
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("persisted").setup(opts)
|
require("persisted").setup(opts)
|
||||||
|
|
||||||
@ -408,7 +410,7 @@ require("lazy").setup({
|
|||||||
["name"] = "persisted",
|
["name"] = "persisted",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["autoload"] = false,
|
["autoload"] = false,
|
||||||
["autosave"] = true,
|
["autosave"] = false,
|
||||||
["follow_cwd"] = true,
|
["follow_cwd"] = true,
|
||||||
["ignored_dirs"] = { "/", "~/", "~/Projects/" },
|
["ignored_dirs"] = { "/", "~/", "~/Projects/" },
|
||||||
["silent"] = false,
|
["silent"] = false,
|
||||||
@ -455,6 +457,12 @@ require("lazy").setup({
|
|||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "diffview",
|
["name"] = "diffview",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"direnv",
|
||||||
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/direnv.vim",
|
||||||
|
["lazy"] = false,
|
||||||
|
["name"] = "direnv",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"flash",
|
"flash",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
@ -468,18 +476,17 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"gitmessenger",
|
"gitmessenger",
|
||||||
["cmd"] = { "GitMessenger" },
|
["cmd"] = { "GitMessenger" },
|
||||||
["config"] = function(_, opts)
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/git-messenger.vim",
|
||||||
for k, v in pairs(opts) do
|
["init"] = function()
|
||||||
|
for k, v in pairs({
|
||||||
|
["git_messenger_floating_win_opts"] = { ["border"] = "rounded" },
|
||||||
|
["git_messenger_no_default_mappings"] = true,
|
||||||
|
}) do
|
||||||
vim.g[k] = v
|
vim.g[k] = v
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/git-messenger.vim",
|
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "gitmessenger",
|
["name"] = "gitmessenger",
|
||||||
["opts"] = {
|
|
||||||
["git_messenger_floating_win_opts"] = { ["border"] = "rounded" },
|
|
||||||
["git_messenger_no_default_mappings"] = true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"gitsigns",
|
"gitsigns",
|
||||||
@ -529,13 +536,13 @@ require("lazy").setup({
|
|||||||
["name"] = "intellitab",
|
["name"] = "intellitab",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lastplace",
|
"nvim-lastplace",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-lastplace").setup(opts)
|
require("nvim-lastplace").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-lastplace",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-lastplace",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "lastplace",
|
["name"] = "nvim-lastplace",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lazygit",
|
"lazygit",
|
||||||
@ -794,13 +801,13 @@ require("lazy").setup({
|
|||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nui",
|
"nui",
|
||||||
@ -820,7 +827,7 @@ require("lazy").setup({
|
|||||||
["filesystem"] = {
|
["filesystem"] = {
|
||||||
["bind_to_cwd"] = true,
|
["bind_to_cwd"] = true,
|
||||||
["cwd_target"] = { ["sidebar"] = "global" },
|
["cwd_target"] = { ["sidebar"] = "global" },
|
||||||
["filtered_items"] = { ["visible"] = true },
|
["filtered_items"] = { ["visible"] = false },
|
||||||
["follow_current_file"] = { ["enabled"] = true, ["leave_dirs_open"] = false },
|
["follow_current_file"] = { ["enabled"] = true, ["leave_dirs_open"] = false },
|
||||||
},
|
},
|
||||||
["open_files_do_not_replace_types"] = { "terminal", "trouble", "qf" },
|
["open_files_do_not_replace_types"] = { "terminal", "trouble", "qf" },
|
||||||
@ -828,10 +835,13 @@ require("lazy").setup({
|
|||||||
["use_default_mappings"] = false,
|
["use_default_mappings"] = false,
|
||||||
["window"] = {
|
["window"] = {
|
||||||
["mappings"] = {
|
["mappings"] = {
|
||||||
|
["."] = "set_root",
|
||||||
["/"] = "fuzzy_finder",
|
["/"] = "fuzzy_finder",
|
||||||
["<CR>"] = "open",
|
["<CR>"] = "open",
|
||||||
["<Esc>"] = "cancel",
|
["<Esc>"] = "cancel",
|
||||||
|
[">"] = "navigate_up",
|
||||||
["?"] = "show_help",
|
["?"] = "show_help",
|
||||||
|
["H"] = "toggle_hidden",
|
||||||
["R"] = "refresh",
|
["R"] = "refresh",
|
||||||
["a"] = "add",
|
["a"] = "add",
|
||||||
["c"] = "close_node",
|
["c"] = "close_node",
|
||||||
@ -856,8 +866,10 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"notify",
|
"notify",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
vim.notify = require("notify")
|
local notify = require("notify")
|
||||||
require("notify").setup(opts)
|
|
||||||
|
notify.setup(opts)
|
||||||
|
vim.notify = notify -- Vim uses notify by default
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-notify",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-notify",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
@ -958,6 +970,12 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"sandwich",
|
"sandwich",
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vim-sandwich",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vim-sandwich",
|
||||||
|
["init"] = function()
|
||||||
|
-- Disable default keymaps
|
||||||
|
vim.g.sandwich_no_default_key_mappings = 1
|
||||||
|
vim.g.operator_sandwich_no_default_key_mappings = 1
|
||||||
|
vim.g.textobj_sandwich_no_default_key_mappings = 1
|
||||||
|
end,
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "sandwich",
|
["name"] = "sandwich",
|
||||||
},
|
},
|
||||||
@ -1064,7 +1082,7 @@ require("lazy").setup({
|
|||||||
["autochdir"] = true,
|
["autochdir"] = true,
|
||||||
["close_on_exit"] = true,
|
["close_on_exit"] = true,
|
||||||
["direction"] = "horizontal",
|
["direction"] = "horizontal",
|
||||||
["float_opts"] = { ["border"] = "curved", ["height"] = 20, ["width"] = 80, ["winblend"] = 0 },
|
["float_opts"] = { ["border"] = "curved", ["height"] = 35, ["width"] = 80, ["winblend"] = 0 },
|
||||||
["hide_numbers"] = true,
|
["hide_numbers"] = true,
|
||||||
["insert_mappings"] = true,
|
["insert_mappings"] = true,
|
||||||
["open_mapping"] = [[<C-/>]],
|
["open_mapping"] = [[<C-/>]],
|
||||||
@ -1080,16 +1098,17 @@ require("lazy").setup({
|
|||||||
"treesitter",
|
"treesitter",
|
||||||
["cmd"] = { "TSModuleInfo" },
|
["cmd"] = { "TSModuleInfo" },
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-treesitter",
|
||||||
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
|
["init"] = function()
|
||||||
-- Fix treesitter grammars/parsers on nix
|
-- Fix treesitter grammars/parsers on nix
|
||||||
vim.opt.runtimepath:append(
|
vim.opt.runtimepath:append(
|
||||||
"/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/nvim-treesitter"
|
"/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/nvim-treesitter"
|
||||||
)
|
)
|
||||||
vim.opt.runtimepath:append("/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/treesitter-parsers")
|
vim.opt.runtimepath:append("/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/treesitter-parsers")
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-treesitter",
|
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "treesitter",
|
["name"] = "treesitter",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -1146,10 +1165,10 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"vimtex",
|
"vimtex",
|
||||||
["config"] = function(_, opts)
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vimtex",
|
||||||
|
["init"] = function()
|
||||||
vim.g.vimtex_view_method = "zathura"
|
vim.g.vimtex_view_method = "zathura"
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/vimtex",
|
|
||||||
["name"] = "vimtex",
|
["name"] = "vimtex",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1361,12 +1380,6 @@ do
|
|||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Open project" },
|
["options"] = { ["desc"] = "Open project" },
|
||||||
},
|
},
|
||||||
{
|
|
||||||
["action"] = "<cmd>Telescope persisted<cr>",
|
|
||||||
["key"] = "<leader>s",
|
|
||||||
["mode"] = "n",
|
|
||||||
["options"] = { ["desc"] = "Restore session" },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
["action"] = "<cmd>Telescope vim_options<cr>",
|
["action"] = "<cmd>Telescope vim_options<cr>",
|
||||||
["key"] = "<leader>o",
|
["key"] = "<leader>o",
|
||||||
@ -1448,6 +1461,25 @@ do
|
|||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Quit forcefully" },
|
["options"] = { ["desc"] = "Quit forcefully" },
|
||||||
},
|
},
|
||||||
|
{ ["action"] = "+session", ["key"] = "<leader>s", ["mode"] = "n" },
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>Telescope persisted<cr>",
|
||||||
|
["key"] = "<leader>sl",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Restore session" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>SessionSave<cr>",
|
||||||
|
["key"] = "<leader>ss",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Save session" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>SessionDelete<cr>",
|
||||||
|
["key"] = "<leader>sd",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Delete current session" },
|
||||||
|
},
|
||||||
{ ["action"] = "+buffers", ["key"] = "<leader>b", ["mode"] = "n" },
|
{ ["action"] = "+buffers", ["key"] = "<leader>b", ["mode"] = "n" },
|
||||||
{
|
{
|
||||||
["action"] = "<cmd>Telescope buffers<cr>",
|
["action"] = "<cmd>Telescope buffers<cr>",
|
||||||
@ -1659,7 +1691,7 @@ do
|
|||||||
["options"] = { ["desc"] = "Show diagnostics" },
|
["options"] = { ["desc"] = "Show diagnostics" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
["action"] = ":IncRename ",
|
["action"] = "<cmd>lua vim.lsp.buf.rename()<cr>",
|
||||||
["key"] = "<leader>cr",
|
["key"] = "<leader>cr",
|
||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Rename LSP symbol" },
|
["options"] = { ["desc"] = "Rename LSP symbol" },
|
||||||
|
|||||||
@ -72,7 +72,7 @@ vim.cmd([[
|
|||||||
]])
|
]])
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
dev = {
|
dev = {
|
||||||
path = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins",
|
path = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins",
|
||||||
patterns = { "." },
|
patterns = { "." },
|
||||||
fallback = false,
|
fallback = false,
|
||||||
},
|
},
|
||||||
@ -87,58 +87,58 @@ require("lazy").setup({
|
|||||||
colorscheme catppuccin
|
colorscheme catppuccin
|
||||||
]])
|
]])
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/catppuccin-nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/catppuccin-nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "catppuccin",
|
["name"] = "catppuccin",
|
||||||
["opts"] = { ["background"] = { ["dark"] = "mocha", ["light"] = "latte" }, ["flavour"] = "mocha" },
|
["opts"] = { ["background"] = { ["dark"] = "mocha", ["light"] = "latte" }, ["flavour"] = "mocha" },
|
||||||
["priority"] = 1000,
|
["priority"] = 1000,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-web-devicons",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"autopairs",
|
"nvim-autopairs",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-autopairs").setup(opts)
|
require("nvim-autopairs").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-autopairs",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-autopairs",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "autopairs",
|
["name"] = "nvim-autopairs",
|
||||||
["opts"] = { ["check_ts"] = true },
|
["opts"] = { ["check_ts"] = true },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"bbye",
|
"vim-bbye",
|
||||||
["cmd"] = { "Bdelete", "Bwipeout" },
|
["cmd"] = { "Bdelete", "Bwipeout" },
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vim-bbye",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vim-bbye",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "bbye",
|
["name"] = "vim-bbye",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"better-escape",
|
"better_escape",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("better_escape").setup(opts)
|
require("better_escape").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/better-escape.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/better-escape.nvim",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "better-escape",
|
["name"] = "better_escape",
|
||||||
["opts"] = { ["mapping"] = { "jk" }, ["timeout"] = 200 },
|
["opts"] = { ["mapping"] = { "jk" }, ["timeout"] = 200 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"clangd-extensions",
|
"clangd_extensions",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("clangd_extensions").setup(opts)
|
require("clangd_extensions").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/clangd_extensions.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/clangd_extensions.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "clangd-extensions",
|
["name"] = "clangd_extensions",
|
||||||
["opts"] = { ["inlay_hints"] = { ["inline"] = false } },
|
["opts"] = { ["inlay_hints"] = { ["inline"] = false } },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -149,50 +149,50 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"cmp-async-path",
|
"cmp-async-path",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-async-path",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-async-path",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-async-path",
|
["name"] = "cmp-async-path",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-buffer",
|
"cmp-buffer",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-buffer",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-buffer",
|
||||||
["enabled"] = false,
|
["enabled"] = false,
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-buffer",
|
["name"] = "cmp-buffer",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-cmdline",
|
"cmp-cmdline",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-cmdline",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-cmdline",
|
||||||
["enabled"] = false,
|
["enabled"] = false,
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-cmdline",
|
["name"] = "cmp-cmdline",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-emoji",
|
"cmp-emoji",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-emoji",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-emoji",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-emoji",
|
["name"] = "cmp-emoji",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-nvim-lsp",
|
"cmp-nvim-lsp",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-nvim-lsp",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-nvim-lsp",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-nvim-lsp",
|
["name"] = "cmp-nvim-lsp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-nvim-lsp-signature-help",
|
"cmp-nvim-lsp-signature-help",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp-nvim-lsp-signature-help",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp-nvim-lsp-signature-help",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-nvim-lsp-signature-help",
|
["name"] = "cmp-nvim-lsp-signature-help",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-luasnip",
|
"cmp_luasnip",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/cmp_luasnip",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/cmp_luasnip",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-luasnip",
|
["name"] = "cmp_luasnip",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-cmp",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-cmp",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp",
|
["name"] = "cmp",
|
||||||
@ -263,27 +263,28 @@ require("lazy").setup({
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"comment",
|
"Comment",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("Comment").setup(opts)
|
require("Comment").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"ts-context-commentstring",
|
"ts_context_commentstring",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
-- Skip compatibility checks
|
|
||||||
vim.g.skip_ts_context_commentstring_module = true
|
|
||||||
|
|
||||||
require("ts_context_commentstring").setup(opts)
|
require("ts_context_commentstring").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-ts-context-commentstring",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-ts-context-commentstring",
|
||||||
|
["init"] = function()
|
||||||
|
-- Skip compatibility checks
|
||||||
|
vim.g.skip_ts_context_commentstring_module = true
|
||||||
|
end,
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "ts-context-commentstring",
|
["name"] = "ts_context_commentstring",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/comment.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/comment.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "comment",
|
["name"] = "Comment",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["mappings"] = { ["basic"] = true, ["extra"] = false },
|
["mappings"] = { ["basic"] = true, ["extra"] = false },
|
||||||
["opleader"] = { ["block"] = "<C-b>", ["line"] = "<C-c>" },
|
["opleader"] = { ["block"] = "<C-b>", ["line"] = "<C-c>" },
|
||||||
@ -298,7 +299,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("conform").setup(opts)
|
require("conform").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/conform.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/conform.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "conform",
|
["name"] = "conform",
|
||||||
@ -334,16 +335,17 @@ require("lazy").setup({
|
|||||||
end,
|
end,
|
||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-web-devicons",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"persisted",
|
"persisted",
|
||||||
|
["cmd"] = { "SessionSave", "SessionDelete", "Telescope persisted" },
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("persisted").setup(opts)
|
require("persisted").setup(opts)
|
||||||
|
|
||||||
@ -364,30 +366,30 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-fzf-native",
|
"telescope-fzf-native",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-fzf-native.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-fzf-native.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-fzf-native",
|
["name"] = "telescope-fzf-native",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-undo",
|
"telescope-undo",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-undo.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-undo.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-undo",
|
["name"] = "telescope-undo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-ui-select",
|
"telescope-ui-select",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-ui-select.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-ui-select.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-ui-select",
|
["name"] = "telescope-ui-select",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope",
|
["name"] = "telescope",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -403,12 +405,12 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/persisted.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/persisted.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "persisted",
|
["name"] = "persisted",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["autoload"] = false,
|
["autoload"] = false,
|
||||||
["autosave"] = true,
|
["autosave"] = false,
|
||||||
["follow_cwd"] = true,
|
["follow_cwd"] = true,
|
||||||
["ignored_dirs"] = { "/", "~/", "~/Projects/" },
|
["ignored_dirs"] = { "/", "~/", "~/Projects/" },
|
||||||
["silent"] = false,
|
["silent"] = false,
|
||||||
@ -416,7 +418,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/dashboard-nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/dashboard-nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "dashboard",
|
["name"] = "dashboard",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -451,16 +453,22 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"diffview",
|
"diffview",
|
||||||
["cmd"] = { "DiffviewOpen" },
|
["cmd"] = { "DiffviewOpen" },
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/diffview.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/diffview.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "diffview",
|
["name"] = "diffview",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"direnv",
|
||||||
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/direnv.vim",
|
||||||
|
["lazy"] = false,
|
||||||
|
["name"] = "direnv",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"flash",
|
"flash",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("flash").setup(opts)
|
require("flash").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/flash.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/flash.nvim",
|
||||||
["keys"] = { "s", "S", "f", "F", "t", "T" },
|
["keys"] = { "s", "S", "f", "F", "t", "T" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "flash",
|
["name"] = "flash",
|
||||||
@ -468,25 +476,24 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"gitmessenger",
|
"gitmessenger",
|
||||||
["cmd"] = { "GitMessenger" },
|
["cmd"] = { "GitMessenger" },
|
||||||
["config"] = function(_, opts)
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/git-messenger.vim",
|
||||||
for k, v in pairs(opts) do
|
["init"] = function()
|
||||||
|
for k, v in pairs({
|
||||||
|
["git_messenger_floating_win_opts"] = { ["border"] = "rounded" },
|
||||||
|
["git_messenger_no_default_mappings"] = true,
|
||||||
|
}) do
|
||||||
vim.g[k] = v
|
vim.g[k] = v
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/git-messenger.vim",
|
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "gitmessenger",
|
["name"] = "gitmessenger",
|
||||||
["opts"] = {
|
|
||||||
["git_messenger_floating_win_opts"] = { ["border"] = "rounded" },
|
|
||||||
["git_messenger_no_default_mappings"] = true,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"gitsigns",
|
"gitsigns",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("gitsigns").setup(opts)
|
require("gitsigns").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/gitsigns.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/gitsigns.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "gitsigns",
|
["name"] = "gitsigns",
|
||||||
@ -494,7 +501,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"haskell-tools",
|
"haskell-tools",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/haskell-tools.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/haskell-tools.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "haskell-tools",
|
["name"] = "haskell-tools",
|
||||||
},
|
},
|
||||||
@ -503,7 +510,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("illuminate").configure(opts)
|
require("illuminate").configure(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vim-illuminate",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vim-illuminate",
|
||||||
["event"] = { "BufreadPost", "BufNewFile" },
|
["event"] = { "BufreadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "illuminate",
|
["name"] = "illuminate",
|
||||||
@ -523,19 +530,19 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"intellitab",
|
"intellitab",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/intellitab.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/intellitab.nvim",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "intellitab",
|
["name"] = "intellitab",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lastplace",
|
"nvim-lastplace",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-lastplace").setup(opts)
|
require("nvim-lastplace").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-lastplace",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-lastplace",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "lastplace",
|
["name"] = "nvim-lastplace",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lazygit",
|
"lazygit",
|
||||||
@ -543,12 +550,12 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/lazygit.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/lazygit.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lazygit",
|
["name"] = "lazygit",
|
||||||
},
|
},
|
||||||
@ -561,7 +568,7 @@ require("lazy").setup({
|
|||||||
lint[k] = v
|
lint[k] = v
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-lint",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-lint",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lint",
|
["name"] = "lint",
|
||||||
@ -664,12 +671,12 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("lazydev").setup(opts)
|
require("lazydev").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vimplugin-nvim-lazydev",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vimplugin-nvim-lazydev",
|
||||||
["ft"] = { "lua" },
|
["ft"] = { "lua" },
|
||||||
["name"] = "lazydev",
|
["name"] = "lazydev",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-lspconfig",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-lspconfig",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lspconfig",
|
["name"] = "lspconfig",
|
||||||
@ -687,7 +694,7 @@ require("lazy").setup({
|
|||||||
unhide = false,
|
unhide = false,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/lualine.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/lualine.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lualine",
|
["name"] = "lualine",
|
||||||
@ -715,7 +722,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("luasnip").config.set_config(opts)
|
require("luasnip").config.set_config(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/luasnip",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/luasnip",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "luasnip",
|
["name"] = "luasnip",
|
||||||
},
|
},
|
||||||
@ -727,7 +734,7 @@ require("lazy").setup({
|
|||||||
vim.keymap.del("x", "<space>nr")
|
vim.keymap.del("x", "<space>nr")
|
||||||
vim.keymap.del("n", "<space>nr")
|
vim.keymap.del("n", "<space>nr")
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/NrrwRgn",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/NrrwRgn",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "narrow-region",
|
["name"] = "narrow-region",
|
||||||
},
|
},
|
||||||
@ -764,7 +771,7 @@ require("lazy").setup({
|
|||||||
-- }
|
-- }
|
||||||
-- })
|
-- })
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-navic",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-navic",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "navic",
|
["name"] = "navic",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -775,7 +782,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-navbuddy",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-navbuddy",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "navbuddy",
|
["name"] = "navbuddy",
|
||||||
["opts"] = { ["lsp"] = { ["auto_attach"] = true }, ["window"] = { ["border"] = "rounded" } },
|
["opts"] = { ["lsp"] = { ["auto_attach"] = true }, ["window"] = { ["border"] = "rounded" } },
|
||||||
@ -789,27 +796,27 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"web-devicons",
|
"nvim-web-devicons",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-web-devicons",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nui",
|
"nui",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nui.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nui.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "nui",
|
["name"] = "nui",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/neo-tree.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/neo-tree.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "neo-tree",
|
["name"] = "neo-tree",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -820,7 +827,7 @@ require("lazy").setup({
|
|||||||
["filesystem"] = {
|
["filesystem"] = {
|
||||||
["bind_to_cwd"] = true,
|
["bind_to_cwd"] = true,
|
||||||
["cwd_target"] = { ["sidebar"] = "global" },
|
["cwd_target"] = { ["sidebar"] = "global" },
|
||||||
["filtered_items"] = { ["visible"] = true },
|
["filtered_items"] = { ["visible"] = false },
|
||||||
["follow_current_file"] = { ["enabled"] = true, ["leave_dirs_open"] = false },
|
["follow_current_file"] = { ["enabled"] = true, ["leave_dirs_open"] = false },
|
||||||
},
|
},
|
||||||
["open_files_do_not_replace_types"] = { "terminal", "trouble", "qf" },
|
["open_files_do_not_replace_types"] = { "terminal", "trouble", "qf" },
|
||||||
@ -828,10 +835,13 @@ require("lazy").setup({
|
|||||||
["use_default_mappings"] = false,
|
["use_default_mappings"] = false,
|
||||||
["window"] = {
|
["window"] = {
|
||||||
["mappings"] = {
|
["mappings"] = {
|
||||||
|
["."] = "set_root",
|
||||||
["/"] = "fuzzy_finder",
|
["/"] = "fuzzy_finder",
|
||||||
["<CR>"] = "open",
|
["<CR>"] = "open",
|
||||||
["<Esc>"] = "cancel",
|
["<Esc>"] = "cancel",
|
||||||
|
[">"] = "navigate_up",
|
||||||
["?"] = "show_help",
|
["?"] = "show_help",
|
||||||
|
["H"] = "toggle_hidden",
|
||||||
["R"] = "refresh",
|
["R"] = "refresh",
|
||||||
["a"] = "add",
|
["a"] = "add",
|
||||||
["c"] = "close_node",
|
["c"] = "close_node",
|
||||||
@ -856,21 +866,23 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"notify",
|
"notify",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
vim.notify = require("notify")
|
local notify = require("notify")
|
||||||
require("notify").setup(opts)
|
|
||||||
|
notify.setup(opts)
|
||||||
|
vim.notify = notify -- Vim uses notify by default
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-notify",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-notify",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "notify",
|
["name"] = "notify",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nui",
|
"nui",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nui.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nui.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "nui",
|
["name"] = "nui",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/noice.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/noice.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "noice",
|
["name"] = "noice",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -908,13 +920,13 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rainbow-delimiters",
|
"rainbow-delimiters",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/rainbow-delimiters.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/rainbow-delimiters.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "rainbow-delimiters",
|
["name"] = "rainbow-delimiters",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rustaceanvim",
|
"rustaceanvim",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/rustaceanvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/rustaceanvim",
|
||||||
["init"] = function()
|
["init"] = function()
|
||||||
vim.g.rustaceanvim = {
|
vim.g.rustaceanvim = {
|
||||||
tools = {
|
tools = {
|
||||||
@ -957,13 +969,19 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sandwich",
|
"sandwich",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vim-sandwich",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vim-sandwich",
|
||||||
|
["init"] = function()
|
||||||
|
-- Disable default keymaps
|
||||||
|
vim.g.sandwich_no_default_key_mappings = 1
|
||||||
|
vim.g.operator_sandwich_no_default_key_mappings = 1
|
||||||
|
vim.g.textobj_sandwich_no_default_key_mappings = 1
|
||||||
|
end,
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "sandwich",
|
["name"] = "sandwich",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sleuth",
|
"sleuth",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vim-sleuth",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vim-sleuth",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "sleuth",
|
["name"] = "sleuth",
|
||||||
},
|
},
|
||||||
@ -981,30 +999,30 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-fzf-native",
|
"telescope-fzf-native",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-fzf-native.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-fzf-native.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-fzf-native",
|
["name"] = "telescope-fzf-native",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-undo",
|
"telescope-undo",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-undo.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-undo.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-undo",
|
["name"] = "telescope-undo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-ui-select",
|
"telescope-ui-select",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope-ui-select.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope-ui-select.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-ui-select",
|
["name"] = "telescope-ui-select",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/telescope.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/telescope.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope",
|
["name"] = "telescope",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -1027,12 +1045,12 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/todo-comments.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/todo-comments.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "todo-comments",
|
["name"] = "todo-comments",
|
||||||
@ -1055,7 +1073,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("toggleterm").setup(opts)
|
require("toggleterm").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/toggleterm.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/toggleterm.nvim",
|
||||||
["keys"] = { "<C-/>" },
|
["keys"] = { "<C-/>" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "toggleterm",
|
["name"] = "toggleterm",
|
||||||
@ -1064,7 +1082,7 @@ require("lazy").setup({
|
|||||||
["autochdir"] = true,
|
["autochdir"] = true,
|
||||||
["close_on_exit"] = true,
|
["close_on_exit"] = true,
|
||||||
["direction"] = "horizontal",
|
["direction"] = "horizontal",
|
||||||
["float_opts"] = { ["border"] = "curved", ["height"] = 20, ["width"] = 80, ["winblend"] = 0 },
|
["float_opts"] = { ["border"] = "curved", ["height"] = 35, ["width"] = 80, ["winblend"] = 0 },
|
||||||
["hide_numbers"] = true,
|
["hide_numbers"] = true,
|
||||||
["insert_mappings"] = true,
|
["insert_mappings"] = true,
|
||||||
["open_mapping"] = [[<C-/>]],
|
["open_mapping"] = [[<C-/>]],
|
||||||
@ -1080,16 +1098,17 @@ require("lazy").setup({
|
|||||||
"treesitter",
|
"treesitter",
|
||||||
["cmd"] = { "TSModuleInfo" },
|
["cmd"] = { "TSModuleInfo" },
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-treesitter",
|
||||||
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
|
["init"] = function()
|
||||||
-- Fix treesitter grammars/parsers on nix
|
-- Fix treesitter grammars/parsers on nix
|
||||||
vim.opt.runtimepath:append(
|
vim.opt.runtimepath:append(
|
||||||
"/nix/store/dks5shbpaksflcsig4dspi8vs9a06yqw-vimplugin-nvim-treesitter-2024-05-28"
|
"/nix/store/dks5shbpaksflcsig4dspi8vs9a06yqw-vimplugin-nvim-treesitter-2024-05-28"
|
||||||
)
|
)
|
||||||
vim.opt.runtimepath:append("/nix/store/774ydms06ccrb8zybw2y045ajgs9l7jk-treesitter-parsers")
|
vim.opt.runtimepath:append("/nix/store/774ydms06ccrb8zybw2y045ajgs9l7jk-treesitter-parsers")
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-treesitter",
|
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "treesitter",
|
["name"] = "treesitter",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -1113,7 +1132,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("trim").setup(opts)
|
require("trim").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/trim.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/trim.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "trim",
|
["name"] = "trim",
|
||||||
},
|
},
|
||||||
@ -1123,7 +1142,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("trouble").setup(opts)
|
require("trouble").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/trouble.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/trouble.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "trouble",
|
["name"] = "trouble",
|
||||||
},
|
},
|
||||||
@ -1135,21 +1154,21 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"promise",
|
"promise",
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/promise-async",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/promise-async",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "promise",
|
["name"] = "promise",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/nvim-ufo",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/nvim-ufo",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "ufo",
|
["name"] = "ufo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"vimtex",
|
"vimtex",
|
||||||
["config"] = function(_, opts)
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/vimtex",
|
||||||
|
["init"] = function()
|
||||||
vim.g.vimtex_view_method = "zathura"
|
vim.g.vimtex_view_method = "zathura"
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/vimtex",
|
|
||||||
["name"] = "vimtex",
|
["name"] = "vimtex",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1157,7 +1176,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("which-key").setup(opts)
|
require("which-key").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/which-key.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/which-key.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "which-key",
|
["name"] = "which-key",
|
||||||
["priority"] = 500,
|
["priority"] = 500,
|
||||||
@ -1168,7 +1187,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("winshift").setup(opts)
|
require("winshift").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/winshift.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/winshift.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "winshift",
|
["name"] = "winshift",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -1185,7 +1204,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("yanky").setup(opts)
|
require("yanky").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/b8r3kziagfi17ikh7w7id7r4xd1482yy-lazy-plugins/yanky.nvim",
|
["dir"] = "/nix/store/2yczanf6fxmgr08mnlm8ba0bafsyz3fa-lazy-plugins/yanky.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "yanky",
|
["name"] = "yanky",
|
||||||
},
|
},
|
||||||
@ -1361,12 +1380,6 @@ do
|
|||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Open project" },
|
["options"] = { ["desc"] = "Open project" },
|
||||||
},
|
},
|
||||||
{
|
|
||||||
["action"] = "<cmd>Telescope persisted<cr>",
|
|
||||||
["key"] = "<leader>s",
|
|
||||||
["mode"] = "n",
|
|
||||||
["options"] = { ["desc"] = "Restore session" },
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
["action"] = "<cmd>Telescope vim_options<cr>",
|
["action"] = "<cmd>Telescope vim_options<cr>",
|
||||||
["key"] = "<leader>o",
|
["key"] = "<leader>o",
|
||||||
@ -1448,6 +1461,25 @@ do
|
|||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Quit forcefully" },
|
["options"] = { ["desc"] = "Quit forcefully" },
|
||||||
},
|
},
|
||||||
|
{ ["action"] = "+session", ["key"] = "<leader>s", ["mode"] = "n" },
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>Telescope persisted<cr>",
|
||||||
|
["key"] = "<leader>sl",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Restore session" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>SessionSave<cr>",
|
||||||
|
["key"] = "<leader>ss",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Save session" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
["action"] = "<cmd>SessionDelete<cr>",
|
||||||
|
["key"] = "<leader>sd",
|
||||||
|
["mode"] = "n",
|
||||||
|
["options"] = { ["desc"] = "Delete current session" },
|
||||||
|
},
|
||||||
{ ["action"] = "+buffers", ["key"] = "<leader>b", ["mode"] = "n" },
|
{ ["action"] = "+buffers", ["key"] = "<leader>b", ["mode"] = "n" },
|
||||||
{
|
{
|
||||||
["action"] = "<cmd>Telescope buffers<cr>",
|
["action"] = "<cmd>Telescope buffers<cr>",
|
||||||
@ -1659,7 +1691,7 @@ do
|
|||||||
["options"] = { ["desc"] = "Show diagnostics" },
|
["options"] = { ["desc"] = "Show diagnostics" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
["action"] = ":IncRename ",
|
["action"] = "<cmd>lua vim.lsp.buf.rename()<cr>",
|
||||||
["key"] = "<leader>cr",
|
["key"] = "<leader>cr",
|
||||||
["mode"] = "n",
|
["mode"] = "n",
|
||||||
["options"] = { ["desc"] = "Rename LSP symbol" },
|
["options"] = { ["desc"] = "Rename LSP symbol" },
|
||||||
|
|||||||
Reference in New Issue
Block a user