Sorted plugins by type

This commit is contained in:
Kristofers Solo 2023-08-28 21:44:19 +03:00
parent 047f16fb0e
commit d52731a9cb
3 changed files with 88 additions and 77 deletions

View File

@ -27,7 +27,6 @@
"mason-null-ls.nvim": { "branch": "main", "commit": "ae0c5fa57468ac65617f1bf821ba0c3a1e251f0c" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "6148b51db945b55b3b725da39eaea6441e59dff8" },
"mason.nvim": { "branch": "main", "commit": "c811fbf09c7642eebb37d6694f1a016a043f6ed3" },
"mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
"neogen": { "branch": "main", "commit": "cb1f384df804c1bf729332c4f728253fe17962d4" },
"nightfly": { "branch": "master", "commit": "06eaaaa8717538a7ce96b13c137da8c9eaa84ec8" },
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },

View File

@ -14,8 +14,8 @@ vim.keymap.set("n", "q", "<nop>")
vim.keymap.set("n", "<leader>n", vim.cmd.Ex)
vim.keymap.set("v", "<J>", ":m '>+1<cr>gv=gv")
vim.keymap.set("v", "<K>", ":m '<-2<cr>gv=gv")
vim.keymap.set("v", "<A-j>", ":m '>+1<cr>gv=gv")
vim.keymap.set("v", "<A-k>", ":m '<-2<cr>gv=gv")
vim.keymap.set("n", "J", "mzJ`z")
vim.keymap.set("n", "<C-d>", "<C-d>zz")
@ -68,4 +68,4 @@ vim.keymap.set("t", "<C-l>", "<C-\\><C-N><C-w>l")
vim.keymap.set("n", "<C-b>", "<cmd>w!<cr><cmd>!compiler '%:p'<cr>")
vim.keymap.set("n", "<C-o>", "<cmd>w!<cr><cmd>!opout '%:p'<cr>")
vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomation make_it_rain<cr>")
vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomaton make_it_rain<cr>")

View File

@ -12,16 +12,18 @@ end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
-- core
{ "folke/lazy.nvim" },
{ "nvim-lua/plenary.nvim" }, -- Useful lua functions used by lots of plugins
{ "andweeb/presence.nvim" },
-- useful
{ "ThePrimeagen/harpoon" },
{ "preservim/tagbar" },
{ "alvan/vim-closetag" },
{ "mbbill/undotree" },
{ "preservim/tagbar" },
{ "jghauser/mkdir.nvim", lazy = true },
{ "mtdl9/vim-log-highlighting", lazy = true },
{ "christoomey/vim-tmux-navigator" },
{ "ThePrimeagen/vim-be-good", lazy = true },
{ "folke/todo-comments.nvim", opts = true },
{ "ahmedkhalf/project.nvim" },
{
"chipsenkbeil/distant.nvim",
branch = "v0.3",
@ -29,45 +31,18 @@ require("lazy").setup({
require("distant"):setup()
end,
},
{
"danymat/neogen",
dependencies = { "nvim-treesitter/nvim-treesitter" },
config = true,
version = "*",
},
{ "eandrju/cellular-automaton.nvim", lazy = true },
{ "laytan/cloak.nvim" },
{ "NvChad/nvim-colorizer.lua" },
{ "uga-rosa/ccc.nvim" },
{
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
config = function()
require("tokyonight").setup({
style = "night",
transparent = true,
styles = {
keywords = { italic = false },
sidebars = "transparent",
floats = "transparent",
},
lualine_bold = true,
})
vim.cmd.colorscheme("tokyonight")
end,
},
{ "bluz71/vim-nightfly-colors", name = "nightfly" },
"numToStr/Comment.nvim",
-- lsp
{
"VonHeikemen/lsp-zero.nvim",
branch = "v2.x",
dependencies = {
-- LSP Support
{ "neovim/nvim-lspconfig" }, -- Required
{ "williamboman/mason.nvim" }, -- Optional
{ "williamboman/mason-lspconfig.nvim" }, -- Optional
{ "neovim/nvim-lspconfig" },
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
-- Autocompletion
{
@ -79,19 +54,36 @@ require("lazy").setup({
"hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-nvim-lsp",
},
}, -- Required
{ "hrsh7th/cmp-nvim-lsp" }, -- Required
},
{ "hrsh7th/cmp-nvim-lsp" },
{
"L3MON4D3/LuaSnip",
build = "make install_jsregexp",
dependencies = {
"rafamadriz/friendly-snippets", -- a bunch of snippets to use
},
}, -- Required
},
{ "saadparwaiz1/cmp_luasnip" },
},
},
{ "nanotee/sqls.nvim", lazy = true },
{ "p00f/clangd_extensions.nvim", ft = { "cpp", "c" } },
{ "Civitasv/cmake-tools.nvim", ft = { "cpp", "c" }, dependencies = { "nvim-lua/plenary.nvim" } },
{
"simrat39/rust-tools.nvim",
dependencies = {
"neovim/nvim-lspconfig",
},
ft = "rust",
},
{
"Saecki/crates.nvim",
ft = { "rust", "toml" },
dependencies = {
"nvim-lua/plenary.nvim",
},
},
{
"windwp/nvim-autopairs", -- Autopairs, integrates with both cmp and treesitter
event = "InsertEnter",
@ -100,11 +92,11 @@ require("lazy").setup({
disable_filetype = {
"NvimTree",
"TelescopePrompt",
"alpha",
},
},
},
-- formatters and linters
{
"jay-babu/mason-null-ls.nvim",
event = { "BufReadPre", "BufNewFile" },
@ -114,8 +106,7 @@ require("lazy").setup({
},
},
-- for formatters and linters
{ "nanotee/sqls.nvim", lazy = true },
-- debuggers
{
"rcarriga/nvim-dap-ui",
dependencies = { "jayp0521/mason-nvim-dap.nvim" },
@ -134,6 +125,20 @@ require("lazy").setup({
},
},
{ "ravenxrz/DAPInstall.nvim", lazy = true },
-- treesitter
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
dependencies = {
"nvim-treesitter/playground",
"p00f/nvim-ts-rainbow",
"mechatroner/rainbow_csv",
"JoosepAlviste/nvim-ts-context-commentstring",
},
},
-- telescope
{
"nvim-telescope/telescope.nvim",
dependencies = {
@ -147,45 +152,47 @@ require("lazy").setup({
{ "nat-418/telescope-color-names.nvim" },
},
},
"ThePrimeagen/harpoon",
{ "p00f/clangd_extensions.nvim", ft = { "cpp", "c" } },
{ "Civitasv/cmake-tools.nvim", ft = { "cpp", "c" }, dependencies = { "nvim-lua/plenary.nvim" } },
-- pretty
{ "uga-rosa/ccc.nvim" },
{ "lukas-reineke/indent-blankline.nvim" },
{ "NvChad/nvim-colorizer.lua" },
{ "mtdl9/vim-log-highlighting", lazy = true },
{ "RRethy/vim-illuminate" },
{
"danymat/neogen",
dependencies = { "nvim-treesitter/nvim-treesitter" },
config = true,
version = "*",
},
{ "nvim-lualine/lualine.nvim" },
{
"simrat39/rust-tools.nvim",
dependencies = {
"neovim/nvim-lspconfig",
},
ft = "rust",
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
config = function()
require("tokyonight").setup({
style = "night",
transparent = true,
styles = {
keywords = { italic = false },
sidebars = "transparent",
floats = "transparent",
},
lualine_bold = true,
})
vim.cmd.colorscheme("tokyonight")
end,
},
{
"Saecki/crates.nvim",
ft = { "rust", "toml" },
dependencies = {
"nvim-lua/plenary.nvim",
},
},
{ "folke/todo-comments.nvim", opts = true },
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
dependencies = {
"nvim-treesitter/playground",
"p00f/nvim-ts-rainbow",
"mechatroner/rainbow_csv",
"JoosepAlviste/nvim-ts-context-commentstring",
},
},
{ "RRethy/vim-illuminate" },
{ "vimwiki/vimwiki" },
-- git
{ "kdheepak/lazygit.nvim" },
{ "tpope/vim-fugitive" },
{ "lewis6991/gitsigns.nvim" },
{ "ThePrimeagen/git-worktree.nvim" },
{ "lukas-reineke/indent-blankline.nvim" },
{ "ahmedkhalf/project.nvim" },
{ "kdheepak/lazygit.nvim" },
-- text
{ "vimwiki/vimwiki" },
{
"epwalsh/obsidian.nvim",
lazy = true,
@ -194,4 +201,9 @@ require("lazy").setup({
"BufReadPre " .. vim.fn.expand("~") .. "/obsidian/**/*.md",
},
},
-- fun
{ "andweeb/presence.nvim" },
{ "ThePrimeagen/vim-be-good", lazy = true },
{ "eandrju/cellular-automaton.nvim" },
})