feat: migrate LSP to opt-in native language servers
This commit is contained in:
+5
-3
@@ -13,9 +13,11 @@ Vamp.configure do |config|
|
||||
config.bind "ctrl+h", config.core.left, mode: config.modes.tree
|
||||
config.bind "ctrl+l", config.core.right, mode: config.modes.tree
|
||||
config.plugin "plugins/greeting.rb"
|
||||
# Optional LSP feature; install/configure a trusted language server first.
|
||||
# config.plugin "plugins/lsp.rb", options: {
|
||||
# servers: [{ language_id: "rust", extensions: ["rs"], command: ["rust-analyzer"] }]
|
||||
# Native LSP is disabled by default; install a server and explicitly opt in.
|
||||
# config.lsp["rust"] = true # built-in rust-analyzer preset
|
||||
# config.lsp["my-language"] = {
|
||||
# command: ["my-language-server", "--stdio"], extensions: ["myl"],
|
||||
# initialization_options: {}, settings: {}
|
||||
# }
|
||||
# config.bind "leader d", "lsp_definition"
|
||||
config.bind "g", "greet"
|
||||
|
||||
Reference in New Issue
Block a user