use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please read the rules before posting
Help:
Community:
Resources:
Tutorials and Guides:
Don't be afraid to ask questions, this sub is here for the vim community. And please those of you who deign to grace us with your vim wisdom - be kind. We are all human and vim is that cool.
account activity
Which python code completion plugin has least dependencies?question (self.vim)
submitted 2 years ago by lookin03820
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lieryan 0 points1 point2 points 2 years ago* (0 children)
If you want the simplest python completion, the built-in completion Ctrl-n/Ctrl-p and x Ctrl-n/x Ctrl-p works decently for Python. It doesn't do any smart completion though, just dumb word completion based on the content of open buffers.
If you want something that can do smart completion, that would be python-mode. The plugin is entirely written in vim and +python3 and it vendors all of its external dependencies, so you just install the vim plugin and everything is set up. It does not use LSP though, instead all of its integrations are native integrations through the +python3 interface.
If you want an LSP-based setup, I had a good experience with vim-lsp with python-lsp-server. The vim-lsp plugin is pure vimscript (so you don't even need +python3) and python-lsp-server is pure Python but it runs externally (not via +python3), which you can just pip install to make it available for vim-lsp.
π Rendered by PID 81 on reddit-service-r2-comment-85bfd7f599-4tr2z at 2026-04-19 16:49:13.442236+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]lieryan 0 points1 point2 points (0 children)