Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
ccls
C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
LSPs are not simple and need configuration for every language and their tools. Have a look at https://github.com/mattn/vim-lsp-settings which is a sort of auto configuration for vim-lsp. When you open a file for which no LSP is configured, then you can do this by :LspInstall . It's been a while, but I think you don't need much. I have Rust fully configured, but you ask to navigate YAML files only? So excluding all other plugins:
I feel the same way. Not a one-liner but the smallest config LSP plugin I've found is vim-lsp. It works in both Vim and Neovim.
The base config adds about 15 lines (I have extra settings adding another 15 lines), then each language server adds a few lines per augroup. Example config for ccls.
Related posts
- What pains me the most about C : Having to update headers any time I change a function prototype
- Starting with linux, my experience
- Does vim have a built in/plugin version of vscode's command click?
- is anyone using preservim/tagbar with typescript?
- [Summary] Language server and C/C++ highlight configuration r/vim [plugins & friends]