Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 30 2021 00:18

    Shougo on master

    Fix typo Merge pull request #165 from de… (compare)

  • Mar 30 2021 00:18

    Shougo on master

    Fix typo Merge pull request #165 from de… (compare)

  • Mar 30 2021 00:18

    Shougo on typo

    (compare)

  • Mar 30 2021 00:18

    Shougo on typo

    (compare)

  • Mar 30 2021 00:17
    Shougo closed #165
  • Mar 30 2021 00:17
    Shougo closed #165
  • Mar 30 2021 00:11
    Shougo opened #165
  • Mar 30 2021 00:11
    Shougo opened #165
  • Mar 30 2021 00:11

    Shougo on typo

    Fix typo (compare)

  • Mar 30 2021 00:11

    Shougo on typo

    Fix typo (compare)

  • Mar 29 2021 23:54
    Shougo commented #154
  • Mar 29 2021 23:54
    Shougo commented #154
  • Mar 29 2021 06:02
    vuvgaG-dukgu3-wysnox commented #154
  • Mar 29 2021 06:02
    vuvgaG-dukgu3-wysnox commented #154
  • Mar 29 2021 06:01
    vuvgaG-dukgu3-wysnox commented #154
  • Mar 29 2021 06:01
    vuvgaG-dukgu3-wysnox commented #154
  • Nov 16 2020 00:21

    Shougo on master

    Update (compare)

  • Nov 16 2020 00:21

    Shougo on master

    Update (compare)

  • Aug 03 2020 23:52
    Shougo commented #164
  • Aug 03 2020 23:52
    Shougo commented #164
Shougo
@Shougo
In Ubuntu, it is libpython3-dev.
It works for me
Radu Munteanu
@radu-munteanu
it's the C dev headers?
Shougo
@Shougo
For the red line, please execute :messages command.
Yes.
Radu Munteanu
@radu-munteanu
for fedora I found this one... python3-devel.x86_64
Radu Munteanu
@radu-munteanu
doesn't seem to autocomplete anything.. hmm
do I need to enable something else? some first time thingy?
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
call plug#begin('~/.vim/plugged')

" Make sure you use single quotes

Plug 'https://github.com/scrooloose/nerdtree.git'

Plug 'https://github.com/roxma/nvim-yarp'
Plug 'https://github.com/roxma/vim-hug-neovim-rpc'
Plug 'https://github.com/Shougo/deoplete.nvim'
Plug 'zchee/deoplete-go', { 'do': 'make'}

"Plug 'https://github.com/fatih/vim-go.git', { 'do': ':GoUpdateBinaries' }
"Plug 'https://github.com/junegunn/fzf'

"Plug 'https://github.com/Shougo/neocomplete.vim'


" Initialize plugin system
call plug#end()

map <C-n> :NERDTreeToggle<CR>
map <C-m> :NERDTreeFocus<CR>

let NERDTreeShowBookmarks=1


