summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp/lspconfig.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/plugins/lsp/lspconfig.fnl')
-rw-r--r--fnl/plugins/lsp/lspconfig.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl
index 5ca84fb..b29f1b1 100644
--- a/fnl/plugins/lsp/lspconfig.fnl
+++ b/fnl/plugins/lsp/lspconfig.fnl
@@ -4,8 +4,8 @@
(vim.api.nvim_create_autocmd :LspAttach
{:callback (fn [args]
(let [keymaps (require :plugins.lsp.keymaps)
- bufnr (. args :buf)]
- (keymaps.on-attach bufnr)))}))
+ buffer (. args :buf)]
+ (keymaps.on-attach buffer)))}))
(fn capabilities []
(let [cmp-lsp (require :cmp_nvim_lsp)]