This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-09
Channels
- # adventofcode (132)
- # announcements (19)
- # babashka (7)
- # babashka-sci-dev (6)
- # beginners (46)
- # calva (25)
- # chlorine-clover (5)
- # cider (2)
- # clara (17)
- # clj-kondo (93)
- # clojure (2)
- # clojure-dev (4)
- # clojure-europe (12)
- # clojure-losangeles (3)
- # clojure-nl (7)
- # clojure-uk (4)
- # clojurescript (29)
- # conjure (6)
- # core-async (8)
- # cursive (16)
- # data-science (7)
- # datomic (1)
- # exercism (4)
- # figwheel-main (8)
- # fulcro (9)
- # graphql (2)
- # helix (1)
- # introduce-yourself (3)
- # jobs (3)
- # lsp (4)
- # malli (20)
- # minecraft (3)
- # nextjournal (62)
- # off-topic (16)
- # overtone (34)
- # pathom (5)
- # polylith (10)
- # portal (1)
- # re-frame (104)
- # reagent (29)
- # reitit (1)
- # remote-jobs (2)
- # rum (3)
- # shadow-cljs (22)
- # spacemacs (2)
- # sql (10)
- # tools-deps (17)
- # vim (13)
I’m trying to set global variables with fennel in nvim, but for some reason the following isn’t working:
(set nvim.g.number true)
How to fix this?
no but the rest are working
(set nvim.g.mapleader ” “) (set nvim.g.maplocalleader “,”) (set nvim.g.updatetime 100) all work
does number
take a variable though? I don't use fennel but in my init.nvim
I just have set number
with nothing added. Maybe (set vim.g.number)
?
(set nvim.g.number) doesn’t work
again all the rest are set with nvim not vim
Are you using and plugins like "vim-better-defaults" etc? Because they tend to load late and override those settings. I'm using better-default and here's the module I use to override parts of it: https://github.com/Olical/dotfiles/blob/ea4d27b5d591978517cef3bc1fb8432e1e80a3fd/stowed/.config/nvim/fnl/dotfiles/plugin/better-default.fnl