summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2018-02-13 23:47:17 +0100
committerAhmed Abdelhalim <[email protected]>2018-02-13 23:47:17 +0100
commit4398873480fae65cccbd278b6ad21fcae0322bb5 (patch)
tree68e9532782ab32f482102557e4cfa8ba8730664c
parentb00325f993c1835fd80029101af7607acf88d1b6 (diff)
Allow python configurations
-rw-r--r--.vimrc12
1 files changed, 3 insertions, 9 deletions
diff --git a/.vimrc b/.vimrc
index a3aff3b..fce05c4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -32,12 +32,11 @@ Plug 'honza/vim-snippets'
Plug 'majutsushi/tagbar'
" Plug 'szw/vim-ctrlspace'
" Plug 'vim-ruby/vim-ruby'
-" Plug 'nvie/vim-flake8'
+Plug 'nvie/vim-flake8', { 'for': 'python' }
" Plug 'mustache/vim-mustache-handlebars'
" Plug 'diepm/vim-rest-console'
Plug 'nathanaelkane/vim-indent-guides'
Plug 'mhinz/vim-startify'
-Plug 'ElmCast/elm-vim', { 'for': 'elm' }
Plug 'posva/vim-vue', { 'for': ['js', 'vue'] }
Plug 'slim-template/vim-slim', { 'for': 'slim' }
call plug#end()
@@ -139,7 +138,7 @@ nnoremap <silent> <leader>mj <C-W>J
"set omnifunc=htmlcomplete#CompleteTags
"set omnifunc=phpcomplete#CompletePHP
"set omnifunc=javascriptcomplete#CompleteJS
-"set omnifunc=pythoncomplete#Complete
+set omnifunc=pythoncomplete#Complete
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Specific FileTypes configurations
@@ -176,7 +175,7 @@ let &colorcolumn="80,".join(range(121,999),",")
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"YouCompleteMe
"=============
-let g:ycm_semantic_triggers = {'elm' : ['.'],}
+let g:ycm_python_binary_path = '/usr/local/bin/python3'
"NerdTree"
"=========
@@ -254,8 +253,3 @@ let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
let g:indent_guides_auto_colors = 0
highlight IndentGuidesEven ctermbg=235
-
-"ElmVim
-"======
-let g:elm_setup_keybindings = 0
-let g:elm_format_autosave = 0