dotfiles/home/private_dot_config/nvim/lua/plugins.lua
Daylin Morgan 5acfc464dc refactor fzf.zsh
WIP

wip: add whitespace that isn't tidy.nvim
2022-01-24 12:57:45 -06:00

74 lines
1.4 KiB
Lua

-- LOAD THE PLUGINS
-- install packer on the fly
-- 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
--
return require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use 'preservim/NERDTree'
use {
'goolord/alpha-nvim',
requires = { 'kyazdani42/nvim-web-devicons' },
config = function ()
require'alpha'.setup(require'alpha.themes.startify'.opts)
end
}
use {
'airblade/vim-gitgutter',
config = function()
local cmd = vim.cmd
cmd [[highlight! link SignColumn LineNr]]
end
}
use {
'norcalli/nvim-colorizer.lua',
conifg = function()
require'colorizer'.setup()
end
}
use {
"folke/which-key.nvim",
config = function()
require("which-key").setup()
end
}
use {
"ntpeters/vim-better-whitespace",
config = function()
local cmd = vim.cmd
cmd [[ let g:strip_whitespace_on_save = 1 ]]
end
}
-- style
use 'Mofiqul/dracula.nvim'
-- language specific plugins
-- python
use {
'snakemake/snakemake',
rtp="misc/vim",
ft={"Snakefile","snk"}
}
-- toml
use 'cespare/vim-toml'
if packer_bootstrap then
require('packer').sync()
end
end)