From 812f8ce4d6d10e38105fc069a6c2abb96085ef18 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 12 Jul 2019 14:44:30 +0200 Subject: [Python] Python-mode fantastic IDE --- .gitmodules | 3 +++ bundle/python-mode | 1 + colors/blue.vim | 2 ++ vimrc | 10 +++++++++- 4 files changed, 15 insertions(+), 1 deletion(-) create mode 160000 bundle/python-mode diff --git a/.gitmodules b/.gitmodules index cfa1ded..5198353 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,6 @@ [submodule "bundle/vim-plug"] path = bundle/vim-plug url = https://github.com/junegunn/vim-plug.git +[submodule "bundle/python-mode"] + path = bundle/python-mode + url = https://github.com/python-mode/python-mode diff --git a/bundle/python-mode b/bundle/python-mode new file mode 160000 index 0000000..f61b74a --- /dev/null +++ b/bundle/python-mode @@ -0,0 +1 @@ +Subproject commit f61b74a062c74f2af6e593e2722e500c716f6f9b diff --git a/colors/blue.vim b/colors/blue.vim index fb5415a..e88c1f9 100644 --- a/colors/blue.vim +++ b/colors/blue.vim @@ -720,6 +720,8 @@ if has("gui_running") || &t_Co >= 255 hi! EasyMotionTarget ctermfg=46 cterm=bold ctermbg=none hi! EasyMotionShadeDefault ctermfg=240 + hi! SignColumn ctermbg=none + elseif &t_Co >= 88 hi! Comment ctermfg=81 cterm=bold hi! Constant ctermfg=65 cterm=none diff --git a/vimrc b/vimrc index 79300c5..5cf1caa 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,6 @@ -execute pathogen#infect() +call pathogen#infect() +call pathogen#helptags() call plug#begin('~/.vim/plugged') Plug 'junegunn/vim-easy-align' @@ -537,3 +538,10 @@ augroup Todo autocmd FileType vimwiki set syn=todo augroup END +augroup PyMode + let g:pymode_lint_on_fly = 1 + let g:pymode_lint_unmodified = 1 + + autocmd FileType * set signcolumn=auto + autocmd FileType python set signcolumn=yes +augroup END -- cgit v1.2.3