update supertab
This commit is contained in:
parent
34aa88aa30
commit
f125756dbd
5 changed files with 27 additions and 513 deletions
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"coc-go": ">=0.6.2",
|
"coc-go": ">=0.9.2",
|
||||||
"coc-json": ">=1.2.6",
|
"coc-json": ">=1.2.6",
|
||||||
"coc-python": ">=1.2.12",
|
"coc-python": ">=1.2.12",
|
||||||
"coc-snippets": ">=2.1.26"
|
"coc-snippets": ">=2.2.1",
|
||||||
|
"coc-solargraph": ">=1.1.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
"suggest.enablePreview": true,
|
"suggest.enablePreview": true,
|
||||||
"suggest.enablePreselect": false,
|
"suggest.enablePreselect": false,
|
||||||
"suggest.noselect": true,
|
"suggest.noselect": true,
|
||||||
|
|
||||||
|
//"solargraph.useBundler": true,
|
||||||
"diagnostic.displayByAle": false,
|
"diagnostic.displayByAle": false,
|
||||||
"diagnostic.checkCurrentLine": true,
|
"diagnostic.checkCurrentLine": true,
|
||||||
"python.linting.pylintEnabled": false,
|
"python.linting.pylintEnabled": false,
|
||||||
|
|
@ -25,11 +27,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"golang": {
|
// "golang": {
|
||||||
"command": "gopls",
|
// "command": "gopls",
|
||||||
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
// "rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||||
"filetypes": ["go"]
|
// "filetypes": ["go"]
|
||||||
}
|
//}
|
||||||
},
|
},
|
||||||
"python.autoComplete.extraPaths": [
|
"python.autoComplete.extraPaths": [
|
||||||
"${env:SPARK_HOME}/python",
|
"${env:SPARK_HOME}/python",
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ hi Normal ctermfg=253 ctermbg=NONE
|
||||||
" -------------
|
" -------------
|
||||||
" any comment
|
" any comment
|
||||||
hi Comment guifg=#238e23 gui=italic
|
hi Comment guifg=#238e23 gui=italic
|
||||||
hi Comment ctermfg=34 cterm=none
|
hi Comment ctermfg=34 cterm=italic
|
||||||
|
|
||||||
|
|
||||||
" Constant Group
|
" Constant Group
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
20
.vimrc
20
.vimrc
|
|
@ -85,6 +85,11 @@ if exists('gnvim')
|
||||||
set guifont=Droid\ Sans\ Mono\ Dotted:h15
|
set guifont=Droid\ Sans\ Mono\ Dotted:h15
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" * Polyglot
|
||||||
|
|
||||||
|
let g:tex_flavor = 'latex'
|
||||||
|
let g:polyglot_disabled = ['latex']
|
||||||
|
|
||||||
" Required:
|
" Required:
|
||||||
set runtimepath+=/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim
|
set runtimepath+=/home/barak/.vim/bundle/repos/github.com/Shougo/dein.vim
|
||||||
|
|
||||||
|
|
@ -121,6 +126,7 @@ Plug 'tpope/vim-surround'
|
||||||
Plug 'junegunn/vim-easy-align'
|
Plug 'junegunn/vim-easy-align'
|
||||||
Plug 'bps/vim-textobj-python'
|
Plug 'bps/vim-textobj-python'
|
||||||
|
|
||||||
|
|
||||||
" Plugins I NEED
|
" Plugins I NEED
|
||||||
Plug 'scrooloose/nerdcommenter'
|
Plug 'scrooloose/nerdcommenter'
|
||||||
"Plug 'sjbach/lusty'
|
"Plug 'sjbach/lusty'
|
||||||
|
|
@ -140,6 +146,7 @@ Plug 'tpope/vim-abolish'
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
Plug 'Shougo/denite.nvim'
|
Plug 'Shougo/denite.nvim'
|
||||||
Plug 'plytophogy/vim-virtualenv'
|
Plug 'plytophogy/vim-virtualenv'
|
||||||
|
Plug 'ervandew/supertab'
|
||||||
|
|
||||||
|
|
||||||
" Plugins I NEEDED
|
" Plugins I NEEDED
|
||||||
|
|
@ -212,6 +219,8 @@ nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
nmap <silent> gi <Plug>(coc-implementation)
|
nmap <silent> gi <Plug>(coc-implementation)
|
||||||
nmap <silent> gr <Plug>(coc-references)
|
nmap <silent> gr <Plug>(coc-references)
|
||||||
|
|
||||||
|
imap <Leader>, <Plug>(coc-snippets-expand)
|
||||||
|
|
||||||
" Use K to show documentation in preview window
|
" Use K to show documentation in preview window
|
||||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||||
|
|
||||||
|
|
@ -277,6 +286,8 @@ setlocal cursorline
|
||||||
|
|
||||||
|
|
||||||
" ** PLUGIN CONFIGURATION **
|
" ** PLUGIN CONFIGURATION **
|
||||||
|
" * SuperTab
|
||||||
|
let g:SuperTabDefaultCompletionType = "<c-n>"
|
||||||
"
|
"
|
||||||
" Change the source rank
|
" Change the source rank
|
||||||
"call deoplete#custom#option('sources', {
|
"call deoplete#custom#option('sources', {
|
||||||
|
|
@ -311,8 +322,6 @@ let g:syntastic_auto_loc_list = 2
|
||||||
let g:syntastic_loc_list_height = 10
|
let g:syntastic_loc_list_height = 10
|
||||||
" E111 = Spaces should be multiples of 4. I use 2.
|
" E111 = Spaces should be multiples of 4. I use 2.
|
||||||
"
|
"
|
||||||
" * Polyglot
|
|
||||||
let g:polyglot_disabled = ['latex']
|
|
||||||
|
|
||||||
" * ALE
|
" * ALE
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
|
@ -342,12 +351,15 @@ let g:LustyJugglerShowKeys = 'a'
|
||||||
let g:buftabs_only_basename = 1
|
let g:buftabs_only_basename = 1
|
||||||
"let g:buftabs_in_statusline=1
|
"let g:buftabs_in_statusline=1
|
||||||
|
|
||||||
" Bufferline
|
" * Bufferline
|
||||||
let g:bufferline_echo = 0
|
let g:bufferline_echo = 0
|
||||||
let g:bufferline_modified = '+'
|
let g:bufferline_modified = '+'
|
||||||
let g:bufferline_show_bufnr = 1
|
let g:bufferline_show_bufnr = 1
|
||||||
let g:bufferline_rotate = 1
|
let g:bufferline_rotate = 1
|
||||||
|
|
||||||
|
" * auto-pairs
|
||||||
|
let g:AutoPairsMultilineClose = 0
|
||||||
|
|
||||||
" * NERDTree
|
" * NERDTree
|
||||||
"let g:NERDChristmasTree = 1
|
"let g:NERDChristmasTree = 1
|
||||||
"let g:NERDChristmasTree = 1
|
"let g:NERDChristmasTree = 1
|
||||||
|
|
@ -398,7 +410,7 @@ let g:ycm_use_ultisnips_completer = 1
|
||||||
|
|
||||||
" * UltiSnips
|
" * UltiSnips
|
||||||
let g:UltiSnipsSnippetDirectories=["UltiSnips", "usnips"]
|
let g:UltiSnipsSnippetDirectories=["UltiSnips", "usnips"]
|
||||||
let g:UltiSnipsExpandTrigger="<Leader>,"
|
"let g:UltiSnipsExpandTrigger="<Leader>,"
|
||||||
let g:UltiSnipsJumpForwardTrigger="<Leader>,"
|
let g:UltiSnipsJumpForwardTrigger="<Leader>,"
|
||||||
let g:UltiSnipsJumpBackwardTrigger="<Leader><s-,>"
|
let g:UltiSnipsJumpBackwardTrigger="<Leader><s-,>"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue