call plug#begin()
 Plug 'dense-analysis/ale'
 Plug 'rodjek/vim-puppet'
 Plug 'itchyny/lightline.vim'
 Plug 'gerases/vim-rspec-puppet'
call plug#end()

let g:ale_sh_shellcheck_options = '-s bash'
let g:ale_fixers = {'python': ['black', 'isort']}
let g:ale_completion_enabled = 1
let g:lightline = {
      \ 'colorscheme': 'wombat',
      \ }
nnoremap <silent> <leader>t :call Run_Spec()<CR>
nnoremap <leader>rl :call Run_Spec(line('.'))<CR>
nnoremap <leader>A :ALEFix<cr>
nnoremap yoA :ALEToggle<cr>
nnoremap [W :ALEFirst<cr>
nnoremap ]W :ALELast<cr>
nnoremap [w :ALEPrevious<cr>
nnoremap ]w :ALENext<cr>
" sort in visual using tab
vnoremap <tab> :sort<cr>
nmap gd :ALEGoToDefinition<CR>
nmap gr :ALEFindReferences<CR>
let g:ale_sign_column_always=1
let g:ale_change_sign_column_color=1
:highlight SignColumn ctermbg=238
set laststatus=2
set paste
"colorscheme google
"colorscheme smarties
"colorscheme ego
"colorscheme madeofcode
"colorscheme h80
colorscheme badwolf
