@@ -13,11 +13,13 @@ vim.opt.rtp:prepend(lazypath)
|
|||||||
|
|
||||||
local lazy = require("lazy")
|
local lazy = require("lazy")
|
||||||
|
|
||||||
|
--- @type LazyPluginSpec[]
|
||||||
local plugins = {
|
local plugins = {
|
||||||
{ import = "taken.plugins" },
|
{ import = "taken.plugins" },
|
||||||
{ import = "taken.plugins.lsp" },
|
{ import = "taken.plugins.lsp" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
--- @type LazyConfig
|
||||||
local opts = {
|
local opts = {
|
||||||
checker = {
|
checker = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"goolord/alpha-nvim",
|
"goolord/alpha-nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"rainbowhxch/beacon.nvim",
|
"rainbowhxch/beacon.nvim",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
version = "*",
|
version = "*",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"laytan/cloak.nvim",
|
"laytan/cloak.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"VonHeikemen/fine-cmdline.nvim",
|
"VonHeikemen/fine-cmdline.nvim",
|
||||||
dependencies = "MunifTanjim/nui.nvim",
|
dependencies = "MunifTanjim/nui.nvim",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec[]
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"JoosepAlviste/palenightfall.nvim",
|
"JoosepAlviste/palenightfall.nvim",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
keys = { "gcc", "gbc", { "gc", mode = "v" }, { "gb", mode = "v" }, "gcO", "gco", "gcA" },
|
keys = { "gcc", "gbc", { "gc", mode = "v" }, { "gb", mode = "v" }, "gcO", "gco", "gcA" },
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"zbirenbaum/copilot.lua",
|
"zbirenbaum/copilot.lua",
|
||||||
cmd = "Copilot",
|
cmd = "Copilot",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
dependencies = "mfussenegger/nvim-dap",
|
dependencies = "mfussenegger/nvim-dap",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"glepnir/dashboard-nvim",
|
"glepnir/dashboard-nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
@@ -81,15 +82,15 @@ return {
|
|||||||
},
|
},
|
||||||
footer = {
|
footer = {
|
||||||
" "
|
" "
|
||||||
.. version
|
.. version
|
||||||
.. " "
|
.. " "
|
||||||
.. plugins_count
|
.. plugins_count
|
||||||
.. " plugins in "
|
.. " plugins in "
|
||||||
.. ms
|
.. ms
|
||||||
.. "ms "
|
.. "ms "
|
||||||
.. date
|
.. date
|
||||||
.. " "
|
.. " "
|
||||||
.. time,
|
.. time,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"j-hui/fidget.nvim",
|
"j-hui/fidget.nvim",
|
||||||
tag = "legacy",
|
tag = "legacy",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"David-Kunz/gen.nvim",
|
"David-Kunz/gen.nvim",
|
||||||
cmd = "Gen",
|
cmd = "Gen",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
main = "ibl",
|
main = "ibl",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"jokajak/keyseer.nvim",
|
"jokajak/keyseer.nvim",
|
||||||
cmd = "KeySeer",
|
cmd = "KeySeer",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
build = function()
|
build = function()
|
||||||
@@ -23,7 +24,7 @@ return {
|
|||||||
"pyright",
|
"pyright",
|
||||||
"powershell_es",
|
"powershell_es",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
"eslint"
|
"eslint",
|
||||||
},
|
},
|
||||||
automatic_installation = true,
|
automatic_installation = true,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
-- "jose-elias-alvarez/null-ls.nvim",
|
-- "jose-elias-alvarez/null-ls.nvim",
|
||||||
"nvimtools/none-ls.nvim",
|
"nvimtools/none-ls.nvim",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"pmizio/typescript-tools.nvim",
|
"pmizio/typescript-tools.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"NeogitOrg/neogit",
|
"NeogitOrg/neogit",
|
||||||
dependencies = "nvim-lua/plenary.nvim",
|
dependencies = "nvim-lua/plenary.nvim",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
build = ":Neorg sync-parsers",
|
build = ":Neorg sync-parsers",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-neo-tree/neo-tree.nvim",
|
"nvim-neo-tree/neo-tree.nvim",
|
||||||
init = function()
|
init = function()
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
@@ -54,16 +55,16 @@ return {
|
|||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
["<C-p>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
["<C-p>"] = cmp.mapping.select_prev_item(), -- previous suggestion
|
||||||
["<C-n>"] = cmp.mapping.select_next_item(), -- next suggestion
|
["<C-n>"] = cmp.mapping.select_next_item(), -- next suggestion
|
||||||
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
["<C-Space>"] = cmp.mapping.complete(), -- show completion suggestions
|
||||||
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
["<CR>"] = cmp.mapping.confirm({ select = false }),
|
||||||
["<Tab>"] = nil,
|
["<Tab>"] = nil,
|
||||||
["<S-Tab>"] = nil,
|
["<S-Tab>"] = nil,
|
||||||
}),
|
}),
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = "nvim_lsp" }, -- lsp
|
{ name = "nvim_lsp" }, -- lsp
|
||||||
{ name = "luasnip" }, -- snippets
|
{ name = "luasnip" }, -- snippets
|
||||||
{ name = "buffer" }, -- text within current buffer
|
{ name = "buffer" }, -- text within current buffer
|
||||||
{ name = "path" }, -- file system paths
|
{ name = "path" }, -- file system paths
|
||||||
}),
|
}),
|
||||||
formatting = {
|
formatting = {
|
||||||
format = lspkind.cmp_format({
|
format = lspkind.cmp_format({
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"michaelrommel/nvim-silicon",
|
"michaelrommel/nvim-silicon",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"ObserverOfTime/nvimcord",
|
"ObserverOfTime/nvimcord",
|
||||||
cmd = "NvimcordUpdate",
|
cmd = "NvimcordUpdate",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"NvChad/nvterm",
|
"NvChad/nvterm",
|
||||||
keys = {
|
keys = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec[]
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"wakatime/vim-wakatime",
|
"wakatime/vim-wakatime",
|
||||||
@@ -5,8 +6,8 @@ return {
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/todo-comments.nvim",
|
"folke/too-comments.nvim",
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
ependencies = { "nvim-lua/plenary.nvim" },
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"TakenMC/presence.nvim",
|
"TakenMC/presence.nvim",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"HiPhish/rainbow-delimiters.nvim",
|
"HiPhish/rainbow-delimiters.nvim",
|
||||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"coffebar/neovim-project",
|
"coffebar/neovim-project",
|
||||||
priority = 100,
|
priority = 100,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-pack/nvim-spectre",
|
"nvim-pack/nvim-spectre",
|
||||||
name = "spectre",
|
name = "spectre",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
tag = "0.1.4",
|
tag = "0.1.4",
|
||||||
@@ -41,10 +42,10 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
fzf = {
|
fzf = {
|
||||||
fuzzy = true, -- false will only do exact matching
|
fuzzy = true, -- false will only do exact matching
|
||||||
override_generic_sorter = true, -- override the generic sorter
|
override_generic_sorter = true, -- override the generic sorter
|
||||||
override_file_sorter = true, -- override the file sorter
|
override_file_sorter = true, -- override the file sorter
|
||||||
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"xiyaowong/transparent.nvim",
|
"xiyaowong/transparent.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
@@ -49,13 +50,13 @@ return {
|
|||||||
enable = true,
|
enable = true,
|
||||||
swap_next = {
|
swap_next = {
|
||||||
["<leader>ma"] = "@parameter.inner", -- swap parameters/argument with next
|
["<leader>ma"] = "@parameter.inner", -- swap parameters/argument with next
|
||||||
["<leader>m:"] = "@property.outer", -- swap object property with next
|
["<leader>m:"] = "@property.outer", -- swap object property with next
|
||||||
["<leader>mm"] = "@function.outer", -- swap function with next
|
["<leader>mm"] = "@function.outer", -- swap function with next
|
||||||
},
|
},
|
||||||
swap_previous = {
|
swap_previous = {
|
||||||
["<leader>mpa"] = "@parameter.inner", -- swap parameters/argument with prev
|
["<leader>mpa"] = "@parameter.inner", -- swap parameters/argument with prev
|
||||||
["<leader>mp:"] = "@property.outer", -- swap object property with prev
|
["<leader>mp:"] = "@property.outer", -- swap object property with prev
|
||||||
["<leader>mpm"] = "@function.outer", -- swap function with previous
|
["<leader>mpm"] = "@function.outer", -- swap function with previous
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
move = {
|
move = {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
--- @type LazyPluginSpec
|
||||||
return {
|
return {
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
init = function()
|
init = function()
|
||||||
|
|||||||
Reference in New Issue
Block a user