From 039562c37f3d97a54f5dcb45a1df723b37119e82 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 9 Mar 2021 10:45:01 -0700 Subject: python autocompletes --- init.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index 1556676..125a1ac 100644 --- a/init.vim +++ b/init.vim @@ -13,7 +13,7 @@ Plug 'tpope/vim-surround' " Helps with surrounding text Plug 'tpope/vim-repeat' " Enable Repeating of plugin maps Plug 'Thornycrackers-Forks/nord-vim' " Pretty colorscheme Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " Autocomplete -"Plug 'deoplete-plugins/deoplete-jedi' " Jedi integration with deoplete +Plug 'deoplete-plugins/deoplete-jedi' " Jedi integration with deoplete " can't find plugin right now Plug 'rbgrouleff/bclose.vim' " Ranger dep for neovim Plug 'francoiscabrol/ranger.vim' " Ranger integration @@ -33,6 +33,7 @@ Plug 'godlygeek/tabular' " Formatting code Plug 'vim-scripts/camelcasemotion' " Additional word objects Plug 'LnL7/vim-nix' " Nix for vim Plug 'easymotion/vim-easymotion' " faster jumping +Plug 'ervandew/supertab' " Tab for complete " File Type Specific Plug 'ledger/vim-ledger' " Ledger plugin @@ -51,4 +52,8 @@ let g:ale_lint_on_enter = 0 " Deoplete let g:deoplete#enable_at_startup = 1 + +" Manually set python cause NixOS +let g:deoplete#sources#jedi#python_path = '/nix/store/v4kkz8a1lf4y21dyq8qwhyr2nvl5n0i3-python3-3.8.5-env/bin/python3' +" let g:python3_host_prog = '/nix/store/v4kkz8a1lf4y21dyq8qwhyr2nvl5n0i3-python3-3.8.5-env/bin/python3' "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3