diff options
author | Vasil Zlatanov <v@skozl.com> | 2019-06-24 19:33:50 +0100 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2019-06-24 19:33:50 +0100 |
commit | af7ec00730e5858a8d0136dc9b64fc5eedd9cfe2 (patch) | |
tree | 6ca654e31fd8967e4d4f9aa5c9a8e60a9fb9cae2 /Editor/vimrc | |
parent | 0994d1fb78fe205de4b6f90232f5eb29c78697a7 (diff) | |
download | dotfiles-af7ec00730e5858a8d0136dc9b64fc5eedd9cfe2.tar.gz dotfiles-af7ec00730e5858a8d0136dc9b64fc5eedd9cfe2.tar.bz2 dotfiles-af7ec00730e5858a8d0136dc9b64fc5eedd9cfe2.zip |
Add proper linting/completion for perl
Diffstat (limited to 'Editor/vimrc')
-rw-r--r-- | Editor/vimrc | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Editor/vimrc b/Editor/vimrc index e4a81cf..0d2dcdc 100644 --- a/Editor/vimrc +++ b/Editor/vimrc @@ -16,10 +16,11 @@ Plugin 'tpope/vim-surround' Plugin 'tpope/vim-repeat' "" fancy ass ide stuff Plugin 'Shougo/deoplete.nvim' +Plugin 'zchee/deoplete-clang' +Plugin 'deoplete-plugins/deoplete-jedi' Plugin 'bling/vim-airline' Plugin 'tpope/vim-fugitive' Plugin 'vim-airline/vim-airline-themes' -"Plugin 'zchee/deoplete-clang' ""Plugin 'Valloric/YouCompleteMe' "Plugin 'SirVer/ultisnips' "Plugin 'honza/vim-snippets' @@ -32,6 +33,9 @@ Plugin 'neomutt/neomutt.vim' "Plugin 'plasticboy/vim-markdown' Plugin 'rhysd/vim-grammarous' Plugin 'chriskempson/base16-vim' +Plugin 'benizi/vim-automkdir' +Plugin 'w0rp/ale' +Plugin 'vim-perl/vim-perl' call vundle#end() " required filetype plugin indent on " required @@ -164,11 +168,17 @@ autocmd BufWinLeave * call clearmatches() "Airline symbols let g:airline_powerline_fonts = 1 - let g:vim_markdown_folding_disabled = 1 - let g:airline_theme='base16' - +let g:airline#extensions#ale#enabled = 1 + +let g:ale_set_loclist = 0 +let g:ale_set_quickfix = 1 +let g:ale_linters = { 'perl': ['perl', 'perlcritic'] } +let g:ale_perl_perl_options = '-cW -Ilib -I./' +let g:ale_perl_perlcritic_options = '--stern' +let g:ale_lint_on_text_changed = 'normal' +let g:ale_lint_on_insert_leave = 1 " Modify The ColorScheme to show Italic and Bold in Markdown. " Italicise comments and Type's |