1
0
Fork 0
vdotfiles/cli/.config/nvim/lua/plugins.lua

46 lines
1.2 KiB
Lua
Raw Normal View History

2023-09-13 22:57:25 +03:00
-- [[ 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
2023-08-22 19:43:08 +03:00
}
2023-09-13 22:57:25 +03:00
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',
{
2023-02-05 02:59:07 +02:00
'nvim-telescope/telescope.nvim',
2023-09-13 22:57:25 +03:00
dependencies = {'nvim-lua/plenary.nvim'}
},
{
2022-12-25 03:36:59 +02:00
'w0rp/ale',
2023-09-13 22:57:25 +03:00
cmd = 'ALEEnable',
ft = {'bash', 'sh', 'zsh', 'lua', 'python'}
}
2023-09-13 22:57:25 +03:00
}
2022-12-26 01:31:15 +02:00
--[[ plugin configs and maps ]]
2023-09-11 02:24:52 +03:00
require('gitsigns').setup()
2023-08-22 20:41:13 +03:00
map('n', '<Leader>?', '<cmd>Cheat40<CR>')
map('n', '<Leader>.', '<cmd>Telescope git_files<CR>')
map('n', '<Leader>,', '<cmd>Telescope buffers<CR>')
2022-12-26 01:31:15 +02:00
--[[ theme ]]
2023-09-14 01:38:53 +03:00
vim.g.solarized_termtrans = 1
2023-08-25 18:15:26 +03:00
vim.g.solarized_extra_hi_groups = 1
vim.o.termguicolors = true
2023-08-25 18:15:26 +03:00
vim.o.bg = 'light'
2022-12-26 01:31:15 +02:00
2023-08-25 18:15:26 +03:00
vim.cmd [[colorscheme solarized8]]