split up the plugins into multiple files
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
function Color(color)
|
function Color(color)
|
||||||
local catppuccin_colors = require('catppuccin.palettes').get_palette('mocha')
|
local catppuccin_colors = require('catppuccin.palettes').get_palette('mocha')
|
||||||
|
|
||||||
color = color or "catppuccin-mocha"
|
|
||||||
vim.cmd.colorscheme(color)
|
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||||
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
|
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
vim.keymap.set('n', '<leader>gs', vim.cmd.Git)
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
print('Test')
|
|
||||||
|
|
||||||
@@ -12,84 +12,4 @@ end
|
|||||||
|
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup({
|
require("lazy").setup("409.plugins")
|
||||||
{ "nvim-lua/plenary.nvim", priority = 100 },
|
|
||||||
{
|
|
||||||
"christoomey/vim-tmux-navigator",
|
|
||||||
lazy = false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"catppuccin/nvim",
|
|
||||||
name = "catppuccin",
|
|
||||||
priority = 90
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-tree-docs",
|
|
||||||
"JoosepAlviste/nvim-ts-context-commentstring",
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ThePrimeagen/harpoon",
|
|
||||||
branch = "harpoon2",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
},
|
|
||||||
"onsails/lspkind.nvim",
|
|
||||||
"mbbill/undotree",
|
|
||||||
"tpope/vim-fugitive",
|
|
||||||
{
|
|
||||||
"nvim-lualine/lualine.nvim",
|
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
||||||
},
|
|
||||||
{ "williamboman/mason.nvim" },
|
|
||||||
"williamboman/mason-lspconfig.nvim",
|
|
||||||
-- LSP Support
|
|
||||||
"neovim/nvim-lspconfig",
|
|
||||||
-- Autocompletion
|
|
||||||
"hrsh7th/nvim-cmp",
|
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
|
||||||
"hrsh7th/cmp-nvim-lsp-signature-help",
|
|
||||||
"hrsh7th/cmp-nvim-lua",
|
|
||||||
"hrsh7th/cmp-buffer",
|
|
||||||
"hrsh7th/cmp-path",
|
|
||||||
"hrsh7th/cmp-cmdline",
|
|
||||||
"L3MON4D3/LuaSnip",
|
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
{
|
|
||||||
"danymat/neogen",
|
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/todo-comments.nvim",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/trouble.nvim",
|
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"stevearc/conform.nvim",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"akinsho/flutter-tools.nvim",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"stevearc/dressing.nvim", -- optional for vim.ui.select
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"RRethy/vim-illuminate",
|
|
||||||
"numToStr/Comment.nvim",
|
|
||||||
{
|
|
||||||
"utilyre/barbecue.nvim",
|
|
||||||
version = "*",
|
|
||||||
dependencies = {
|
|
||||||
"SmiteshP/nvim-navic",
|
|
||||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|||||||
11
lua/409/plugins/comments.lua
Normal file
11
lua/409/plugins/comments.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
"numToStr/Comment.nvim",
|
||||||
|
{
|
||||||
|
"danymat/neogen",
|
||||||
|
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"folke/todo-comments.nvim",
|
||||||
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
|
},
|
||||||
|
}
|
||||||
10
lua/409/plugins/completion.lua
Normal file
10
lua/409/plugins/completion.lua
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
return {
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
"hrsh7th/cmp-nvim-lsp-signature-help",
|
||||||
|
"hrsh7th/cmp-nvim-lua",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
}
|
||||||
6
lua/409/plugins/diagnostics.lua
Normal file
6
lua/409/plugins/diagnostics.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"folke/trouble.nvim",
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
},
|
||||||
|
}
|
||||||
9
lua/409/plugins/extras/init.lua
Normal file
9
lua/409/plugins/extras/init.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"akinsho/flutter-tools.nvim",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"stevearc/dressing.nvim", -- optional for vim.ui.select
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
5
lua/409/plugins/formatting.lua
Normal file
5
lua/409/plugins/formatting.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"stevearc/conform.nvim",
|
||||||
|
},
|
||||||
|
}
|
||||||
13
lua/409/plugins/git.lua
Normal file
13
lua/409/plugins/git.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"tpope/vim-fugitive",
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>gs",
|
||||||
|
vim.cmd.Git,
|
||||||
|
mode = "n",
|
||||||
|
desc = "Open Fugitive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
6
lua/409/plugins/lsp.lua
Normal file
6
lua/409/plugins/lsp.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"onsails/lspkind.nvim",
|
||||||
|
{ "williamboman/mason.nvim" },
|
||||||
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
}
|
||||||
11
lua/409/plugins/navigation.lua
Normal file
11
lua/409/plugins/navigation.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ThePrimeagen/harpoon",
|
||||||
|
branch = "harpoon2",
|
||||||
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
|
},
|
||||||
|
}
|
||||||
14
lua/409/plugins/statusline.lua
Normal file
14
lua/409/plugins/statusline.lua
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"utilyre/barbecue.nvim",
|
||||||
|
version = "*",
|
||||||
|
dependencies = {
|
||||||
|
"SmiteshP/nvim-navic",
|
||||||
|
"nvim-tree/nvim-web-devicons", -- optional dependency
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
11
lua/409/plugins/theme.lua
Normal file
11
lua/409/plugins/theme.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
vim.cmd.colorscheme('catppuccin-mocha')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
}
|
||||||
9
lua/409/plugins/treesitter.lua
Normal file
9
lua/409/plugins/treesitter.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-treesitter/nvim-tree-docs",
|
||||||
|
"JoosepAlviste/nvim-ts-context-commentstring",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
13
lua/409/plugins/util.lua
Normal file
13
lua/409/plugins/util.lua
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"christoomey/vim-tmux-navigator",
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
"mbbill/undotree",
|
||||||
|
"nvim-tree/nvim-web-devicons",
|
||||||
|
"RRethy/vim-illuminate",
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user