2021-12-08 09:38:24 -06:00
|
|
|
-- LOAD THE PLUGINS
|
|
|
|
|
|
|
|
-- install packer on the fly
|
2022-01-21 10:37:04 -06:00
|
|
|
-- local fn = vim.Fn
|
|
|
|
-- local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
|
|
|
-- if fn.empty(fn.glob(install_path)) > 0 then
|
|
|
|
-- packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
|
|
|
-- end
|
2021-12-08 09:38:24 -06:00
|
|
|
--
|
|
|
|
|
|
|
|
|
|
|
|
return require('packer').startup(function(use)
|
2022-01-21 10:03:35 -06:00
|
|
|
use 'wbthomason/packer.nvim'
|
2021-12-08 09:38:24 -06:00
|
|
|
|
|
|
|
use 'preservim/NERDTree'
|
2022-01-21 10:37:04 -06:00
|
|
|
|
2021-12-08 09:38:24 -06:00
|
|
|
use {
|
|
|
|
'goolord/alpha-nvim',
|
|
|
|
requires = { 'kyazdani42/nvim-web-devicons' },
|
|
|
|
config = function ()
|
|
|
|
require'alpha'.setup(require'alpha.themes.startify'.opts)
|
|
|
|
end
|
2022-01-21 10:03:35 -06:00
|
|
|
}
|
2022-01-21 10:37:04 -06:00
|
|
|
|
2022-02-03 16:58:34 -06:00
|
|
|
-- use {
|
|
|
|
-- 'airblade/vim-gitgutter',
|
|
|
|
-- config = function()
|
|
|
|
-- local cmd = vim.cmd
|
|
|
|
-- cmd [[highlight! link SignColumn LineNr]]
|
|
|
|
-- end
|
|
|
|
-- }
|
|
|
|
--
|
2021-12-08 09:38:24 -06:00
|
|
|
use {
|
2022-01-21 10:37:04 -06:00
|
|
|
'norcalli/nvim-colorizer.lua',
|
|
|
|
conifg = function()
|
|
|
|
require'colorizer'.setup()
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2022-01-24 00:03:48 -06:00
|
|
|
use {
|
|
|
|
'numToStr/Comment.nvim',
|
|
|
|
config = function()
|
|
|
|
require('Comment').setup()
|
2022-02-03 16:58:34 -06:00
|
|
|
end
|
|
|
|
}
|
2022-01-24 00:03:48 -06:00
|
|
|
|
2022-01-21 10:37:04 -06:00
|
|
|
use {
|
|
|
|
"folke/which-key.nvim",
|
|
|
|
config = function()
|
|
|
|
require("which-key").setup()
|
|
|
|
end
|
2021-12-08 09:38:24 -06:00
|
|
|
}
|
|
|
|
|
2022-01-24 00:03:48 -06:00
|
|
|
use {
|
|
|
|
"ggandor/lightspeed.nvim"
|
|
|
|
}
|
2022-01-21 10:37:04 -06:00
|
|
|
use {
|
|
|
|
"ntpeters/vim-better-whitespace",
|
|
|
|
config = function()
|
|
|
|
local cmd = vim.cmd
|
|
|
|
cmd [[ let g:strip_whitespace_on_save = 1 ]]
|
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2022-01-24 00:03:48 -06:00
|
|
|
use {
|
|
|
|
'lewis6991/gitsigns.nvim',
|
|
|
|
requires = {
|
|
|
|
'nvim-lua/plenary.nvim'
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
require('gitsigns').setup()
|
|
|
|
end
|
|
|
|
}
|
2022-01-21 10:37:04 -06:00
|
|
|
|
|
|
|
-- style
|
2022-01-21 10:03:35 -06:00
|
|
|
use 'Mofiqul/dracula.nvim'
|
|
|
|
|
2021-12-08 09:38:24 -06:00
|
|
|
-- language specific plugins
|
|
|
|
-- python
|
|
|
|
use {
|
|
|
|
'snakemake/snakemake',
|
|
|
|
rtp="misc/vim",
|
|
|
|
ft={"Snakefile","snk"}
|
|
|
|
}
|
|
|
|
|
2022-02-03 16:58:34 -06:00
|
|
|
-- toml
|
2021-12-08 09:38:24 -06:00
|
|
|
use 'cespare/vim-toml'
|
2022-01-24 00:03:48 -06:00
|
|
|
vim.g.strip_whitespace_on_save = 1
|
2021-12-08 09:38:24 -06:00
|
|
|
|
2022-02-03 16:58:34 -06:00
|
|
|
if packer_bootstrap then
|
|
|
|
require('packer').sync()
|
|
|
|
end
|
2021-12-08 09:38:24 -06:00
|
|
|
end)
|