summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp/keymaps.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
commit7096adce11b93787170c09b79a6170d97b4a977c (patch)
tree1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/lsp/keymaps.fnl
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/lsp/keymaps.fnl')
-rw-r--r--fnl/plugins/lsp/keymaps.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl
index 2c01d15..72e03cd 100644
--- a/fnl/plugins/lsp/keymaps.fnl
+++ b/fnl/plugins/lsp/keymaps.fnl
@@ -40,7 +40,7 @@
[:n :K "<cmd>lua vim.lsp.hover()<cr>" {:desc "Hover documentation"}]
[:n :<leader>li :<cmd>LspInfo<cr> {:desc "Lsp Info"}]])
-(fn on-attach [buffer]
+(λ on-attach [buffer]
(let [opts {:noremap true :silent true : buffer}]
(each [_ mapping (ipairs mappings)]
(match mapping