Neovim for Beginners — LSP (Part 2)
From the previous article, we now have a very basic LSP setup. Let’s continue to enhance the configuration.
This article is part of the Neovim for Beginners series.
The Neovim configuration files can be found in this repository.
Table of Content
· LSP Basics
∘ LSP Methods
∘ LSP Handlers
· Configure LSP Handlers
∘ Default Behaviors
∘ Configure LSP Handlers
· Configure Lua for Neovim
· Status Line
· Document Highlight
· Signature Help without Plugin
· nvim-cmp
∘ Signature Help
∘ Icons for Completion Menu
· LSP Plugins
· References
LSP Basics
Neovim acts as a client to the LSP servers and sends requests and receives responses or notifications from the servers.
The LSP request or response handlers are implemented as Lua functions (:h lsp-handler
).