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": {
|
||||
"coc-go": ">=0.6.2",
|
||||
"coc-go": ">=0.9.2",
|
||||
"coc-json": ">=1.2.6",
|
||||
"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.enablePreselect": false,
|
||||
"suggest.noselect": true,
|
||||
|
||||
//"solargraph.useBundler": true,
|
||||
"diagnostic.displayByAle": false,
|
||||
"diagnostic.checkCurrentLine": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
|
|
@ -25,11 +27,11 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"golang": {
|
||||
"command": "gopls",
|
||||
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||
"filetypes": ["go"]
|
||||
}
|
||||
// "golang": {
|
||||
// "command": "gopls",
|
||||
// "rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||
// "filetypes": ["go"]
|
||||
//}
|
||||
},
|
||||
"python.autoComplete.extraPaths": [
|
||||
"${env:SPARK_HOME}/python",
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ hi Normal ctermfg=253 ctermbg=NONE
|
|||
" -------------
|
||||
" any comment
|
||||
hi Comment guifg=#238e23 gui=italic
|
||||
hi Comment ctermfg=34 cterm=none
|
||||
hi Comment ctermfg=34 cterm=italic
|
||||
|
||||
|
||||
" 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
|
||||
endif
|
||||
|
||||
" * Polyglot
|
||||
|
||||
let g:tex_flavor = 'latex'
|
||||
let g:polyglot_disabled = ['latex']
|
||||
|
||||
" Required:
|
||||
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 'bps/vim-textobj-python'
|
||||
|
||||
|
||||
" Plugins I NEED
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
"Plug 'sjbach/lusty'
|
||||
|
|
@ -140,6 +146,7 @@ Plug 'tpope/vim-abolish'
|
|||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'Shougo/denite.nvim'
|
||||
Plug 'plytophogy/vim-virtualenv'
|
||||
Plug 'ervandew/supertab'
|
||||
|
||||
|
||||
" Plugins I NEEDED
|
||||
|
|
@ -212,6 +219,8 @@ nmap <silent> gy <Plug>(coc-type-definition)
|
|||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
imap <Leader>, <Plug>(coc-snippets-expand)
|
||||
|
||||
" Use K to show documentation in preview window
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
|
|
@ -277,6 +286,8 @@ setlocal cursorline
|
|||
|
||||
|
||||
" ** PLUGIN CONFIGURATION **
|
||||
" * SuperTab
|
||||
let g:SuperTabDefaultCompletionType = "<c-n>"
|
||||
"
|
||||
" Change the source rank
|
||||
"call deoplete#custom#option('sources', {
|
||||
|
|
@ -311,8 +322,6 @@ let g:syntastic_auto_loc_list = 2
|
|||
let g:syntastic_loc_list_height = 10
|
||||
" E111 = Spaces should be multiples of 4. I use 2.
|
||||
"
|
||||
" * Polyglot
|
||||
let g:polyglot_disabled = ['latex']
|
||||
|
||||
" * ALE
|
||||
let g:airline#extensions#ale#enabled = 1
|
||||
|
|
@ -342,12 +351,15 @@ let g:LustyJugglerShowKeys = 'a'
|
|||
let g:buftabs_only_basename = 1
|
||||
"let g:buftabs_in_statusline=1
|
||||
|
||||
" Bufferline
|
||||
" * Bufferline
|
||||
let g:bufferline_echo = 0
|
||||
let g:bufferline_modified = '+'
|
||||
let g:bufferline_show_bufnr = 1
|
||||
let g:bufferline_rotate = 1
|
||||
|
||||
" * auto-pairs
|
||||
let g:AutoPairsMultilineClose = 0
|
||||
|
||||
" * NERDTree
|
||||
"let g:NERDChristmasTree = 1
|
||||
"let g:NERDChristmasTree = 1
|
||||
|
|
@ -398,7 +410,7 @@ let g:ycm_use_ultisnips_completer = 1
|
|||
|
||||
" * UltiSnips
|
||||
let g:UltiSnipsSnippetDirectories=["UltiSnips", "usnips"]
|
||||
let g:UltiSnipsExpandTrigger="<Leader>,"
|
||||
"let g:UltiSnipsExpandTrigger="<Leader>,"
|
||||
let g:UltiSnipsJumpForwardTrigger="<Leader>,"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<Leader><s-,>"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue