📁 files(nvim): convert lazyvim modified plugin files to extra modules
This commit is contained in:
parent
aaa5a22934
commit
e98d41f3e3
19 changed files with 22 additions and 14 deletions
|
@ -41,6 +41,22 @@
|
|||
"plugins.extras.lang.web.html-css",
|
||||
"plugins.extras.lang.web.typescript-extended",
|
||||
"plugins.extras.lang.web.vue",
|
||||
"plugins.extras.lazyvim.bufferline",
|
||||
"plugins.extras.lazyvim.cmp",
|
||||
"plugins.extras.lazyvim.dashboard",
|
||||
"plugins.extras.lazyvim.flash",
|
||||
"plugins.extras.lazyvim.gitsigns",
|
||||
"plugins.extras.lazyvim.lspconfig",
|
||||
"plugins.extras.lazyvim.lualine",
|
||||
"plugins.extras.lazyvim.luasnip",
|
||||
"plugins.extras.lazyvim.mason",
|
||||
"plugins.extras.lazyvim.neo-tree",
|
||||
"plugins.extras.lazyvim.noice",
|
||||
"plugins.extras.lazyvim.nvim-notify",
|
||||
"plugins.extras.lazyvim.persistence",
|
||||
"plugins.extras.lazyvim.spectre",
|
||||
"plugins.extras.lazyvim.telescope",
|
||||
"plugins.extras.lazyvim.which-key",
|
||||
"plugins.extras.linting.eslint-extended",
|
||||
"plugins.extras.lsp.actions-preview",
|
||||
"plugins.extras.lsp.file-operations",
|
||||
|
|
|
@ -9,17 +9,16 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
|||
|
||||
require("lazy").setup({
|
||||
spec = {
|
||||
-- add LazyVim and import its plugins
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
import = "lazyvim.plugins",
|
||||
opts = { colorscheme = "catppuccin" },
|
||||
},
|
||||
{ import = "plugins" },
|
||||
{ import = "lazyvim.plugins.extras.lazyrc" },
|
||||
},
|
||||
defaults = {
|
||||
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
||||
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
|
||||
lazy = true,
|
||||
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
|
||||
-- have outdated releases, which may break your Neovim install.
|
||||
version = false, -- always use the latest git commit
|
||||
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
||||
},
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
return {
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "catppuccin",
|
||||
},
|
||||
}
|
|
@ -5,7 +5,7 @@ return {
|
|||
"folke/persistence.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>qs",
|
||||
"<leader>qS",
|
||||
function()
|
||||
p.save()
|
||||
vim.notify("Session saved", vim.log.levels.INFO, { title = "Persistence" })
|
||||
|
@ -13,7 +13,6 @@ return {
|
|||
desc = "Save Session",
|
||||
},
|
||||
-- stylua: ignore start
|
||||
{ "<leader>qr", function() require("persistence").load({ last = true }) end, desc = "Restore Last Session" },
|
||||
{ "<leader>qt",
|
||||
function()
|
||||
if isActive then
|
Loading…
Add table
Reference in a new issue