-
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:
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
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.
-
ccls
C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
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]