54 lines
1.5 KiB
Lua
54 lines
1.5 KiB
Lua
-- [[ plugins bootstrap ]]
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system {
|
|
"git", "clone", "--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable", lazypath
|
|
}
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
--[[ plugins list ]]
|
|
require('lazy').setup {
|
|
{'lifepillar/vim-solarized8', branch = 'neovim'},
|
|
'lewis6991/gitsigns.nvim',
|
|
'lifepillar/vim-cheat40',
|
|
'hashivim/vim-terraform',
|
|
'khaveesh/vim-fish-syntax',
|
|
'lewis6991/gitsigns.nvim',
|
|
'tpope/vim-rsi',
|
|
'tpope/vim-vinegar',
|
|
{
|
|
'nvim-telescope/telescope.nvim',
|
|
dependencies = {'nvim-lua/plenary.nvim'}
|
|
},
|
|
{
|
|
'w0rp/ale',
|
|
cmd = 'ALEEnable',
|
|
ft = {'bash', 'sh', 'zsh', 'lua', 'python'}
|
|
},
|
|
{
|
|
"NeogitOrg/neogit",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim", -- required
|
|
"nvim-telescope/telescope.nvim", -- optional
|
|
"sindrets/diffview.nvim", -- optional
|
|
"ibhagwan/fzf-lua", -- optional
|
|
},
|
|
config = true
|
|
}
|
|
}
|
|
|
|
--[[ plugin configs and maps ]]
|
|
require('gitsigns').setup()
|
|
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
|
|
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
|
|
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
|
|
|
|
--[[ theme ]]
|
|
vim.g.solarized_extra_hi_groups = 1
|
|
vim.o.termguicolors = true
|
|
vim.o.bg = 'light'
|
|
|
|
vim.cmd [[colorscheme solarized8]]
|