This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-07
Channels
- # announcements (12)
- # autochrome-github (4)
- # babashka (27)
- # babashka-sci-dev (2)
- # beginners (80)
- # calva (34)
- # cider (8)
- # clj-kondo (77)
- # clojars (34)
- # clojure (50)
- # clojure-europe (35)
- # clojure-nl (4)
- # clojure-uk (5)
- # clojured (2)
- # clojurescript (26)
- # core-async (4)
- # cursive (4)
- # datahike (4)
- # datomic (40)
- # emacs (7)
- # etaoin (1)
- # fulcro (12)
- # google-cloud (143)
- # hyperfiddle (1)
- # integrant (2)
- # jobs (1)
- # malli (15)
- # membrane (17)
- # off-topic (38)
- # pathom (1)
- # reagent (4)
- # releases (2)
- # remote-jobs (2)
- # sci (1)
- # shadow-cljs (10)
- # spacemacs (7)
- # tools-deps (5)
- # vim (6)
- # xtdb (37)
How should one translate let maplocalleader = "\<BS>"
to Fennel? (set nvim.g.maplocalleader "<BS>")
doesn't work. Neither does "\<BS>"
, "\\<BS>"
, nor "\b"
.
Strings like "\<BS>"
are a feature of vim script, so they don't work in Lua (or fennel which compiles to Lua). The vim api provides a function to convert them called nvim_replace_termcodes
. You can use it like this in Lua: vim.g.maplocalleader = vim.api.nvim_replace_termcodes('<BS>', true, true, true)
. It should be easy to translate that to fennel.
🎉 1
Some people are, https://github.com/rafaeldelboni/nvim-fennel-lsp-conjure-as-clojure-ide is a good place to start.
👍 1