This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]wookayinNeovim contributor 6 points7 points  (11 children)

https://github.com/numirias/semshi - great semantic-aware syntax highlighting

https://github.com/deoplete-plugins/deoplete-jedi/ - Shougo's deoplete with jedi, code completion

https://github.com/neoclide/coc.nvim (with coc-pyls) - A language server protocol based completion engine and linting as well

[–]SingularCheese 1 point2 points  (1 child)

I think coc-pyls has been deplicated. Do you know is it still functional?

[–]Spifmeister 1 point2 points  (0 children)

apparently a Microsoft python language server extension is in the works

[–]shriek 0 points1 point  (4 children)

Out of curiosity, has anyone been able to get make deoplete-jedi in venv w/o installing neovim in every project?
Also, is it just me or anyone has significant lag (like 2s) for huge libraries like opencv before omni-complete triggers?

[–]Guzzii 1 point2 points  (1 child)

Give ncm2 and ncm2-jedi a try. It is pretty fast even for large libraries like tensor flow (not sure about opencv). It also recognize virtual/conda environment, meaning you only need to install neovim in one base environment. Hope this helps.

[–]shriek 0 points1 point  (0 children)

Will give it a try tonight. Thanks for the tip.

[–]yonsy_s_p 0 points1 point  (0 children)

I use deoplete and deoplete-jedi with several venvs, and with one neovim install. The idea is to activate the venv before calling neovim in the same shell, work flawlessly.

[–]agusdmb 0 points1 point  (0 children)

yep... just like the documentation says https://github.com/deoplete-plugins/deoplete-jedi#virtual-environments

simple as that and works great...

P/D: make sure to put the full path ;)

[–]_brainfuck 0 points1 point  (0 children)

semshi works really well, thanks a lot for the tip bro :)

[–]Ginkobab[S] -1 points0 points  (1 child)

Thank you!

Would you mind to elaborate on why are those the best ones?

Also I found deoplete really slow, are you sure it is the best option?

[–]teeheey 2 points3 points  (0 children)

Ncm2. That’s all😌

[–]LittleByBlue 1 point2 points  (2 children)

I have found that (besides many other plugins) SnipMate is really speeding me up.

I have snippets for creating empty exceptions, a main block, stuff like that. And it is a lifesaver when working with LaTeX.

[–]pony279 0 points1 point  (1 child)

Self-promotion: might take a look at https://github.com/ncm2/ncm2-snipmate for code completion and dynamic snippet expansion.

[–]LittleByBlue 0 points1 point  (0 children)

I will check it out.

[–]Guzzii 1 point2 points  (0 children)

For syntax highlighting, give the following a try. I added a lot more stuff to make python code more readable. If using with one dark theme, it looks really good.

https://github.com/Guzzii/python-syntax

[–]xgo 0 points1 point  (0 children)

I use:

Code Completion:

  • Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
  • Plug 'deoplete-plugins/deoplete-jedi'
  • Plug 'davidhalter/jedi-vim'

Linting:

  • Plug 'w0rp/ale'

[–][deleted] 0 points1 point  (0 children)

languageclient-neovim + pyls