From cd8e3249f0e41372a2748ee8554e431d152cea01 Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 26 Nov 2024 15:35:35 +0600 Subject: init --- .nvim.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .nvim.lua (limited to '.nvim.lua') diff --git a/.nvim.lua b/.nvim.lua new file mode 100644 index 0000000..50bdee2 --- /dev/null +++ b/.nvim.lua @@ -0,0 +1,14 @@ + +vim.keymap.set("n", ",tf", ":!./run.sh fetch") +vim.keymap.set("n", ",tt", ":!./run.sh serve") + +vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, { + pattern = {"*.fnl"}, + callback = function() + vim.repl.configs.fennel.cmd = {"fennel"} + vim.opt.lispwords:append("local") + vim.opt.lispwords:append("fn") + vim.opt.lispwords:append("set") + vim.opt.lispwords:append("if") + end, +}) -- cgit v1.2.3