Added config for catppuccin
This commit is contained in:
@@ -1,203 +1,203 @@
|
|||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
"--filter=blob:none",
|
"--filter=blob:none",
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
"--branch=stable", -- latest stable release
|
"--branch=stable", -- latest stable release
|
||||||
lazypath,
|
lazypath,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
local lazy = require("lazy")
|
local lazy = require("lazy")
|
||||||
|
|
||||||
local plugins = {
|
local plugins = {
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
},
|
},
|
||||||
{ "folke/tokyonight.nvim", priority = 1000, lazy = true},
|
{ "folke/tokyonight.nvim", priority = 1000, lazy = true },
|
||||||
{ "Mofiqul/dracula.nvim", priority = 1000, lazy = true},
|
{ "Mofiqul/dracula.nvim", priority = 1000, lazy = true },
|
||||||
{ "roflolilolmao/oceanic-next.nvim", priority = 1000, lazy = true},
|
{ "roflolilolmao/oceanic-next.nvim", priority = 1000, lazy = true },
|
||||||
{ "olimorris/onedarkpro.nvim", priority = 1000, lazy = true},
|
{ "olimorris/onedarkpro.nvim", priority = 1000, lazy = true },
|
||||||
{ "NTBBloodbath/doom-one.nvim", priority = 1000, lazy = true},
|
{ "NTBBloodbath/doom-one.nvim", priority = 1000, lazy = true },
|
||||||
{ "shaunsingh/moonlight.nvim", priority = 1000, lazy = true},
|
{ "shaunsingh/moonlight.nvim", priority = 1000, lazy = true },
|
||||||
{ "kvrohit/mellow.nvim", priority = 1000, lazy = true},
|
{ "kvrohit/mellow.nvim", priority = 1000, lazy = true },
|
||||||
-- telescope
|
-- telescope
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
version = "0.1.1",
|
version = "0.1.1",
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-file-browser.nvim",
|
"nvim-telescope/telescope-file-browser.nvim",
|
||||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-project.nvim",
|
"nvim-telescope/telescope-project.nvim",
|
||||||
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
build = "make",
|
build = "make",
|
||||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"VonHeikemen/fine-cmdline.nvim",
|
"VonHeikemen/fine-cmdline.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "MunifTanjim/nui.nvim" },
|
{ "MunifTanjim/nui.nvim" },
|
||||||
},
|
},
|
||||||
cmd = "FineCmdline",
|
cmd = "FineCmdline",
|
||||||
config = function()
|
config = function()
|
||||||
require("taken.plugins.lazy.cmdline")
|
require("taken.plugins.lazy.cmdline")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
-- development
|
-- development
|
||||||
"github/copilot.vim",
|
"github/copilot.vim",
|
||||||
{
|
{
|
||||||
"nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
||||||
--lsp
|
--lsp
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
build = function()
|
build = function()
|
||||||
pcall(vim.cmd, "MasonUpdate")
|
pcall(vim.cmd, "MasonUpdate")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
dependencies = { "williamboman/mason.nvim", "neovim/nvim-lspconfig" },
|
dependencies = { "williamboman/mason.nvim", "neovim/nvim-lspconfig" },
|
||||||
},
|
},
|
||||||
-- formatters and linters
|
-- formatters and linters
|
||||||
"jose-elias-alvarez/null-ls.nvim",
|
"jose-elias-alvarez/null-ls.nvim",
|
||||||
{
|
{
|
||||||
"jayp0521/mason-null-ls.nvim",
|
"jayp0521/mason-null-ls.nvim",
|
||||||
dependencies = { "williamboman/mason.nvim", "jose-elias-alvarez/null-ls.nvim" },
|
dependencies = { "williamboman/mason.nvim", "jose-elias-alvarez/null-ls.nvim" },
|
||||||
},
|
},
|
||||||
-- completion
|
-- completion
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-buffer",
|
"hrsh7th/cmp-buffer",
|
||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-path",
|
||||||
-- snippets
|
-- snippets
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
"rafamadriz/friendly-snippets",
|
"rafamadriz/friendly-snippets",
|
||||||
"onsails/lspkind.nvim",
|
"onsails/lspkind.nvim",
|
||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"iamcco/markdown-preview.nvim",
|
"iamcco/markdown-preview.nvim",
|
||||||
build = function()
|
build = function()
|
||||||
vim.fn["mkdp#util#install"]()
|
vim.fn["mkdp#util#install"]()
|
||||||
end,
|
end,
|
||||||
config = function ()
|
config = function()
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
let g:mkdp_auto_close = 0
|
let g:mkdp_auto_close = 0
|
||||||
let g:mkdp_theme = 'dark'
|
let g:mkdp_theme = 'dark'
|
||||||
]])
|
]])
|
||||||
end,
|
end,
|
||||||
ft = "markdown",
|
ft = "markdown",
|
||||||
},
|
},
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
{ "NeogitOrg/neogit", dependencies = "nvim-lua/plenary.nvim" },
|
{ "NeogitOrg/neogit", dependencies = "nvim-lua/plenary.nvim" },
|
||||||
"sindrets/diffview.nvim",
|
"sindrets/diffview.nvim",
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
{ "windwp/nvim-ts-autotag", dependencies = "nvim-treesitter" },
|
{ "windwp/nvim-ts-autotag", dependencies = "nvim-treesitter" },
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("gitsigns").setup({})
|
require("gitsigns").setup({})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"f-person/git-blame.nvim",
|
"f-person/git-blame.nvim",
|
||||||
config = function ()
|
config = function()
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
let g:gitblame_enabled = 1
|
let g:gitblame_enabled = 1
|
||||||
]])
|
]])
|
||||||
end
|
end,
|
||||||
},
|
},
|
||||||
-- useful plugins
|
-- useful plugins
|
||||||
{
|
{
|
||||||
"glepnir/dashboard-nvim",
|
"glepnir/dashboard-nvim",
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
build = ":Neorg sync-parsers",
|
build = ":Neorg sync-parsers",
|
||||||
dependencies = "nvim-lua/plenary.nvim",
|
dependencies = "nvim-lua/plenary.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("taken.plugins.lazy.neorg")
|
require("taken.plugins.lazy.neorg")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"NvChad/nvim-colorizer.lua",
|
"NvChad/nvim-colorizer.lua",
|
||||||
config = function()
|
config = function()
|
||||||
require("colorizer").setup({})
|
require("colorizer").setup({})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"akinsho/toggleterm.nvim",
|
"akinsho/toggleterm.nvim",
|
||||||
version = "*",
|
version = "*",
|
||||||
config = function()
|
config = function()
|
||||||
require("taken.plugins.lazy.toggleterm")
|
require("taken.plugins.lazy.toggleterm")
|
||||||
end,
|
end,
|
||||||
cmd = "ToggleTerm",
|
cmd = "ToggleTerm",
|
||||||
},
|
},
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
{
|
{
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
version = "*",
|
version = "*",
|
||||||
dependencies = "nvim-tree/nvim-web-devicons"
|
dependencies = "nvim-tree/nvim-web-devicons",
|
||||||
},
|
},
|
||||||
"TakenMC/presence.nvim",
|
"TakenMC/presence.nvim",
|
||||||
{
|
{
|
||||||
"kylechui/nvim-surround",
|
"kylechui/nvim-surround",
|
||||||
version = "*",
|
version = "*",
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-surround").setup({})
|
require("nvim-surround").setup({})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ObserverOfTime/nvimcord",
|
"ObserverOfTime/nvimcord",
|
||||||
cmd = "NvimcordUpdate",
|
cmd = "NvimcordUpdate",
|
||||||
enabled = false,
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("taken.plugins.lazy.nvimcord")
|
require("taken.plugins.lazy.nvimcord")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
"xiyaowong/transparent.nvim",
|
"xiyaowong/transparent.nvim",
|
||||||
{
|
{
|
||||||
"jokajak/keyseer.nvim",
|
"jokajak/keyseer.nvim",
|
||||||
cmd = "KeySeer",
|
cmd = "KeySeer",
|
||||||
config = function()
|
config = function()
|
||||||
require("taken.plugins.lazy.keyseer")
|
require("taken.plugins.lazy.keyseer")
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local opts = {
|
local opts = {
|
||||||
dev = {
|
dev = {
|
||||||
path = "~/git/nvim",
|
path = "~/git/nvim",
|
||||||
},
|
},
|
||||||
checker = {
|
checker = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
lazy.setup(plugins, opts)
|
lazy.setup(plugins, opts)
|
||||||
|
|||||||
11
lua/taken/plugins/catppuccin.lua
Normal file
11
lua/taken/plugins/catppuccin.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
local status, catppuccin = pcall(require, "catppuccin")
|
||||||
|
if not status then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
catppuccin.setup({
|
||||||
|
integrations = {
|
||||||
|
notify = true,
|
||||||
|
mason = true,
|
||||||
|
}
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user