Hacker News new | ask | show | jobs
by colordrops 2630 days ago
Hmm, I've got syntax/compile checking, linting, automatic code formatting and generation, and code completion based on context in vim right now. I don't see how any of the problems you mention are vim specific.
1 comments

What packages are you using and what language out of curiosity?
C++ and JavaScript. I've got about 60 plugins installed and a highly configured vimrc. Some of the important ones:

w0rp/ale

junegun/fzf

junegun/fzf.vim

majutsushi/tagbar

scrooloose/nerdtree

jistr/vim-nerdtree-tabs

erahhal/nerdtree-ack

tpope/vim-commentary

joegesualdo/jsdoc.vim

Raimondi/delimitMate

tpope/vim-surround

vim-scripts/AutoComplPop

Shougo/deoplete.nvim

carlitux/deoplete-ternjs

marijnh/tern_for_vim

Rip-Rip/clang_complete

SirVer/ultisnips

tpope/vim-fugitive

mhinz/vim-signify

vim-scripts/DirDiff.vim

sheerun/vim-polyglot

pangloss/vim-javascript

vim-utils/vim-man

That's a useful list, thanks for sharing. What would be useful is if there was just a distribution of Vim that just had everything included for a specific language. Or at least a base and then a way to discover and add more from within Vim.
There are definitely distributions, for instance SpaceVim. I've got my own configs shared in GitHub but I'd prefer not to reveal my identity. I'm sure there are plenty to be found.
There are plugins made for a language, but they are usually bloated, it's cleaner to compose smaller plugins to achieve the same outcome.

Usually vim configs are like toothbrushes, everyone uses a special one. Here's mine that includes dozens of plugins, some of them repeated from colordrops' list:

https://gitlab.com/somini/dotnvim