ycmd
LanguageClient-neovim
ycmd | LanguageClient-neovim | |
---|---|---|
2 | 11 | |
1,680 | 3,541 | |
0.1% | - | |
8.1 | 0.0 | |
16 days ago | 6 months ago | |
Python | Rust | |
GNU General Public License v3.0 only | MIT License |
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.
ycmd
-
Tip: YcmCompleter's FixIt allows performing refactorings unrelated to diagnostics
Funny thing, I have totally found it out by accident, while looking through ycmd PRs and issues to check whether it supports LSP CodeActions provided by clangd. In this PR, which doesn't seem really ground-breaking, the maintainer mentioned that the code actions will be exposed via FixIt subcommand. I immediately switched to Vim to check whether it actually works, and BAH! There it is!
-
Where to start with LSP in Vim?
BTW: I opened this : https://github.com/ycm-core/ycmd/pull/1641 and added this: https://github.com/ycm-core/lsp-examples/tree/master/python in case you want to try YCM with pyright.
LanguageClient-neovim
- Where to start with LSP in Vim?
-
Simple plugin to display tag under cursor in popup (Vim 8.2+)
i know the language client neovim has such a function (:help languageclient_textdocument_codelens after compiling its helptags). AFAIK you can get that running in Vim 8, but not sure.
-
F# for Linux People
On NeoVim, the built-in LSP client works without modification. On Vim, you will need LanguageClient-neovim.
-
Just wanted to share my enthusiasm when I realised error checking (clangd) could be so fast! :) It's almost instant...
I'm using LanguageClient-neovim. Here's the relevant portions of my init.vim:
-
Using Vim for Everything!
I just saw a nice post in /u/medwatt about using vim for VHDL/Verilog and thought I'd contribute a little! * Syntax and error highlight: https://github.com/autozimu/LanguageClient-neovim * Column align: https://github.com/junegunn/vim-easy-align * Remove annoying whitespaces: https://github.com/ntpeters/vim-better-whitespace * Partial (fuzzy) filename search: https://github.com/junegunn/fzf.vim * Outline all declarations inside a file: â €https://github.com/preservim/tagbar * Treat indentations as vim-objects (useful for languages that don't use { }): https://github.com/michaeljsmith/vim-indent-object There is also mouse support in vim for those who want it. Try typing :set mouse=a. Very useful for resizing windows. I also highly recommend you get good at using folds (https://vim.fandom.com/wiki/Folding). It makes it a LOT easier to navigate files. You can save your fold config per-file with :mkview and load it later with :loadview. If I come up with more hints - I'll mention them in the comments!
-
Neovim's built-in LSP with Ruby and Rails
I've been using LanguageClient and solargraph gem with plain Vim 8 for a long time already. Still, having a bit better experience at Ruby coding with Emacs and its lsp-mode & company & inf-ruby combo.
-
ALE vs YouCompleteMe vs CoC-rust vs LanguageClient-neovim
Might migrate to Neovim's native LSP support at some point, however I find vim-lsp more feature complete out of the box. I used to use LanguageClient-neovim, however, I missed proper support for signature help.
-
Is there a difference between a LSP, code completer, and a linter?
YCM is a client. The client is a plugin for Vim or Neovim, even the "built-in" client in Neovim is just a Lua plugin that is included with the editor, it's not really built-in. Examples of other clients:LanguageClient-neovim, vim-lsp, ale.
-
Is rust-analyzer for neovim ever going to support semantic syntax highlighting?
LanguageClient-neovim just merged some support for semantic tokens and the plan, as I read the PR/issues, is to next implement some default mappings from the semantic tokens to highlight groups.
-
Which lsp client is best ?
The best LSP client is the one that works for you. When it comes to neovim, there is a generous variety of LSP clients to choose from. The notables ones being vim-lsc and vim-lsp written in vimscript, LanguageClient-neovim written in rust, YouCompleteMe is written in python and in my experience is the hardest to install, coc.nvim written in typescript and, of course, the neovim's built-in one. I would recommend going with coc.nvim, as it is the best LSP client right now, though it provides much more features than a standard lsp client does and for some people it is a disadvantage and for the others it's not. Also you have to install node.js on your system for coc.nvim to work. I myself use neovim built-in one for a few reasons: it's not in stable yet, but when the neovim 0.5 version comes out, it is gonna be the standard client. Another reason is it's extremely lightweight and customizable. There were already several discussions on the subreddit about the clients you can check out.
What are some alternatives?
ale - Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support [Moved to: https://github.com/dense-analysis/ale]
nvim-lspconfig - Quickstart configs for Nvim LSP
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-easy-align - :sunflower: A Vim alignment plugin
vim-lsp - async language server protocol plugin for vim and neovim
vim-lsp-ale - Bridge between vim-lsp and ALE
clangd - clangd language server
lsp-examples - Use any language server with YouCompleteMe.
tagbar - Vim plugin that displays tags in a window, ordered by scope
prorab - :construction_worker: non-recursive GNU make-based build framework
tree-sitter-rust - Rust grammar for tree-sitter