1
0
Fork 0

neovim: Remove Shougo plugins

This commit is contained in:
Jeremy Kaplan 2019-09-24 21:51:41 -07:00
commit 8b5ddd6a7b
3 changed files with 34 additions and 66 deletions

6
.gitmodules vendored
View file

@ -7,6 +7,6 @@
[submodule "tako/plugins"] [submodule "tako/plugins"]
path = tako/plugins path = tako/plugins
url = https://gitlab.com/jdkaplan/tako-plugins.git url = https://gitlab.com/jdkaplan/tako-plugins.git
[submodule "neovim/neosnippets"] [submodule "neovim/plugins/github.com/junegunn/vim-plug"]
path = neovim/neosnippets path = neovim/plugins/github.com/junegunn/vim-plug
url = https://github.com/Shougo/neosnippet-snippets.git url = https://github.com/junegunn/vim-plug.git

1
neovim/autoload/plug.vim Symbolic link
View file

@ -0,0 +1 @@
../plugins/github.com/junegunn/vim-plug/plug.vim

View file

@ -6,51 +6,36 @@ let &shell = '/bin/sh'
let g:python3_host_prog = expand('~/.virtualenvs/neovim3/bin/python') let g:python3_host_prog = expand('~/.virtualenvs/neovim3/bin/python')
let g:python_host_prog = expand('~/.virtualenvs/neovim2/bin/python') let g:python_host_prog = expand('~/.virtualenvs/neovim2/bin/python')
set runtimepath+=~/.config/nvim/plugins/repos/github.com/Shougo/dein.vim set runtimepath+=~/.config/nvim/autoload
call plug#begin('~/.local/share/nvim/plugged')
if dein#load_state('~/.config/nvim/plugins') Plug 'airblade/vim-gitgutter'
call dein#begin('~/.config/nvim/plugins') Plug 'airblade/vim-rooter'
Plug 'cespare/vim-toml'
call dein#add('airblade/vim-gitgutter') Plug 'dense-analysis/ale'
call dein#add('airblade/vim-rooter') Plug 'elixir-editors/vim-elixir'
call dein#add('cespare/vim-toml') Plug 'fatih/vim-go'
call dein#add('dense-analysis/ale') Plug 'glts/vim-textobj-comment'
call dein#add('elixir-editors/vim-elixir') Plug 'ianks/vim-tsx'
call dein#add('fatih/vim-go') Plug 'jeetsukumaran/vim-buffergator'
call dein#add('glts/vim-textobj-comment') Plug 'jiangmiao/auto-pairs'
call dein#add('ianks/vim-tsx') Plug 'jparise/vim-graphql'
call dein#add('jeetsukumaran/vim-buffergator') Plug 'junegunn/fzf'
call dein#add('jiangmiao/auto-pairs') Plug 'junegunn/fzf.vim'
call dein#add('jparise/vim-graphql') Plug 'kana/vim-textobj-user'
call dein#add('junegunn/fzf') Plug 'leafgarland/typescript-vim'
call dein#add('junegunn/fzf.vim') Plug 'LnL7/vim-nix'
call dein#add('kana/vim-textobj-user') Plug 'mxw/vim-jsx'
call dein#add('leafgarland/typescript-vim') Plug 'ntpeters/vim-better-whitespace'
call dein#add('LnL7/vim-nix') Plug 'MarcWeber/vim-addon-local-vimrc'
call dein#add('mxw/vim-jsx') Plug 'pangloss/vim-javascript'
call dein#add('ntpeters/vim-better-whitespace') Plug 'plasticboy/vim-markdown'
call dein#add('MarcWeber/vim-addon-local-vimrc') Plug 'scrooloose/nerdtree'
call dein#add('pangloss/vim-javascript') Plug 'tpope/vim-abolish'
call dein#add('plasticboy/vim-markdown') Plug 'tpope/vim-commentary'
call dein#add('scrooloose/nerdtree') Plug 'tpope/vim-repeat'
call dein#add('Shougo/dein.vim') " let dein manage itself Plug 'tpope/vim-surround'
call dein#add('Shougo/deoplete.nvim') Plug 'vim-python/python-syntax'
call dein#add('Shougo/neosnippet.vim') call plug#end()
call dein#add('tpope/vim-abolish')
call dein#add('tpope/vim-commentary')
call dein#add('tpope/vim-repeat')
call dein#add('tpope/vim-surround')
call dein#add('vim-python/python-syntax')
call dein#add('zchee/deoplete-go', {'build': 'make'})
call dein#add('zchee/deoplete-jedi')
call dein#end()
call dein#save_state()
endif
if dein#check_install()
call dein#install()
endif
filetype plugin indent on filetype plugin indent on
syntax enable syntax enable
@ -148,14 +133,6 @@ map <silent> ;* :call fzf#run({
\ 'options': '+m', \ 'options': '+m',
\})<CR> \})<CR>
let g:deoplete#enable_at_startup = 1
let g:deoplete#disable_auto_complete = 1
inoremap <expr> <C-n> deoplete#mappings#manual_complete()
autocmd CompleteDone * silent! pclose!
set completeopt+=noselect
set completeopt+=menuone
set completeopt+=longest
let g:ale_sign_error = '!' let g:ale_sign_error = '!'
let g:ale_sign_warning = '?' let g:ale_sign_warning = '?'
let g:ale_echo_msg_format = '%linter%: %s' let g:ale_echo_msg_format = '%linter%: %s'
@ -241,7 +218,6 @@ let g:go_highlight_operators = 1
let g:go_highlight_structs = 1 let g:go_highlight_structs = 1
let g:go_highlight_types = 1 let g:go_highlight_types = 1
let g:go_fmt_command = "goimports" let g:go_fmt_command = "goimports"
let g:go_snippet_engine = "neosnippet"
let g:buffergator_viewport_split_policy = 'B' let g:buffergator_viewport_split_policy = 'B'
let g:buffergator_autoupdate = 1 let g:buffergator_autoupdate = 1
@ -252,15 +228,6 @@ let g:buffergator_suppress_keymaps = 1
let g:buffergator_autodismiss_on_select = 0 let g:buffergator_autodismiss_on_select = 0
map <silent> <leader>b :BuffergatorToggle<CR> map <silent> <leader>b :BuffergatorToggle<CR>
let g:neosnippet#snippets_directory='~/.config/nvim/neosnippets/neosnippets'
let g:neosnippet#disable_runtime_snippets = {
\ '_' : 1,
\}
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
let g:neosnippet#enable_completed_snippet=1
let g:rooter_manual_only = 1 let g:rooter_manual_only = 1
let g:rooter_patterns = ['.root', '.git', '.git/'] let g:rooter_patterns = ['.root', '.git', '.git/']
noremap <silent> <leader>cd :execute 'cd' fnameescape(FindRootDirectory())<CR>:pwd<CR> noremap <silent> <leader>cd :execute 'cd' fnameescape(FindRootDirectory())<CR>:pwd<CR>