2024-03-27 12:09:11 +00:00
|
|
|
local is_workstation = os.getenv("DEVICE_ROLE") == 'WORKSTATION'
|
2023-02-21 16:28:55 +00:00
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
return require("packer").startup(function(use)
|
|
|
|
-- Packer can manage itself
|
|
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
|
2024-03-27 12:09:11 +00:00
|
|
|
-- vim-tmux
|
|
|
|
use 'christoomey/vim-tmux-navigator'
|
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
-- LSP config
|
|
|
|
use {
|
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
'williamboman/mason.nvim',
|
|
|
|
'williamboman/mason-lspconfig.nvim',
|
|
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
|
|
'hrsh7th/cmp-buffer',
|
|
|
|
'hrsh7th/nvim-cmp',
|
2023-02-21 13:00:51 +00:00
|
|
|
'hrsh7th/cmp-nvim-lsp-signature-help',
|
2022-11-06 14:07:55 +00:00
|
|
|
'onsails/lspkind.nvim',
|
|
|
|
'nvim-lua/lsp_extensions.nvim',
|
|
|
|
'glepnir/lspsaga.nvim',
|
|
|
|
'simrat39/symbols-outline.nvim',
|
|
|
|
'L3MON4D3/LuaSnip',
|
|
|
|
'saadparwaiz1/cmp_luasnip',
|
|
|
|
}
|
|
|
|
|
2024-03-27 12:09:11 +00:00
|
|
|
-- Debugger
|
|
|
|
use { "rcarriga/nvim-dap-ui", requires = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" } }
|
|
|
|
use 'theHamsta/nvim-dap-virtual-text'
|
|
|
|
use "jay-babu/mason-nvim-dap.nvim"
|
|
|
|
use 'leoluz/nvim-dap-go'
|
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
-- file tree
|
|
|
|
use {
|
|
|
|
'nvim-tree/nvim-web-devicons',
|
|
|
|
'kyazdani42/nvim-tree.lua'
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Lightline
|
|
|
|
-- use 'itchyny/lightline.vim'
|
|
|
|
|
|
|
|
-- Lualine (status line)
|
|
|
|
use {
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
|
|
|
|
}
|
|
|
|
|
2023-02-21 13:00:51 +00:00
|
|
|
-- -- Colorshemes -- --
|
2022-11-06 14:07:55 +00:00
|
|
|
-- Gruvbox
|
|
|
|
use 'ellisonleao/gruvbox.nvim'
|
2023-02-21 13:00:51 +00:00
|
|
|
-- Melange
|
|
|
|
use 'savq/melange'
|
|
|
|
-- Nightfox
|
|
|
|
use 'EdenEast/nightfox.nvim'
|
2022-11-06 14:07:55 +00:00
|
|
|
|
|
|
|
-- Git Gutter
|
|
|
|
use {
|
|
|
|
'lewis6991/gitsigns.nvim',
|
|
|
|
-- tag = 'release'
|
|
|
|
}
|
|
|
|
|
2024-03-27 12:09:11 +00:00
|
|
|
-- Notifications
|
|
|
|
use 'rcarriga/nvim-notify'
|
|
|
|
|
2022-11-06 14:07:55 +00:00
|
|
|
-- Auto Pairs (brackets)
|
|
|
|
use {
|
|
|
|
"windwp/nvim-autopairs",
|
|
|
|
config = function() require("nvim-autopairs").setup {} end
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Telescope (fzf)
|
|
|
|
use {
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
|
|
}
|
|
|
|
|
2024-03-27 12:09:11 +00:00
|
|
|
if is_workstation then
|
2023-02-21 16:28:55 +00:00
|
|
|
use {
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
run = ':TSUpdate'
|
|
|
|
}
|
2023-04-27 13:48:30 +00:00
|
|
|
use 'nvim-treesitter/nvim-treesitter-context'
|
2023-02-21 16:28:55 +00:00
|
|
|
end
|
2022-11-06 14:07:55 +00:00
|
|
|
|
|
|
|
-- Beacon
|
|
|
|
use 'danilamihailov/beacon.nvim'
|
2024-03-27 12:09:11 +00:00
|
|
|
|
|
|
|
-- Catppuccin
|
|
|
|
use { "catppuccin/nvim", as = "catppuccin" }
|
2022-11-06 14:07:55 +00:00
|
|
|
end)
|