aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-10-12 19:05:10 -0600
committerCody Hiar <codyfh@gmail.com>2017-10-12 19:05:10 -0600
commit37051468f0ef7c63fddc7d11c6f6b4d937384742 (patch)
tree4724398c0cce85d28dafae775ceee321ca851ec3
parentbffa058034a743ca83c01d5203a268ceeed03e88 (diff)
Adding back deoplete, misc options
-rw-r--r--plugin/vim-options.vim17
1 files changed, 14 insertions, 3 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 35d6a63..00ea963 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -164,9 +164,9 @@ nnoremap <leader>df :diffput<CR>
nnoremap _ [c
nnoremap = ]c
" Open folder of current file
-nnoremap <leader>nn :e %:p:h<CR>
+nnoremap <leader>n :e %:p:h<CR>
" Open NERDTree
-nnoremap <leader>nm :e.<CR>
+nnoremap <leader>m :e.<CR>
" Function for saving session
function! SaveSession()
:mksession! $SessionDir/session.vim
@@ -460,7 +460,8 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/ale/autoload/ale.vim'))
let g:ale_sign_column_always = 1
- let g:ale_lint_on_insert_leave = 1
+ let g:ale_lint_on_text_changed = 'never'
+ let g:ale_python_mypy_options='--ignore-missing-imports'
highlight clear ALEErrorSign
highlight clear ALEWarningSign
endif
@@ -469,6 +470,16 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
+" Deoplete
+"-----------------------------------------------------------------------------------------------------------------------
+if !empty(glob($EditorDir.'plugged/deoplete.nvim/plugin/deoplete.vim'))
+ let g:deoplete#enable_at_startup = 1
+endif
+"-----------------------------------------------------------------------------------------------------------------------
+
+
+
+"-----------------------------------------------------------------------------------------------------------------------
" Basic movements (h, j, k, l) require a number prefix. Break bad habits
"-----------------------------------------------------------------------------------------------------------------------
function! DisableIfNonCounted(move) range