" Run deoplete.nvim automatically
let g:deoplete#enable_at_startup = 1
" deoplete-go settings
" let g:deoplete#sources#go#gocode_binary = $GOPATH.'/bin/gocode'
let g:deoplete#sources#go#sort_class = ['package', 'func', 'type', 'var', 'const']
I even put gocode in GOROOT and, as u can see, removed binary path... but I still don't get any autocompletion or tree
I have vim 8.1
Radu Munteanu
@radu-munteanu
version 8.1.279
Shougo
@Shougo
deoplete works?
I don't understand.
I think you have not installed neovim package.
We have not ESP skills.
Radu Munteanu
@radu-munteanu
what neovim package? :)
u said I can use vim8
I thought that's why I've installed roxma/nvim-yarp and vim-hug-neovim-rpc .. so I don't need neovim installed
Radu Munteanu
@radu-munteanu
I've removed Plug 'zchee/deoplete-go', { 'do': 'make'} .. but still don't have any code completion
Shougo
@Shougo
You should see vim-hug-neovim-rpc documentation
Please see the requirements
neovim is for Python3 package.
Radu Munteanu
@radu-munteanu
omg, so actually it's some sort of chicken or the egg ... u need neovim even for vim8... or.. i need whatever pythonx is
oh, actually even with pythonx it says u have the same requirements of step 4, which is install neovim .. hilarious
Radu Munteanu
@radu-munteanu
I've installed neovim, still have nothing in vim8, clean install of all pluggins
i do have a red line when I press eneter to make a new ine to write something out, but that's about it
and when I start vim I have the same red line I had before [vim-hug-neovim-rpc] Vim(pythonx):Traceback (most recent call last): but I guess this is OK.
Radu Munteanu
@radu-munteanu
I made it! :)
:Go commands are not working ... hmmm
Radu Munteanu
@radu-munteanu
that was only in vim-go?
Radu Munteanu
@radu-munteanu
how do I go to the definition of a struct?
Shougo
@Shougo
:Go commands are not working ... hmmm
This is vim-go's feature. I don't know.
how do I go to the definition of a struct?
deoplete is just completion plugin. deoplete does not have the feature.
Varun Batra
@VarunBatraIT
Hi, I am unable to install deplete-go - I am getting stuck here:
[dein] Building: deoplete-go
cd ./rplugin/python3/deoplete/ujson; /usr/local/bin/python3 setup.py build --build-base="/home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build" --build-lib="/home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build"
running build
running build_ext
building 'ujson' extension
creating /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build
creating /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build/temp.linux-x86_64-3.8
creating /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build/temp.linux-x86_64-3.8/python
creating /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build/temp.linux-x86_64-3.8/lib
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./python -I./lib -I/usr/local/include/python3.8 -c ./python/ujson.c -o /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build/temp.linux-x86_64-3.8/./python/ujson.o -D_GNU_SOURCE
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./python -I./lib -I/usr/local/include/python3.8 -c ./python/objToJSON.c -o /home/spacevim/.cache/vimfiles/repos/github.com/zchee/deoplete-go/build/temp.linux-x86_64-3.8/./python/objToJSON.o -D_GNU_SOURCE
Shougo
@Shougo
Hm.
The build works for me.
You can use go LSP server instead.
Varun Batra
@VarunBatraIT
I am using SpaceVim which has inbuilt deoplete-go as plugin. When I install plugins, I get stuck here. If there is any way I can have verbose log for this build?
I also have ujson installed using PIP - is it possible to ignore ujson build under extension?
Shougo
@Shougo
Hm. You should ask it in SpaceVim room.
You can disable deoplete-go installation
Varun Batra
@VarunBatraIT
Now I was able to disable the original build yet my custom build was failing. I will be creating a docker file only to the point where deoplete-go is being installed. This way, I might be able to isolate the problem.
jicvi
@jicvi
gocode cannot complete third-party packages
Shougo
@Shougo
gocode is deprecated now. You should use LSP completion instead.
jicvi
@jicvi

" NCM2
" our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki
Plugin 'ncm2/ncm2'
Plugin 'ncm2/ncm2-go'
Plugin 'ncm2/ncm2-path'
Plugin 'roxma/nvim-yarp'
Plugin 'ncm2/ncm2-bufword'
Plugin 'ncm2/ncm2-vim-lsp'
Plugin 'roxma/vim-hug-neovim-rpc'

Plugin 'prabirshrestha/async.vim'
Plugin 'prabirshrestha/vim-lsp'

" deoplete + neosnippet + neoparis
Plugin 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plugin 'Shougo/neosnippet'
Plugin 'Shougo/neosnippet-snippets'
Plugin 'Shougo/neopairs.vim'
Plugin 'Shougo/denite.nvim'

" Go
Plugin 'stamblerre/gocode', { 'rtp': 'nvim', 'do': '~/.vim/bundle/gocode/vim/symlink.sh' }
Plugin 'Blackrush/vim-gocode'

" Python
Plugin 'zchee/deoplete-jedi', { 'for':'python' }

All worthy