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
|
|
|
|
}
|
2023-08-15 12:03:05 -07:00
|
|
|
use { "MunifTanjim/nui.nvim" }
|
|
|
|
-- TELESCOPE
|
2023-08-11 18:12:35 -07:00
|
|
|
use { 'nvim-telescope/telescope.nvim' }
|
|
|
|
use { 'nvim-telescope/telescope-file-browser.nvim' }
|
2023-08-15 11:11:38 -07:00
|
|
|
use 'nvim-telescope/telescope-dap.nvim'
|
|
|
|
use { 'ghassan0/telescope-glyph.nvim' }
|
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope-fzf-native.nvim',
|
|
|
|
run =
|
|
|
|
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'
|
|
|
|
}
|
2023-08-15 12:03:05 -07:00
|
|
|
-- UI
|
|
|
|
use { 'akinsho/nvim-bufferline.lua' }
|
|
|
|
use {
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
|
|
|
|
}
|
|
|
|
use { 'https://git.sr.ht/~whynothugo/lsp_lines.nvim' }
|
|
|
|
use { 'onsails/lspkind-nvim' }
|
|
|
|
use 'norcalli/nvim-colorizer.lua'
|
|
|
|
use { 'glepnir/dashboard-nvim' }
|
|
|
|
use 'kyazdani42/nvim-web-devicons'
|
|
|
|
use { 'stevearc/dressing.nvim' }
|
|
|
|
use {
|
|
|
|
'j-hui/fidget.nvim',
|
|
|
|
tag = 'legacy',
|
|
|
|
config = function() require("fidget").setup {} end
|
|
|
|
}
|
2022-11-04 18:31:16 -07:00
|
|
|
|
2023-08-15 12:03:05 -07:00
|
|
|
-- LSP/DEV
|
|
|
|
use { "zbirenbaum/copilot.lua", event = "VimEnter" }
|
|
|
|
use { "zbirenbaum/copilot-cmp" }
|
2023-08-11 18:12:35 -07:00
|
|
|
use { 'ojroques/nvim-lspfuzzy' }
|
2022-11-02 22:50:13 -07:00
|
|
|
use 'L3MON4D3/LuaSnip'
|
2023-08-11 18:12:35 -07:00
|
|
|
use { 'hrsh7th/nvim-cmp' }
|
|
|
|
use { 'hrsh7th/cmp-nvim-lsp' }
|
|
|
|
use { 'hrsh7th/cmp-nvim-lua' }
|
|
|
|
use { 'hrsh7th/cmp-nvim-lsp-signature-help' }
|
|
|
|
use { 'hrsh7th/cmp-path' }
|
|
|
|
use { 'hrsh7th/cmp-cmdline' }
|
|
|
|
use { 'hrsh7th/cmp-buffer' }
|
2023-08-15 12:03:05 -07:00
|
|
|
use { 'saadparwaiz1/cmp_luasnip' }
|
2023-08-11 18:12:35 -07:00
|
|
|
use { 'hrsh7th/cmp-nvim-lsp-document-symbol' }
|
|
|
|
use { 'neovim/nvim-lspconfig' }
|
2023-08-14 18:26:43 -07:00
|
|
|
use({
|
|
|
|
"jackMort/ChatGPT.nvim",
|
|
|
|
commit = "24bcca7",
|
|
|
|
requires = {
|
|
|
|
"MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim",
|
|
|
|
"nvim-telescope/telescope.nvim"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2023-08-15 12:03:05 -07:00
|
|
|
-- EXTRA
|
|
|
|
use {
|
|
|
|
"nvim-neorg/neorg",
|
|
|
|
-- tag = "*",
|
|
|
|
ft = "norg",
|
|
|
|
after = "nvim-treesitter" -- You may want to specify Telescope here as well
|
|
|
|
}
|
|
|
|
use 'pechorin/any-jump.vim'
|
|
|
|
use { 'jose-elias-alvarez/null-ls.nvim' }
|
|
|
|
use { 'rmagatti/goto-preview' }
|
|
|
|
use 'folke/neodev.nvim'
|
|
|
|
use 'voldikss/vim-floaterm'
|
|
|
|
use 'wakatime/vim-wakatime'
|
|
|
|
use { 'junegunn/fzf', run = function() vim.fn['fzf#install']() end }
|
|
|
|
use { 'folke/which-key.nvim' }
|
|
|
|
use { 'kyazdani42/nvim-tree.lua' }
|
|
|
|
use { 'lewis6991/gitsigns.nvim' }
|
2023-08-14 18:26:43 -07:00
|
|
|
use({
|
|
|
|
"iamcco/markdown-preview.nvim",
|
|
|
|
run = function() vim.fn["mkdp#util#install"]() end
|
|
|
|
})
|
|
|
|
|
2023-08-15 12:03:05 -07:00
|
|
|
-- DEBUG
|
2023-08-14 18:26:43 -07:00
|
|
|
use 'mfussenegger/nvim-dap'
|
|
|
|
use { "rcarriga/nvim-dap-ui", requires = { "mfussenegger/nvim-dap" } }
|
2023-08-15 11:11:38 -07:00
|
|
|
use 'mfussenegger/nvim-dap-python'
|
|
|
|
use 'theHamsta/nvim-dap-virtual-text'
|
2023-08-15 12:03:05 -07:00
|
|
|
|
|
|
|
-- COLORSCHEMES
|
2023-08-11 18:12:35 -07:00
|
|
|
use { 'Mofiqul/dracula.nvim' }
|
2023-08-13 01:29:34 -07:00
|
|
|
use({
|
2022-11-03 23:45:39 -07:00
|
|
|
'NTBBloodbath/doom-one.nvim',
|
|
|
|
setup = function()
|
2023-08-11 18:12:35 -07:00
|
|
|
-- Add color to cursor
|
2022-11-03 23:45:39 -07:00
|
|
|
vim.g.doom_one_cursor_coloring = false
|
|
|
|
-- Set :terminal colors
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_terminal_colors = true
|
2022-11-03 23:45:39 -07:00
|
|
|
-- Enable italic comments
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_italic_comments = false
|
2022-11-03 23:45:39 -07:00
|
|
|
-- Enable TS support
|
|
|
|
vim.g.doom_one_enable_treesitter = true
|
|
|
|
-- Color whole diagnostic text or only underline
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_diagnostics_text_color = false
|
2022-11-03 23:45:39 -07:00
|
|
|
-- Enable transparent background
|
|
|
|
vim.g.doom_one_transparent_background = false
|
|
|
|
|
|
|
|
-- Pumblend transparency
|
|
|
|
vim.g.doom_one_pumblend_enable = false
|
|
|
|
vim.g.doom_one_pumblend_transparency = 20
|
|
|
|
|
|
|
|
-- Plugins integration
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_plugin_neorg = true
|
2022-11-03 23:45:39 -07:00
|
|
|
vim.g.doom_one_plugin_barbar = false
|
2023-08-15 11:11:38 -07:00
|
|
|
vim.g.doom_one_plugin_telescope = true
|
2022-11-03 23:45:39 -07:00
|
|
|
vim.g.doom_one_plugin_neogit = true
|
|
|
|
vim.g.doom_one_plugin_nvim_tree = true
|
|
|
|
vim.g.doom_one_plugin_dashboard = true
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_plugin_startify = true
|
2022-11-03 23:45:39 -07:00
|
|
|
vim.g.doom_one_plugin_whichkey = true
|
|
|
|
vim.g.doom_one_plugin_indent_blankline = true
|
2023-08-13 01:29:34 -07:00
|
|
|
vim.g.doom_one_plugin_vim_illuminate = true
|
|
|
|
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")
|
2023-08-11 18:12:35 -07:00
|
|
|
end
|
2023-08-13 01:29:34 -07:00
|
|
|
})
|
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
|
|
|
|
2023-03-10 11:42:54 -08:00
|
|
|
use { "catppuccin/nvim", as = "catppuccin" }
|
2022-11-02 22:50:13 -07:00
|
|
|
end)
|