Skip to content

Commit

Permalink
Add bingo support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Dec 3, 2018
1 parent fc536da commit becc834
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -12,9 +12,16 @@ https://github.com/neovim/neovim/pull/6856
## Customization

```vim
" Use pyls
call lsp#server#add('python', 'pyls')
call lsp#server#add('rust', ['rustup', 'run', 'stable', 'rls'])
" For go-langserver
call lsp#server#add('go', [expand('$GOPATH/bin/go-langserver'),
\ '-format-tool', 'gofmt', '-lint-tool', 'golint', '-gocodecompletion'])
" For bingo
" https://github.com/saibing/bingo
call lsp#server#add('go', [
\ 'bingo', '--mode', 'stdio', '--logfile', '/tmp/lspserver.log',
\ '--trace', '--pprof', ':6060'])
```
9 changes: 8 additions & 1 deletion rplugin/python3/deoplete/source/lsp.py
Expand Up @@ -25,7 +25,14 @@
'Snippet',
'Color',
'File',
'Reference'
'Reference',
'Folder',
'EnumMember',
'Constant',
'Struct',
'Event',
'Operator',
'TypeParameter',
]


Expand Down

0 comments on commit becc834

Please sign in to comment.