nvim/lua/core/plugins.lua

220 lines
6.9 KiB
Lua
Raw Normal View History

2023-08-15 23:31:31 -07:00
local lsp_dev = {}
2022-11-02 22:50:13 -07:00
vim.cmd [[packadd packer.nvim]]
require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use 'nvim-lua/plenary.nvim'
use {
'nvim-treesitter/nvim-treesitter',
2023-08-11 18:12:35 -07:00
run = function()
require('nvim-treesitter.install').update({ with_sync = true })
end
}
2025-02-13 00:38:12 -08:00
use { 'nvim-treesitter/nvim-treesitter-context' }
2023-08-11 18:12:35 -07:00
2023-08-15 13:44:53 -07:00
-- TELESCOPE {{{
use { 'nvim-telescope/telescope.nvim' }
use { 'nvim-telescope/telescope-file-browser.nvim' }
use 'nvim-telescope/telescope-dap.nvim'
use { 'ghassan0/telescope-glyph.nvim' }
use { 'nat-418/telescope-color-names.nvim' }
2023-08-11 18:12:35 -07:00
use {
2023-08-15 13:44:53 -07:00
'nvim-telescope/telescope-fzf-native.nvim',
2024-08-13 23:30:39 -07:00
run = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'
2023-08-11 18:12:35 -07:00
}
2023-08-15 13:44:53 -07:00
-- }}}
-- LSP/DEV {{{
use { "zbirenbaum/copilot-cmp" }
2023-08-15 23:31:31 -07:00
2023-08-15 13:44:53 -07:00
use({
2025-02-13 15:05:43 -08:00
"olimorris/codecompanion.nvim",
2023-08-15 13:44:53 -07:00
requires = {
2025-02-13 15:05:43 -08:00
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"j-hui/fidget.nvim"
},
init = function()
require("plugins.codecompanion.fidget-spinner"):init()
end,
2023-08-15 13:44:53 -07:00
})
2023-08-15 23:31:31 -07:00
2023-08-15 13:44:53 -07:00
use({
"iamcco/markdown-preview.nvim",
run = function() vim.fn["mkdp#util#install"]() end
})
2023-08-17 01:12:44 -07:00
use {
"L3MON4D3/LuaSnip",
-- tag = "v2.*",
run = "make install_jsregexp",
dependencies = { "rafamadriz/friendly-snippets" }
}
use { 'folke/neodev.nvim' }
use { 'saadparwaiz1/cmp_luasnip' }
2023-08-15 23:31:31 -07:00
use { 'hrsh7th/cmp-buffer' }
use { 'hrsh7th/cmp-cmdline' }
2023-08-15 13:44:53 -07:00
use { 'hrsh7th/cmp-nvim-lsp' }
2023-08-15 23:31:31 -07:00
use { 'hrsh7th/cmp-nvim-lsp-document-symbol' }
2023-08-15 13:44:53 -07:00
use { 'hrsh7th/cmp-nvim-lsp-signature-help' }
2023-08-15 23:31:31 -07:00
use { 'hrsh7th/cmp-nvim-lua' }
2023-08-15 13:44:53 -07:00
use { 'hrsh7th/cmp-path' }
2023-08-15 23:31:31 -07:00
use { 'hrsh7th/nvim-cmp' }
use { 'https://git.sr.ht/~whynothugo/lsp_lines.nvim' }
2025-02-13 00:38:12 -08:00
-- use { 'jose-elias-alvarez/null-ls.nvim' }
use { 'nvimtools/none-ls.nvim' }
2023-08-15 13:44:53 -07:00
use { 'neovim/nvim-lspconfig' }
use { 'onsails/lspkind-nvim' }
2025-02-13 01:51:51 -08:00
use { 'lukas-reineke/lsp-format.nvim' }
2025-02-13 17:51:52 -08:00
use 'mfussenegger/nvim-lint'
2023-08-15 17:07:20 -07:00
2024-08-13 23:30:39 -07:00
use 'nvim-neotest/nvim-nio'
2025-02-14 01:48:45 -08:00
-- use 'mfussenegger/nvim-dap'
-- use { "rcarriga/nvim-dap-ui", requires = { "mfussenegger/nvim-dap" } }
-- use { 'mfussenegger/nvim-dap-python' }
-- use { 'theHamsta/nvim-dap-virtual-text' }
2023-08-15 13:44:53 -07:00
2023-08-15 23:31:31 -07:00
-- DADBOD {{{
2025-02-13 15:05:43 -08:00
-- use { 'tpope/vim-dadbod' }
-- use { 'kristijanhusak/vim-dadbod-ui' }
-- use { 'kristijanhusak/vim-dadbod-completion' }
2023-08-15 23:31:31 -07:00
-- }}}
2023-08-15 17:07:20 -07:00
-- }}}
2023-08-15 13:44:53 -07:00
-- UI {{{
2025-02-13 00:38:12 -08:00
use {
"lukas-reineke/indent-blankline.nvim",
config = function()
opts = {}
-- Other blankline configuration here
require("ibl").setup(require("indent-rainbowline").make_opts(opts))
end,
requires = { "TheGLander/indent-rainbowline.nvim" }
}
2023-08-15 13:44:53 -07:00
use {
2023-08-15 23:31:31 -07:00
'glepnir/dashboard-nvim',
-- event = 'VimEnter',
requires = { 'nvim-tree/nvim-web-devicons' }
2023-08-15 13:44:53 -07:00
}
2023-08-11 18:12:35 -07:00
use {
2023-08-15 13:44:53 -07:00
'j-hui/fidget.nvim',
tag = 'legacy',
2023-08-11 18:12:35 -07:00
config = function()
2023-08-15 13:44:53 -07:00
require("fidget").setup {
-- options
}
2023-08-11 18:12:35 -07:00
end
2022-11-02 22:50:13 -07:00
}
2023-08-15 23:31:31 -07:00
use {
'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
}
2024-09-17 01:35:02 -07:00
use { 'AndreM222/copilot-lualine' }
2023-08-15 23:31:31 -07:00
use { 'kyazdani42/nvim-web-devicons' }
use { 'norcalli/nvim-colorizer.lua' }
2023-08-15 13:44:53 -07:00
use { 'akinsho/nvim-bufferline.lua' }
use { 'andweeb/presence.nvim' }
use { 'folke/which-key.nvim' }
use { 'kyazdani42/nvim-tree.lua' }
use { 'lewis6991/gitsigns.nvim' }
2023-08-15 23:31:31 -07:00
use { 'rcarriga/nvim-notify' }
2023-08-15 13:44:53 -07:00
use { 'stevearc/dressing.nvim' }
2023-08-17 01:12:44 -07:00
use { 'HiPhish/rainbow-delimiters.nvim' }
2024-08-13 23:30:39 -07:00
use { 'echasnovski/mini.nvim' }
2023-08-15 13:44:53 -07:00
-- }}}
-- EXTRAS {{{
2022-11-02 22:50:13 -07:00
2023-08-15 08:48:03 -07:00
use {
"nvim-neorg/neorg",
-- tag = "*",
ft = "norg",
after = "nvim-treesitter", -- You may want to specify Telescope here as well
config = function()
require('neorg').setup {
load = {
2025-02-13 01:51:51 -08:00
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {}, -- Adds pretty icons to your documents
2023-08-15 08:48:03 -07:00
["core.completion"] = { config = { engine = "nvim-cmp" } }, -- Adds completion
2025-02-13 01:51:51 -08:00
["core.dirman"] = { -- Manages Neorg workspaces
2023-08-15 08:48:03 -07:00
config = { workspaces = { notes = "~/notes" } }
}
}
}
end
}
2022-11-02 22:50:13 -07:00
use 'jiangmiao/auto-pairs'
use 'pechorin/any-jump.vim'
use 'tpope/vim-commentary'
2023-08-15 23:31:31 -07:00
use 'tpope/vim-dotenv'
2022-11-02 22:50:13 -07:00
use 'tpope/vim-surround'
use 'voldikss/vim-floaterm'
use 'wakatime/vim-wakatime'
2023-08-15 13:44:53 -07:00
use 'rmagatti/goto-preview'
2022-11-02 22:50:13 -07:00
2023-08-15 13:44:53 -07:00
-- }}}
2022-11-04 18:31:16 -07:00
2023-08-15 13:44:53 -07:00
-- COLORSCHEMES {{{
2022-11-02 22:50:13 -07:00
2023-08-11 18:12:35 -07:00
use { 'Mofiqul/dracula.nvim' }
2025-02-13 01:51:51 -08:00
-- use({
-- 'NTBBloodbath/doom-one.nvim',
-- setup = function()
-- -- Add color to cursor
-- vim.g.doom_one_cursor_coloring = false
-- -- Set :terminal colors
-- vim.g.doom_one_terminal_colors = true
-- -- Enable italic comments
-- vim.g.doom_one_italic_comments = false
-- -- Enable TS support
-- vim.g.doom_one_enable_treesitter = true
-- -- Color whole diagnostic text or only underline
-- vim.g.doom_one_diagnostics_text_color = false
-- -- Enable transparent background
-- vim.g.doom_one_transparent_background = false
2025-02-13 01:51:51 -08:00
-- -- Pumblend transparency
-- vim.g.doom_one_pumblend_enable = false
-- vim.g.doom_one_pumblend_transparency = 20
2025-02-13 01:51:51 -08:00
-- -- Plugins integration
-- vim.g.doom_one_plugin_neorg = true
-- vim.g.doom_one_plugin_barbar = false
-- vim.g.doom_one_plugin_telescope = true
-- vim.g.doom_one_plugin_neogit = true
-- vim.g.doom_one_plugin_nvim_tree = true
-- vim.g.doom_one_plugin_dashboard = true
-- vim.g.doom_one_plugin_startify = true
-- vim.g.doom_one_plugin_whichkey = true
-- vim.g.doom_one_plugin_indent_blankline = true
-- vim.g.doom_one_plugin_vim_illuminate = false
-- vim.g.doom_one_plugin_lspsaga = false
-- end
-- config = function()
-- vim.cmd("colorscheme doom-one")
-- vim.cmd(
-- "highlight Pmenu ctermfg=white ctermbg=black gui=NONE guifg=white guibg=#282C34")
-- vim.cmd("highlight PmenuSel guifg=purple guibg=red")
-- end
-- })
2023-08-11 18:12:35 -07:00
use { 'olimorris/onedarkpro.nvim' }
use { 'projekt0n/github-nvim-theme' }
2023-02-16 10:26:53 -08:00
2025-02-13 01:51:51 -08:00
use {
"catppuccin/nvim",
as = "catppuccin",
config = function()
vim.cmd("colorscheme catppuccin-macchiato")
end
}
2023-08-15 13:44:53 -07:00
-- }}}
2022-11-02 22:50:13 -07:00
end)