From 204d95558b1ab5fe89559f7c23e64c829c748967 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 25 Dec 2021 00:36:45 -0600 Subject: [PATCH] Spelling error, noted that rust_analyzer is needed for rust-tools to work --- lua/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/lsp.lua b/lua/lsp.lua index eaaea49..f4dfe5a 100755 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -5,8 +5,10 @@ lsp_installer.on_server_ready(function(server) capabilities = require("coq").lsp_ensure_capabilities(vim.lsp.protocol.make_client_capabilities()), } - -- In the secnario we're using rust it makes more sense to use rust-tools + -- In the scenario we're using rust it makes more sense to use rust-tools -- see: https://github.com/williamboman/nvim-lsp-installer/wiki/Rust + -- + -- NOTE: Requires rust_analyzer if server.name == "rust_analyzer" then require("rust-tools").setup{ server = vim.tbl_deep_extend("force", server:get_default_options(), opts),