2022-12-26 01:31:15 +02:00
|
|
|
-- [[ plugins list ]]
|
|
|
|
plugins = function(use)
|
2022-12-25 03:36:59 +02:00
|
|
|
use 'wbthomason/packer.nvim'
|
2022-09-03 19:30:19 +03:00
|
|
|
|
2022-12-26 01:31:15 +02:00
|
|
|
use 'lifepillar/vim-gruvbox8'
|
|
|
|
use 'hoob3rt/lualine.nvim'
|
2022-12-25 03:36:59 +02:00
|
|
|
use 'mhinz/vim-signify'
|
|
|
|
use 'tpope/vim-fugitive'
|
|
|
|
use 'tpope/vim-rsi'
|
|
|
|
use 'tpope/vim-vinegar'
|
2022-12-26 01:31:15 +02:00
|
|
|
use 'nvim-lua/plenary.nvim'
|
|
|
|
use 'nvim-telescope/telescope.nvim'
|
2022-12-25 03:36:59 +02:00
|
|
|
use {
|
|
|
|
'w0rp/ale',
|
|
|
|
ft = { 'sh', 'zsh', 'lua', 'python' },
|
|
|
|
cmd = 'ALEEnable'
|
2022-09-03 19:30:19 +03:00
|
|
|
}
|
2022-12-25 03:36:59 +02:00
|
|
|
end
|
2022-09-03 19:30:19 +03:00
|
|
|
|
2022-12-26 01:31:15 +02:00
|
|
|
--[[ init packer if missing ]]
|
|
|
|
if require('packer_init') then return end
|
|
|
|
|
|
|
|
--[[ plugins config ]]
|
2022-12-26 03:35:21 +02:00
|
|
|
require('lualine').setup()
|
2022-12-26 01:31:15 +02:00
|
|
|
|
|
|
|
--[[ telescope maps ]]
|
|
|
|
map('n', '<Leader>ff', '<cmd>Telescope find_files<CR>')
|
|
|
|
map('n', '<Leader>fb', '<cmd>Telescope buffers<CR>')
|
|
|
|
|
|
|
|
--[[ theme ]]
|
2022-09-03 19:30:19 +03:00
|
|
|
vim.o.bg = 'dark'
|
|
|
|
vim.o.termguicolors = true
|
2022-12-26 01:31:15 +02:00
|
|
|
|
2023-01-07 23:46:54 +02:00
|
|
|
--vim.g.gruvbox_transp_bg = 1
|
2022-12-25 03:36:59 +02:00
|
|
|
vim.g.gruvbox_plugin_hi_groups = 1
|
2022-09-03 19:30:19 +03:00
|
|
|
vim.g.gruvbox_filetype_hi_groups = 1
|
2022-12-26 01:31:15 +02:00
|
|
|
|
|
|
|
vim.cmd [[colorscheme gruvbox8]]
|