aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-10-06 12:43:08 -0600
committerCody Hiar <codyfh@gmail.com>2017-10-06 12:43:08 -0600
commit7dce4c19d1afafc43bc9090f18be98275733fcf1 (patch)
tree319e769ae83d0698c3a917280cf154377a293f46
parentad286a72da50000f9837cd4cf64f6fc4b4ee3b43 (diff)
Adding mypy, testing out ale instead of syntastic
-rw-r--r--plugin/vim-options.vim17
1 files changed, 15 insertions, 2 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 1342359..1cdfa58 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -88,7 +88,7 @@ hi User1 ctermfg=NONE ctermbg=NONE cterm=bold
hi User3 ctermfg=NONE ctermbg=NONE
hi User2 ctermfg=NONE ctermbg=NONE
" Change gutter color
-highlight SignColumn cterm=NONE ctermfg=0 ctermbg=8
+highlight SignColumn cterm=NONE ctermfg=0 ctermbg=None
" Highlight long lines at 80 mark
highlight ColorColumn ctermbg=cyan
au BufNewFile,BufRead * call matchadd('ColorColumn', '\%81v', 100)
@@ -340,6 +340,7 @@ endif
if !empty(glob($EditorDir.'plugged/syntastic/plugin/syntastic.vim'))
let g:syntastic_php_checkers = ['php', 'phpcs']
let g:syntastic_javascript_checkers = ['eslint']
+ let g:syntastic_python_checkers = ['pyton3', 'flake8', 'mypy']
let g:syntastic_scss_checkers = ['sass_lint']
let g:syntastic_php_phpcs_args = "--standard=/root/PEARish.xml,PSR2,Symfony2"
let g:syntastic_always_populate_loc_list = 1
@@ -443,7 +444,7 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
-" Vim EasyMotion
+" EasyMotion
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/vim-easymotion/autoload/EasyMotion.vim'))
" <Leader>f{char} to move to {char}{char}
@@ -455,6 +456,18 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
+" Ale
+"-----------------------------------------------------------------------------------------------------------------------
+if !empty(glob($EditorDir.'plugged/ale/autoload/ale.vim'))
+ let g:ale_sign_column_always = 1
+ highlight clear ALEErrorSign
+ highlight clear ALEWarningSign
+endif
+"-----------------------------------------------------------------------------------------------------------------------
+
+
+
+"-----------------------------------------------------------------------------------------------------------------------
" Basic movements (h, j, k, l) require a number prefix. Break bad habits
"-----------------------------------------------------------------------------------------------------------------------
function! DisableIfNonCounted(move) range