-- [[ plugins list ]] local function plugins(use) use 'wbthomason/packer.nvim' use { 'lifepillar/vim-solarized8', branch = 'neovim' } use 'lifepillar/vim-cheat40' use 'hashivim/vim-terraform' use 'khaveesh/vim-fish-syntax' use 'lewis6991/gitsigns.nvim' use 'tpope/vim-rsi' use 'tpope/vim-vinegar' use { 'nvim-telescope/telescope.nvim', requires = 'nvim-lua/plenary.nvim' } use { 'w0rp/ale', ft = { 'bash', 'sh', 'zsh', 'lua', 'python' }, cmd = 'ALEEnable' } end if require('packer_init').init(plugins) then return end --[[ plugin configs and maps ]] require('gitsigns').setup() map('n', '?', 'Cheat40') map('n', '.', 'Telescope git_files') map('n', ',', 'Telescope buffers') --[[ theme ]] vim.g.solarized_extra_hi_groups = 1 vim.o.termguicolors = true vim.o.bg = 'light' vim.cmd [[colorscheme solarized8]]