feat(nvim): tweak lazy.nvim
This commit is contained in:
@@ -16,7 +16,6 @@ M = {
|
|||||||
mode = "symbol",
|
mode = "symbol",
|
||||||
maxwidth = 50,
|
maxwidth = 50,
|
||||||
ellipsis_char = "...",
|
ellipsis_char = "...",
|
||||||
symbol_map = { Codeium = "" },
|
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
snippet = {
|
snippet = {
|
||||||
@@ -53,7 +52,6 @@ M = {
|
|||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
{ name = "luasnip" },
|
{ name = "luasnip" },
|
||||||
-- { name = "codeium" },
|
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
}, {
|
}, {
|
||||||
{ name = "buffer" },
|
{ name = "buffer" },
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
M = {}
|
|
||||||
|
|
||||||
return M
|
|
||||||
@@ -50,14 +50,14 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
url = "https://gitlab.com/HiPhish/rainbow-delimiters.nvim",
|
url = "https://gitlab.com/HiPhish/rainbow-delimiters.nvim",
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.rainbow-delimiters")
|
require("plugins.rainbow-delimiters")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
event = "BufEnter",
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("ibl").setup(require("plugins.indent-blankline"))
|
require("ibl").setup(require("plugins.indent-blankline"))
|
||||||
end,
|
end,
|
||||||
@@ -65,7 +65,7 @@ local plugins = {
|
|||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = { "hrsh7th/cmp-nvim-lsp" },
|
dependencies = { "hrsh7th/cmp-nvim-lsp" },
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.lsp.lspconfig")
|
require("plugins.lsp.lspconfig")
|
||||||
require("plugins.lsp.others")
|
require("plugins.lsp.others")
|
||||||
@@ -113,9 +113,7 @@ local plugins = {
|
|||||||
"MysticalDevil/inlay-hints.nvim",
|
"MysticalDevil/inlay-hints.nvim",
|
||||||
event = "LspAttach",
|
event = "LspAttach",
|
||||||
dependencies = { "neovim/nvim-lspconfig" },
|
dependencies = { "neovim/nvim-lspconfig" },
|
||||||
config = function()
|
opts = {}
|
||||||
require("inlay-hints").setup()
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hedyhli/outline.nvim",
|
"hedyhli/outline.nvim",
|
||||||
@@ -126,7 +124,7 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
event = "BufEnter",
|
event = "InsertEnter",
|
||||||
dependencies = { { "rafamadriz/friendly-snippets", lazy = true } },
|
dependencies = { { "rafamadriz/friendly-snippets", lazy = true } },
|
||||||
build = "make install_jsregexp",
|
build = "make install_jsregexp",
|
||||||
config = function()
|
config = function()
|
||||||
@@ -143,21 +141,19 @@ local plugins = {
|
|||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-path",
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
},
|
},
|
||||||
event = "BufEnter",
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
require("cmp").setup(require("plugins.cmp.cmp"))
|
require("cmp").setup(require("plugins.cmp.cmp"))
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
opts = {}
|
||||||
require("Comment").setup(require("plugins.comment"))
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
event = "BufEnter",
|
event = "InsertEnter",
|
||||||
dependencies = { "hrsh7th/nvim-cmp" },
|
dependencies = { "hrsh7th/nvim-cmp" },
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-autopairs").setup(require("plugins.autopairs"))
|
require("nvim-autopairs").setup(require("plugins.autopairs"))
|
||||||
@@ -171,14 +167,13 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("gitsigns").setup(require("plugins.gitsigns"))
|
require("gitsigns").setup(require("plugins.gitsigns"))
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
tag = "0.1.2",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim", "BurntSushi/ripgrep" },
|
dependencies = { "nvim-lua/plenary.nvim", "BurntSushi/ripgrep" },
|
||||||
config = function()
|
config = function()
|
||||||
require("telescope").setup(require("plugins.telescope"))
|
require("telescope").setup(require("plugins.telescope"))
|
||||||
@@ -220,12 +215,12 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/todo-comments.nvim",
|
"folke/todo-comments.nvim",
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ojroques/nvim-osc52",
|
"ojroques/nvim-osc52",
|
||||||
event = "BufEnter",
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("osc52").setup({
|
require("osc52").setup({
|
||||||
tmux_passthrough = true,
|
tmux_passthrough = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user