From 41dc4e017395d73af0333705447e858b7db1f75e Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 7 Jan 2023 18:49:59 +0800 Subject: docs: fix typo (#2382) --- doc/lspconfig.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index 9e91d1b3..583f9778 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -237,7 +237,7 @@ configuration entry, such as `cmd`. > local lspconfig = require 'lspconfig' - lspconfig.util.on_setup = util.add_hook_before(lspconfig.util.on_setup, function(config) + lspconfig.util.on_setup = lspconfig.util.add_hook_before(lspconfig.util.on_setup, function(config) if some_condition and config.name == "clangd" then local custom_server_prefix = "/my/custom/server/prefix" config.cmd = { custom_server_prefix .. "/bin/clangd" } -- cgit v1.2.3-70-g09d2