diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 4c63f32..d137365 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -1,4 +1,4 @@ -let g:ale_python_flake8_options = '--ignore=E501,E402' +let g:ale_python_flake8_options = '--extend-ignore=E203,E501,E701 --extend-select=B950 --max-line-length=80' let g:ale_linters = { \ 'python': ['flake8'], diff --git a/syntax/csv.vim b/syntax/csv.vim index 0b27725..0ca1ce3 100644 --- a/syntax/csv.vim +++ b/syntax/csv.vim @@ -1,14 +1,10 @@ runtime! syntax/sep.vim -syn match Ttrue / \zsTRUE\s*\ze\( \|$\)/ -hi def link Ttrue greenbg - -syn match Tfalse / \zsFALSE\s*\ze\( \|$\)/ -hi def link Tfalse redbg - -syn match Tna / \zsNA\s*\ze\( \|$\)/ -hi def link Tna bluebg +syn match Ttrue / \zs1\s*\ze\( \|$\)/ +hi def link Ttrue base2bg +" syn match Tfalse / \zs0\s*\ze\( \|$\)/ +" hi def link Tfalse redbg syn match Tcolumn6 /.\{-}\(,\|$\)/ nextgroup=Tcolumn0 contains=Ttrue,Tfalse,Tna syn match Tcolumn5 /.\{-}\(,\|$\)/ nextgroup=Tcolumn6 contains=Ttrue,Tfalse,Tna diff --git a/vimrc b/vimrc index 622bb2e..8783463 100644 --- a/vimrc +++ b/vimrc @@ -113,8 +113,8 @@ vmap nnoremap gn :GitGutterNextHunk nnoremap gp :GitGutterPrevHunk nnoremap gv :Gvdiffsplit -nnoremap an :ALENext -nnoremap ap :ALEPrevious +nnoremap n :ALENext +nnoremap p :ALEPrevious inoremap (pumvisible() ? "\\" : "\") nnoremap n nnoremap N