Compare commits
2 Commits
772fea6c51
...
c9bb45dfc4
| Author | SHA1 | Date | |
|---|---|---|---|
| c9bb45dfc4 | |||
| 3c36b5fea4 |
@ -327,6 +327,64 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"dashboard",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("dashboard").setup(opts)
|
||||||
|
end,
|
||||||
|
["dependencies"] = {
|
||||||
|
{
|
||||||
|
"web-devicons",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("nvim-web-devicons").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/nvim-web-devicons",
|
||||||
|
["lazy"] = true,
|
||||||
|
["name"] = "web-devicons",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"persistence",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("persistence").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/persistence.nvim",
|
||||||
|
["lazy"] = true,
|
||||||
|
["name"] = "persistence",
|
||||||
|
["opts"] = { ["options"] = vim.opt.sessionoptions:get() },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/dashboard-nvim",
|
||||||
|
["lazy"] = false,
|
||||||
|
["name"] = "dashboard",
|
||||||
|
["opts"] = {
|
||||||
|
["config"] = {
|
||||||
|
["center"] = {
|
||||||
|
{ ["action"] = "Telescope find_files", ["desc"] = " Find File", ["icon"] = " ", ["key"] = "f" },
|
||||||
|
{ ["action"] = "ene | startinsert", ["desc"] = " New File", ["icon"] = " ", ["key"] = "n" },
|
||||||
|
{ ["action"] = "Telescope oldfiles", ["desc"] = " Recent Files", ["icon"] = " ", ["key"] = "r" },
|
||||||
|
{ ["action"] = "Telescope live_grep", ["desc"] = " Find Text", ["icon"] = " ", ["key"] = "g" },
|
||||||
|
{
|
||||||
|
["action"] = "lua require('persistence').load()",
|
||||||
|
["desc"] = " Restore Session",
|
||||||
|
["icon"] = " ",
|
||||||
|
["key"] = "s",
|
||||||
|
},
|
||||||
|
{ ["action"] = "Lazy", ["desc"] = " Lazy", ["icon"] = " ", ["key"] = "l" },
|
||||||
|
{ ["action"] = "quitall", ["desc"] = " Quit", ["icon"] = " ", ["key"] = "q" },
|
||||||
|
},
|
||||||
|
["footer"] = function()
|
||||||
|
local stats = require("lazy").stats()
|
||||||
|
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
||||||
|
return {
|
||||||
|
"⚡ Neovim loaded " .. stats.loaded .. "/" .. stats.count .. " plugins in " .. ms .. "ms",
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
["disable_move"] = true,
|
||||||
|
["shortcut_type"] = "number",
|
||||||
|
["theme"] = "doom",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"flash",
|
"flash",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
@ -560,7 +618,8 @@ require("lazy").setup({
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/lualine.nvim",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/lualine.nvim",
|
||||||
["lazy"] = false,
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
|
["lazy"] = true,
|
||||||
["name"] = "lualine",
|
["name"] = "lualine",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["extensions"] = { "fzf", "chadtree", "neo-tree", "toggleterm", "trouble" },
|
["extensions"] = { "fzf", "chadtree", "neo-tree", "toggleterm", "trouble" },
|
||||||
@ -604,8 +663,10 @@ require("lazy").setup({
|
|||||||
navic = require("nvim-navic")
|
navic = require("nvim-navic")
|
||||||
navic.setup(opts)
|
navic.setup(opts)
|
||||||
|
|
||||||
-- Register navic with lualine's winbar (NOTE: using incline currently)
|
-- NOTE: Use incline, because the default winbar isn't floating and disappears
|
||||||
-- TODO: The setup function should probably only be ran once
|
-- when leavin the split, which makes the buffer jump
|
||||||
|
-- Register navic with lualine's winbar
|
||||||
|
-- TODO: The setup function should only be ran once
|
||||||
-- require("lualine").setup({
|
-- require("lualine").setup({
|
||||||
-- winbar = {
|
-- winbar = {
|
||||||
-- lualine_c = {
|
-- lualine_c = {
|
||||||
@ -857,7 +918,7 @@ require("lazy").setup({
|
|||||||
require("toggleterm").setup(opts)
|
require("toggleterm").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/toggleterm.nvim",
|
["dir"] = "/home/lab/smchurla/Downloads/flake-nixinator/config/neovim/store/lazy-plugins/toggleterm.nvim",
|
||||||
["keys"] = { "C-/" },
|
["keys"] = { "<C-/>" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "toggleterm",
|
["name"] = "toggleterm",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -869,7 +930,8 @@ require("lazy").setup({
|
|||||||
["insert_mappings"] = true,
|
["insert_mappings"] = true,
|
||||||
["open_mapping"] = [[<C-/>]],
|
["open_mapping"] = [[<C-/>]],
|
||||||
["persist_mode"] = true,
|
["persist_mode"] = true,
|
||||||
["shade_terminals"] = true,
|
["shade_terminals"] = false,
|
||||||
|
["shading_factor"] = 30,
|
||||||
["shell"] = "fish",
|
["shell"] = "fish",
|
||||||
["start_in_insert"] = true,
|
["start_in_insert"] = true,
|
||||||
["terminal_mappings"] = true,
|
["terminal_mappings"] = true,
|
||||||
|
|||||||
@ -72,7 +72,7 @@ vim.cmd([[
|
|||||||
]])
|
]])
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
dev = {
|
dev = {
|
||||||
path = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins",
|
path = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins",
|
||||||
patterns = { "." },
|
patterns = { "." },
|
||||||
fallback = false,
|
fallback = false,
|
||||||
},
|
},
|
||||||
@ -87,7 +87,7 @@ require("lazy").setup({
|
|||||||
colorscheme catppuccin
|
colorscheme catppuccin
|
||||||
]])
|
]])
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/catppuccin-nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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" },
|
||||||
@ -98,7 +98,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-web-devicons",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "web-devicons",
|
||||||
},
|
},
|
||||||
@ -107,7 +107,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-autopairs").setup(opts)
|
require("nvim-autopairs").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-autopairs",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-autopairs",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "autopairs",
|
["name"] = "autopairs",
|
||||||
@ -116,7 +116,7 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
"bbye",
|
"bbye",
|
||||||
["cmd"] = { "Bdelete", "Bwipeout" },
|
["cmd"] = { "Bdelete", "Bwipeout" },
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/vim-bbye",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/vim-bbye",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "bbye",
|
["name"] = "bbye",
|
||||||
},
|
},
|
||||||
@ -125,7 +125,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("better_escape").setup(opts)
|
require("better_escape").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/better-escape.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/better-escape.nvim",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "better-escape",
|
["name"] = "better-escape",
|
||||||
@ -136,7 +136,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("clangd_extensions").setup(opts)
|
require("clangd_extensions").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/clangd_extensions.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-async-path",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/cmp-async-path",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-async-path",
|
["name"] = "cmp-async-path",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-buffer",
|
"cmp-buffer",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-buffer",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-cmdline",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-emoji",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/cmp-emoji",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-emoji",
|
["name"] = "cmp-emoji",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cmp-nvim-lsp",
|
"cmp-nvim-lsp",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-nvim-lsp",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp-nvim-lsp-signature-help",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/cmp_luasnip",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/cmp_luasnip",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp-luasnip",
|
["name"] = "cmp-luasnip",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-cmp",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-cmp",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "cmp",
|
["name"] = "cmp",
|
||||||
@ -276,12 +276,12 @@ require("lazy").setup({
|
|||||||
|
|
||||||
require("ts_context_commentstring").setup(opts)
|
require("ts_context_commentstring").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-ts-context-commentstring",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-ts-context-commentstring",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "ts-context-commentstring",
|
["name"] = "ts-context-commentstring",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/comment.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/comment.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "comment",
|
["name"] = "comment",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -298,7 +298,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("conform").setup(opts)
|
require("conform").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/conform.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/conform.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "conform",
|
["name"] = "conform",
|
||||||
@ -327,12 +327,70 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"dashboard",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("dashboard").setup(opts)
|
||||||
|
end,
|
||||||
|
["dependencies"] = {
|
||||||
|
{
|
||||||
|
"web-devicons",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("nvim-web-devicons").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-web-devicons",
|
||||||
|
["lazy"] = true,
|
||||||
|
["name"] = "web-devicons",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"persistence",
|
||||||
|
["config"] = function(_, opts)
|
||||||
|
require("persistence").setup(opts)
|
||||||
|
end,
|
||||||
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/persistence.nvim",
|
||||||
|
["lazy"] = true,
|
||||||
|
["name"] = "persistence",
|
||||||
|
["opts"] = { ["options"] = vim.opt.sessionoptions:get() },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/dashboard-nvim",
|
||||||
|
["lazy"] = false,
|
||||||
|
["name"] = "dashboard",
|
||||||
|
["opts"] = {
|
||||||
|
["config"] = {
|
||||||
|
["center"] = {
|
||||||
|
{ ["action"] = "Telescope find_files", ["desc"] = " Find File", ["icon"] = " ", ["key"] = "f" },
|
||||||
|
{ ["action"] = "ene | startinsert", ["desc"] = " New File", ["icon"] = " ", ["key"] = "n" },
|
||||||
|
{ ["action"] = "Telescope oldfiles", ["desc"] = " Recent Files", ["icon"] = " ", ["key"] = "r" },
|
||||||
|
{ ["action"] = "Telescope live_grep", ["desc"] = " Find Text", ["icon"] = " ", ["key"] = "g" },
|
||||||
|
{
|
||||||
|
["action"] = "lua require('persistence').load()",
|
||||||
|
["desc"] = " Restore Session",
|
||||||
|
["icon"] = " ",
|
||||||
|
["key"] = "s",
|
||||||
|
},
|
||||||
|
{ ["action"] = "Lazy", ["desc"] = " Lazy", ["icon"] = " ", ["key"] = "l" },
|
||||||
|
{ ["action"] = "quitall", ["desc"] = " Quit", ["icon"] = " ", ["key"] = "q" },
|
||||||
|
},
|
||||||
|
["footer"] = function()
|
||||||
|
local stats = require("lazy").stats()
|
||||||
|
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
||||||
|
return {
|
||||||
|
"⚡ Neovim loaded " .. stats.loaded .. "/" .. stats.count .. " plugins in " .. ms .. "ms",
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
["disable_move"] = true,
|
||||||
|
["shortcut_type"] = "number",
|
||||||
|
["theme"] = "doom",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"flash",
|
"flash",
|
||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("flash").setup(opts)
|
require("flash").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/flash.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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",
|
||||||
@ -345,7 +403,7 @@ require("lazy").setup({
|
|||||||
vim.g[k] = v
|
vim.g[k] = v
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/git-messenger.vim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/git-messenger.vim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "gitmessenger",
|
["name"] = "gitmessenger",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -358,7 +416,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("gitsigns").setup(opts)
|
require("gitsigns").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/gitsigns.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/gitsigns.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "gitsigns",
|
["name"] = "gitsigns",
|
||||||
@ -366,7 +424,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"haskell-tools",
|
"haskell-tools",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/haskell-tools.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/haskell-tools.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "haskell-tools",
|
["name"] = "haskell-tools",
|
||||||
},
|
},
|
||||||
@ -375,7 +433,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("illuminate").configure(opts)
|
require("illuminate").configure(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/vim-illuminate",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/vim-illuminate",
|
||||||
["event"] = { "BufreadPost", "BufNewFile" },
|
["event"] = { "BufreadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "illuminate",
|
["name"] = "illuminate",
|
||||||
@ -395,7 +453,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"intellitab",
|
"intellitab",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/intellitab.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/intellitab.nvim",
|
||||||
["event"] = { "InsertEnter" },
|
["event"] = { "InsertEnter" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "intellitab",
|
["name"] = "intellitab",
|
||||||
@ -405,7 +463,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-lastplace").setup(opts)
|
require("nvim-lastplace").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-lastplace",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-lastplace",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "lastplace",
|
["name"] = "lastplace",
|
||||||
},
|
},
|
||||||
@ -415,12 +473,12 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/lazygit.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/lazygit.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lazygit",
|
["name"] = "lazygit",
|
||||||
},
|
},
|
||||||
@ -433,7 +491,7 @@ require("lazy").setup({
|
|||||||
lint[k] = v
|
lint[k] = v
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-lint",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-lint",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lint",
|
["name"] = "lint",
|
||||||
@ -536,12 +594,12 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("lazydev").setup(opts)
|
require("lazydev").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/vimplugin-nvim-lazydev",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/vimplugin-nvim-lazydev",
|
||||||
["ft"] = { "lua" },
|
["ft"] = { "lua" },
|
||||||
["name"] = "lazydev",
|
["name"] = "lazydev",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-lspconfig",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-lspconfig",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "lspconfig",
|
["name"] = "lspconfig",
|
||||||
@ -559,8 +617,9 @@ require("lazy").setup({
|
|||||||
unhide = false,
|
unhide = false,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/lualine.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/lualine.nvim",
|
||||||
["lazy"] = false,
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
|
["lazy"] = true,
|
||||||
["name"] = "lualine",
|
["name"] = "lualine",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
["extensions"] = { "fzf", "chadtree", "neo-tree", "toggleterm", "trouble" },
|
["extensions"] = { "fzf", "chadtree", "neo-tree", "toggleterm", "trouble" },
|
||||||
@ -586,7 +645,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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/luasnip",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/luasnip",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "luasnip",
|
["name"] = "luasnip",
|
||||||
},
|
},
|
||||||
@ -604,8 +663,10 @@ require("lazy").setup({
|
|||||||
navic = require("nvim-navic")
|
navic = require("nvim-navic")
|
||||||
navic.setup(opts)
|
navic.setup(opts)
|
||||||
|
|
||||||
-- Register navic with lualine's winbar (NOTE: using incline currently)
|
-- NOTE: Use incline, because the default winbar isn't floating and disappears
|
||||||
-- TODO: The setup function should probably only be ran once
|
-- when leavin the split, which makes the buffer jump
|
||||||
|
-- Register navic with lualine's winbar
|
||||||
|
-- TODO: The setup function should only be ran once
|
||||||
-- require("lualine").setup({
|
-- require("lualine").setup({
|
||||||
-- winbar = {
|
-- winbar = {
|
||||||
-- lualine_c = {
|
-- lualine_c = {
|
||||||
@ -621,7 +682,7 @@ require("lazy").setup({
|
|||||||
-- }
|
-- }
|
||||||
-- })
|
-- })
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-navic",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-navic",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "navic",
|
["name"] = "navic",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -632,7 +693,7 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-navbuddy",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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" } },
|
||||||
@ -646,7 +707,7 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
@ -655,18 +716,18 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("nvim-web-devicons").setup(opts)
|
require("nvim-web-devicons").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-web-devicons",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-web-devicons",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "web-devicons",
|
["name"] = "web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nui",
|
"nui",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nui.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nui.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "nui",
|
["name"] = "nui",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/neo-tree.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/neo-tree.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "neo-tree",
|
["name"] = "neo-tree",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -709,18 +770,18 @@ require("lazy").setup({
|
|||||||
vim.notify = require("notify")
|
vim.notify = require("notify")
|
||||||
require("notify").setup(opts)
|
require("notify").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-notify",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-notify",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "notify",
|
["name"] = "notify",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nui",
|
"nui",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nui.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nui.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "nui",
|
["name"] = "nui",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/noice.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/noice.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "noice",
|
["name"] = "noice",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -758,25 +819,25 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rainbow-delimiters",
|
"rainbow-delimiters",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/rainbow-delimiters.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/rainbow-delimiters.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "rainbow-delimiters",
|
["name"] = "rainbow-delimiters",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rustaceanvim",
|
"rustaceanvim",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/rustaceanvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/rustaceanvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "rustaceanvim",
|
["name"] = "rustaceanvim",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sandwich",
|
"sandwich",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/vim-sandwich",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/vim-sandwich",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "sandwich",
|
["name"] = "sandwich",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sleuth",
|
"sleuth",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/vim-sleuth",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/vim-sleuth",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "sleuth",
|
["name"] = "sleuth",
|
||||||
},
|
},
|
||||||
@ -794,30 +855,30 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-fzf-native",
|
"telescope-fzf-native",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/telescope-fzf-native.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/telescope-undo.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/telescope-undo.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-undo",
|
["name"] = "telescope-undo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"telescope-ui-select",
|
"telescope-ui-select",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/telescope-ui-select.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/telescope-ui-select.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope-ui-select",
|
["name"] = "telescope-ui-select",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/telescope.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/telescope.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "telescope",
|
["name"] = "telescope",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -840,12 +901,12 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"plenary",
|
"plenary",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/plenary.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/plenary.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "plenary",
|
["name"] = "plenary",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/todo-comments.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/todo-comments.nvim",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "todo-comments",
|
["name"] = "todo-comments",
|
||||||
@ -856,8 +917,8 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("toggleterm").setup(opts)
|
require("toggleterm").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/toggleterm.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/toggleterm.nvim",
|
||||||
["keys"] = { "C-/" },
|
["keys"] = { "<C-/>" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "toggleterm",
|
["name"] = "toggleterm",
|
||||||
["opts"] = {
|
["opts"] = {
|
||||||
@ -869,7 +930,8 @@ require("lazy").setup({
|
|||||||
["insert_mappings"] = true,
|
["insert_mappings"] = true,
|
||||||
["open_mapping"] = [[<C-/>]],
|
["open_mapping"] = [[<C-/>]],
|
||||||
["persist_mode"] = true,
|
["persist_mode"] = true,
|
||||||
["shade_terminals"] = true,
|
["shade_terminals"] = false,
|
||||||
|
["shading_factor"] = 30,
|
||||||
["shell"] = "fish",
|
["shell"] = "fish",
|
||||||
["start_in_insert"] = true,
|
["start_in_insert"] = true,
|
||||||
["terminal_mappings"] = true,
|
["terminal_mappings"] = true,
|
||||||
@ -887,7 +949,7 @@ require("lazy").setup({
|
|||||||
|
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-treesitter",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-treesitter",
|
||||||
["event"] = { "BufReadPost", "BufNewFile" },
|
["event"] = { "BufReadPost", "BufNewFile" },
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "treesitter",
|
["name"] = "treesitter",
|
||||||
@ -912,7 +974,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("trim").setup(opts)
|
require("trim").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/trim.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/trim.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "trim",
|
["name"] = "trim",
|
||||||
},
|
},
|
||||||
@ -922,7 +984,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("trouble").setup(opts)
|
require("trouble").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/trouble.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/trouble.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "trouble",
|
["name"] = "trouble",
|
||||||
},
|
},
|
||||||
@ -934,12 +996,12 @@ require("lazy").setup({
|
|||||||
["dependencies"] = {
|
["dependencies"] = {
|
||||||
{
|
{
|
||||||
"promise",
|
"promise",
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/promise-async",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/promise-async",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "promise",
|
["name"] = "promise",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/nvim-ufo",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/nvim-ufo",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "ufo",
|
["name"] = "ufo",
|
||||||
},
|
},
|
||||||
@ -948,7 +1010,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/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/which-key.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/which-key.nvim",
|
||||||
["lazy"] = false,
|
["lazy"] = false,
|
||||||
["name"] = "which-key",
|
["name"] = "which-key",
|
||||||
["priority"] = 500,
|
["priority"] = 500,
|
||||||
@ -959,7 +1021,7 @@ require("lazy").setup({
|
|||||||
["config"] = function(_, opts)
|
["config"] = function(_, opts)
|
||||||
require("yanky").setup(opts)
|
require("yanky").setup(opts)
|
||||||
end,
|
end,
|
||||||
["dir"] = "/nix/store/3c3iq1px7hriyhc3ihk3rl3nnvkrxa92-lazy-plugins/yanky.nvim",
|
["dir"] = "/nix/store/q1yhbib07zkkwjkj8m741506982vsgfc-lazy-plugins/yanky.nvim",
|
||||||
["lazy"] = true,
|
["lazy"] = true,
|
||||||
["name"] = "yanky",
|
["name"] = "yanky",
|
||||||
},
|
},
|
||||||
|
|||||||
@ -132,8 +132,6 @@ in {
|
|||||||
keymaps = import ./keybinds.nix {inherit lib mylib;};
|
keymaps = import ./keybinds.nix {inherit lib mylib;};
|
||||||
|
|
||||||
# TODO: Incremental LSP rename
|
# TODO: Incremental LSP rename
|
||||||
# TODO: Dashboard
|
|
||||||
# TODO: Configure lazy-loading correctly with handlers
|
|
||||||
plugins.lazy = {
|
plugins.lazy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@ -470,6 +468,95 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_persistence = {
|
||||||
|
name = "persistence";
|
||||||
|
pkg = pkgs.vimPlugins.persistence-nvim;
|
||||||
|
lazy = true;
|
||||||
|
config = ''
|
||||||
|
function(_, opts)
|
||||||
|
require("persistence").setup(opts);
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
opts = {
|
||||||
|
options.__raw = "vim.opt.sessionoptions:get()";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dashboard = {
|
||||||
|
name = "dashboard";
|
||||||
|
pkg = pkgs.vimPlugins.dashboard-nvim;
|
||||||
|
dependencies = [
|
||||||
|
_web-devicons
|
||||||
|
_persistence
|
||||||
|
];
|
||||||
|
lazy = false;
|
||||||
|
config = ''
|
||||||
|
function(_, opts)
|
||||||
|
require("dashboard").setup(opts)
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
opts = {
|
||||||
|
theme = "doom";
|
||||||
|
disable_move = true;
|
||||||
|
shortcut_type = "number";
|
||||||
|
|
||||||
|
config = {
|
||||||
|
center = [
|
||||||
|
{
|
||||||
|
action = "Telescope find_files";
|
||||||
|
desc = " Find File";
|
||||||
|
icon = " ";
|
||||||
|
key = "f";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "ene | startinsert";
|
||||||
|
desc = " New File";
|
||||||
|
icon = " ";
|
||||||
|
key = "n";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "Telescope oldfiles";
|
||||||
|
desc = " Recent Files";
|
||||||
|
icon = " ";
|
||||||
|
key = "r";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "Telescope live_grep";
|
||||||
|
desc = " Find Text";
|
||||||
|
icon = " ";
|
||||||
|
key = "g";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "lua require('persistence').load()";
|
||||||
|
desc = " Restore Session";
|
||||||
|
icon = " ";
|
||||||
|
key = "s";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "Lazy";
|
||||||
|
desc = " Lazy";
|
||||||
|
icon = " ";
|
||||||
|
key = "l";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
action = "quitall";
|
||||||
|
desc = " Quit";
|
||||||
|
icon = " ";
|
||||||
|
key = "q";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
footer.__raw = ''
|
||||||
|
function()
|
||||||
|
local stats = require("lazy").stats()
|
||||||
|
local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
|
||||||
|
return { "⚡ Neovim loaded " .. stats.loaded .. "/" .. stats.count .. " plugins in " .. ms .. "ms" }
|
||||||
|
end,
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
flash = {
|
flash = {
|
||||||
name = "flash";
|
name = "flash";
|
||||||
pkg = pkgs.vimPlugins.flash-nvim;
|
pkg = pkgs.vimPlugins.flash-nvim;
|
||||||
@ -602,8 +689,10 @@ in {
|
|||||||
navic = require("nvim-navic")
|
navic = require("nvim-navic")
|
||||||
navic.setup(opts)
|
navic.setup(opts)
|
||||||
|
|
||||||
-- Register navic with lualine's winbar (NOTE: using incline currently)
|
-- NOTE: Use incline, because the default winbar isn't floating and disappears
|
||||||
-- TODO: The setup function should probably only be ran once
|
-- when leavin the split, which makes the buffer jump
|
||||||
|
-- Register navic with lualine's winbar
|
||||||
|
-- TODO: The setup function should only be ran once
|
||||||
-- require("lualine").setup({
|
-- require("lualine").setup({
|
||||||
-- winbar = {
|
-- winbar = {
|
||||||
-- lualine_c = {
|
-- lualine_c = {
|
||||||
@ -873,7 +962,8 @@ in {
|
|||||||
lualine = {
|
lualine = {
|
||||||
name = "lualine";
|
name = "lualine";
|
||||||
pkg = pkgs.vimPlugins.lualine-nvim;
|
pkg = pkgs.vimPlugins.lualine-nvim;
|
||||||
lazy = false;
|
lazy = true;
|
||||||
|
event = ["BufReadPost" "BufNewFile"];
|
||||||
config = ''
|
config = ''
|
||||||
function(_, opts)
|
function(_, opts)
|
||||||
local lualine = require("lualine")
|
local lualine = require("lualine")
|
||||||
@ -1217,7 +1307,8 @@ in {
|
|||||||
opts = {
|
opts = {
|
||||||
open_mapping.__raw = "[[<C-/>]]";
|
open_mapping.__raw = "[[<C-/>]]";
|
||||||
hide_numbers = true;
|
hide_numbers = true;
|
||||||
shade_terminals = true;
|
shade_terminals = false;
|
||||||
|
shading_factor = 30; # Default is -30 to darken the terminal
|
||||||
start_in_insert = true;
|
start_in_insert = true;
|
||||||
terminal_mappings = true;
|
terminal_mappings = true;
|
||||||
persist_mode = true;
|
persist_mode = true;
|
||||||
@ -1439,6 +1530,7 @@ in {
|
|||||||
# colorizer # TODO: Only colorize html/css/scss/sass...
|
# colorizer # TODO: Only colorize html/css/scss/sass...
|
||||||
comment
|
comment
|
||||||
conform
|
conform
|
||||||
|
dashboard
|
||||||
flash
|
flash
|
||||||
gitmessenger
|
gitmessenger
|
||||||
gitsigns
|
gitsigns
|
||||||
@ -1481,12 +1573,6 @@ in {
|
|||||||
# enable = true;
|
# enable = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# Dashboard
|
|
||||||
# dashboard = {
|
|
||||||
# enable = true;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# TODO: Figure out how diff-mode works...
|
# TODO: Figure out how diff-mode works...
|
||||||
# diffview = {
|
# diffview = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user