vim-dispatch
coc-ccls
vim-dispatch | coc-ccls | |
---|---|---|
26 | 53 | |
2,598 | 25 | |
- | - | |
3.3 | 10.0 | |
3 months ago | over 4 years ago | |
Vim Script | TypeScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-dispatch
-
How to configure vim like an IDE
Tis is good for the compilation to make it async( otherwise it blocks) https://github.com/tpope/vim-dispatch it wraps around the built in make/makeprg feature. Would recommend that you dont do it with large builds/outputs.
- Introducing tsc.nvim: Project-Wide Asynchronous TypeScript Type-Checking & Diagnostics
-
How do you guys run the code you write with vim?
vim-dispatch by the legend Tim Pope. send the task to the background, keep using editor. once the task is finished, it output to qflist buffer
- Neovim Plugin equivalent for task runner of VSCode
-
how to get this in regular vim
The other answer here covers everything you need, but if you want a plugin-based solution you might be interested in vim-dispatch which runs command line tools asynchronously, and offers the option to run the command in the background instead with :Dispatch!.
-
How to display compile errors inline in a language without LSP?
You should check :h compiler :h make and :h 'errorformat'. You could also check vim dispatch, a plugin that enhances this features
-
New plugin for gtest integration with vim
Also plugin supports asynchronous execution (using terminal, jobs or vim-dispatch).
-
neovim with build system
Do note that :make is blocking, and you need to wait until it finishes before it sends you back to the editor. If you want it to be asynchronouns, you can install vim-dispatch + vim-dispatch-neovim for Neovim support in vim-dispatch.
-
Stop commands from obstructing view e.g. Make
if you want something to work out of the box, is async and is already configured per language, check out TPope's dispatch
-
Dear vimmers, when do you prefer using vims built-in terminal over a new tmux panel/window?
For long-running programs, like compiling, or running full test suites, or running terraform on a decently sized infrastructure project, I may run them with :Make (courtesy of tpope/vim-dispatch) so I can keep working on the project while the external program is running. If I'm in an environment without vim plugins, I may spawn a new tmux pane/window. As a last resort, I will ctrl-z/fg if I don't have tmux on the remote system (e.g. dev containers).
coc-ccls
-
Using CoC inlay hints
I just did a fresh reinstall of CoC, on a newer version of Neovim. I'm now seeing something I hadn't seen before, which CoC calls "inlay hints". They look like this:
-
NIR: Nim Intermediate Representation
As recommended by michaelsbradley below, I installed https://github.com/nim-lang/langserver. I'm using coc.nvim (https://github.com/neoclide/coc.nvim) so I followed the instructions here from nim langserver https://github.com/nim-lang/langserver#vimneovim and seems to be working well!
-
Perl::LanguageServer in Visual Studio. Should jumping to ambigious functions work?
Actually, I'm maintaining coc-perl (https://github.com/bmeneg/coc-perl), which enables the use of Perl LSP extension for vcode on vim/neovim using the CoC (https://github.com/neoclide/coc.nvim) backend. But it's completely on top of Perl::LanguageServer.
-
How to configure vim like an IDE
For vim specifically, I've been using coc.nvim, which works pretty well for my needs, and I know its quite popular. Another fairly popular one is YouCompleteMe, which I had taken a look at for some other languages; but ended up just using coc as I can't justify using YCM once a year (if that) -- too much "headache" for not a lot of use, you know?
-
Auto-completion problems for terraform
Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
-
plugins for explorable interface and identifier highlighting
Sounds like you want vim-which-key and coc.nvim.
-
How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
Another option is to just download https://github.com/neoclide/coc.nvim Which is basically a one stop shop for completion, and it's pretty fast, it just uses nodejs instead of built in nvim lua functions.
-
How to survive without multiple cursors in vim
coc.nvim
-
How I set up Vim for writing LaTex, Python, C and C++?
dont over copy and paste example .vimrc, keep it simple and grow tooling as you use. for linting and code completion : https://github.com/neoclide/coc.nvim (easy to add languages)
What are some alternatives?
asyncrun.vim - :rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
tree-sitter - An incremental parsing system for programming tools
neovim-remote - :ok_hand: Support for --remote and friends.
nvim-cmp - A completion plugin for neovim coded in Lua.
yabs.nvim - Yet Another Build System/Code Runner for Neovim, written in lua
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-test - Run your tests at the speed of thought
awesome-vscode - 🎨 A curated list of delightful VS Code packages and resources.
browser-sync - Keep multiple browsers & devices in sync when building websites. https://browsersync.io
coc-diagnostic - diagnostic-languageserver extension for coc.nvim
cmake4vim - Vim plugin for CMake projects
nerdtree - A tree explorer plugin for vim.