vimlsp
Language Server Protocol (LSP) integration
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Neovim LSP API Reference
This document contains common API functions used when working with Neovim's LSP client.
vim.lsp.buf
These functions are typically called from buffer-local keybindings to interact with the language server.
function vim.lsp.buf.definition() end -- Jump to definition
function vim.lsp.buf.declaration() end -- Jump to declaration
function vim.lsp.buf.type_definition() end -- Jump to type definition
function vim.lsp.buf.implementation() end -- Jump to implementation
function vim.lsp.buf.hover() end -- Display hover information
function vim.lsp.buf.signature_help() end -- Display signature information
function vim.lsp.buf.code_action() end -- Select code action
function vim.lsp.buf.references() end -- List all references
function vim.lsp.buf.rename(new_name) end -- Rename symbol
function vim.lsp.buf.format(options) end -- Format buffer
function vim.lsp.buf.workspace_symbol(query) end -- Find workspace symbol
vim.lsp.util
Utility functions for LSP integration.
function vim.lsp.util.make_range_params() end
function vim.lsp.util.apply_text_edits(edits, bufnr, offset_encoding) end
function vim.lsp.util.jump_to_location(location, offset_encoding) end
Internal Configuration (khulnasoft)
Your configuration uses mason.nvim and mason-lspconfig.nvim to manage servers.
Managed Servers
-
lua_ls: Lua development. -
rust_analyzer: Rust development. -
gopls: Go development. -
zls: Zig development.
Global Keybindings
Mapped during LspAttach:
-
gd: Definition -
K: Hover -
<leader>vws: Workspace Symbol -
<leader>vd: Open Diagnostic Float -
<leader>vca: Code Action -
<leader>vrr: References -
<leader>vrn: Rename -
<C-h>: Signature Help
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!