]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/python/pylint.vim
S-F6 is changed with the new tmux
[dotfiles.git] / vim / .vim / ftplugin / python / pylint.vim
index 4a61ee3d317ffa9dd45eae003b0b635cf4d8a02f..f0dd0a7ac0a3387e7368dfa0fa64d3f01699e669 100644 (file)
@@ -67,7 +67,7 @@ function! PylintStart()
         \"too-many-public-methods",
         \"no-value-for-parameter",
     \]
-    if !exists("g:pylint_linter") | let g:pylint_linter = "flake8" | endif
+    if !exists("g:pylint_linter") | let g:pylint_linter = "pylint" | endif
     if g:pylint_linter == "flake8"
         let cmdline = [
             \"flake8",
@@ -84,6 +84,7 @@ function! PylintStart()
             \"--msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}",
             \"--disable=" . join(ignores, ","),
             \"--persistent=n",
+            \"--score=no",
             \expand("%p")
         \]
     else
@@ -94,5 +95,5 @@ function! PylintStart()
 endfunction()
 
 map <F6> :unlet! g:pylint_disable<CR>:call PylintStart()<CR>
-map \e[17;2~ :redraw!<CR>:copen<CR>
+map \e[32~ :redraw!<CR>:copen<CR>
 autocmd BufWritePost *.py call PylintStart()