From 4d9947dfa1745aed49d9ff678f471a5e0090b539 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 2 Mar 2022 23:16:25 +0200 Subject: [PATCH] Fix reference to lsp_map_keys --- home/.config/nvim/lua/pluginconf/lsp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.config/nvim/lua/pluginconf/lsp.lua b/home/.config/nvim/lua/pluginconf/lsp.lua index 6e6da90..f1a6f7b 100644 --- a/home/.config/nvim/lua/pluginconf/lsp.lua +++ b/home/.config/nvim/lua/pluginconf/lsp.lua @@ -3,7 +3,6 @@ local lsp_installer = require("nvim-lsp-installer") local M = {} M.lsp_map_keys = function(server, bufnr) - print("Lsp_map_keys()") local function map_key(...) -- Map to buffer if buffer number is supplied, -- globally otherwise @@ -80,7 +79,7 @@ lsp_installer.on_server_ready(function(server) } end - opts.on_attach = Lsp_map_keys + opts.on_attach = M.lsp_map_keys opts.capabilities = capabilities server:setup(opts) end)