Build and coc fixes
This commit is contained in:
@@ -33,6 +33,8 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|||||||
" elm
|
" elm
|
||||||
Plug 'elmcast/elm-vim'
|
Plug 'elmcast/elm-vim'
|
||||||
|
|
||||||
|
" Python
|
||||||
|
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
|
||||||
|
|
||||||
" DOcumentation GEneraton
|
" DOcumentation GEneraton
|
||||||
Plug 'kkoomen/vim-doge'
|
Plug 'kkoomen/vim-doge'
|
||||||
@@ -101,6 +103,9 @@ let g:ale_sign_warning = '\ '
|
|||||||
let g:ale_fixers = {
|
let g:ale_fixers = {
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||||
\}
|
\}
|
||||||
|
let g:ale_linters = {
|
||||||
|
\ 'python': ['flake8']
|
||||||
|
\}
|
||||||
|
|
||||||
let g:airline_theme='badwolf'
|
let g:airline_theme='badwolf'
|
||||||
|
|
||||||
@@ -125,6 +130,14 @@ autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif
|
|||||||
" Allow use of :Prettier
|
" Allow use of :Prettier
|
||||||
command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
||||||
|
|
||||||
|
call coc#config('python', {
|
||||||
|
\ 'jediEnabled': v:false,
|
||||||
|
\ 'venvPath': '~/.cache/pypoetry/virtualenvs'
|
||||||
|
\ })
|
||||||
|
|
||||||
|
" Disable deprecated python2 provider
|
||||||
|
let g:loaded_python_provider = 0
|
||||||
|
|
||||||
" === NeoSnippet === "
|
" === NeoSnippet === "
|
||||||
" Map <C-k> as shortcut to activate snippet if available
|
" Map <C-k> as shortcut to activate snippet if available
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
@@ -137,7 +150,6 @@ let g:neosnippet#snippets_directory='~/.config/nvim/snippets'
|
|||||||
" Hide conceal markers
|
" Hide conceal markers
|
||||||
let g:neosnippet#enable_conceal_markers = 0
|
let g:neosnippet#enable_conceal_markers = 0
|
||||||
|
|
||||||
|
|
||||||
" === Vim airline ==== "
|
" === Vim airline ==== "
|
||||||
" Enable extensions
|
" Enable extensions
|
||||||
let g:airline_extensions = ['branch', 'hunks', 'coc']
|
let g:airline_extensions = ['branch', 'hunks', 'coc']
|
||||||
@@ -217,6 +229,3 @@ endfunction
|
|||||||
if exists('g:loaded_webdevicons')
|
if exists('g:loaded_webdevicons')
|
||||||
call webdevicons#refresh()
|
call webdevicons#refresh()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Disable deprecated python2 provider
|
|
||||||
let g:loaded_python_provider = 0
|
|
||||||
|
|||||||
@@ -10,9 +10,7 @@ if [ ! -f $plug_target ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing neovim support";
|
echo "Installing neovim support";
|
||||||
pip3 install neovim
|
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring && pip3 install --user neovim pynvim 'python-language-server[all]'
|
||||||
pip3 install pynvim
|
|
||||||
node --version
|
|
||||||
npm install -g neovim elm-format
|
npm install -g neovim elm-format
|
||||||
sudo gem install neovim
|
sudo gem install neovim
|
||||||
|
|
||||||
|
|||||||
@@ -14,5 +14,3 @@ if not_installed "kubectl"; then
|
|||||||
install kubectl
|
install kubectl
|
||||||
refresh
|
refresh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kubectl version
|
|
||||||
|
|||||||
Reference in New Issue
Block a user