tangerine.nvim
nvim.conf
tangerine.nvim | nvim.conf | |
---|---|---|
13 | 9 | |
187 | 115 | |
- | - | |
7.5 | 9.8 | |
6 days ago | 7 days ago | |
Fennel | Lua | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tangerine.nvim
-
Configuring Neovim with Fennel
local function bootstrap(url, ref) local name = url:gsub(".*/", "") local path = vim.fn.stdpath [[data]] .. "/lazy/" .. name if vim.fn.isdirectory(path) == 0 then print(name .. ": installing in data dir...") vim.fn.system { "git", "clone", url, path } if ref then vim.fn.system { "git", "-C", path, "checkout", ref } end vim.cmd [[redraw]] print(name .. ": finished installing") end vim.opt.runtimepath:prepend(path) end bootstrap("https://github.com/udayvir-singh/tangerine.nvim") -- Optional and only needed if you also want the macros bootstrap("https://github.com/udayvir-singh/hibiscus.nvim") require 'tangerine'.setup { target = vim.fn.stdpath [[data]] .. "/tangerine", -- compile files in &rtp rtpdirs = { "ftplugin", }, compiler = { -- disable popup showing compiled files verbose = false, -- compile every time changes are made to fennel files or on entering vim hooks = { "onsave", "oninit" } }, }
-
Setting Up Neovim with Fennel
local function bootstrap (name, url, path) if vim.fn.isdirectory(path) == 0 then print(name .. ": installing in data dir...") vim.fn.system {"git", "clone", "--depth", "1", url, path} vim.cmd [[redraw]] print(name .. ": finished installing") end end bootstrap ( "tangerine.nvim", "https://github.com/udayvir-singh/tangerine.nvim", vim.fn.stdpath "data" .. "/site/pack/packer/start/tangerine.nvim" ) bootstrap ( "hibiscus.nvim", "https://github.com/udayvir-singh/hibiscus.nvim", vim.fn.stdpath "data" .. "/site/pack/packer/start/hibiscus.nvim" ) require'tangerine'.setup{ compiler = { verbose = false, hooks = { "onsave", "oninit" } } }
- Researching Lispy Neovim
-
Swapping to Fennel
I can recommend using Fennel with Tangerine (integration) and Hibiscus (macros). My config here for inspiration.
-
Whenever I'm looking for plugins these days [OC]
You just need a fennel-to-lua transpiler like tangerine.nvim and you're set.
-
Vim 9 has been released
You can use fennel in neovim with https://github.com/Olical/aniseed or https://github.com/udayvir-singh/tangerine.nvim :)
- Nvim config in fennel?
-
Plugin: forem.nvim (integration with dev.to)
I'm not using conjure, actually. I'm using tangerine, it has a command to evaluate fennel code too.
-
Configurando Neovim com Fennel
local function bootstrap (name, url, path) if vim.fn.isdirectory(path) == 0 then print(name .. ": installing in data dir...") vim.fn.system {"git", "clone", "--depth", "1", url, path} vim.cmd [[redraw]] print(name .. ": finished installing") end end bootstrap ( "tangerine.nvim", "https://github.com/udayvir-singh/tangerine.nvim", vim.fn.stdpath "data" .. "/site/pack/packer/start/tangerine.nvim" ) bootstrap ( "hibiscus.nvim", "https://github.com/udayvir-singh/hibiscus.nvim", vim.fn.stdpath "data" .. "/site/pack/packer/start/hibiscus.nvim" ) require'tangerine'.setup{ compiler = { verbose = false, hooks = { "onsave", "oninit" } } }
-
One more nvim config with fennel, I am glad I moved (from vimscript)
There is also https://github.com/udayvir-singh/tangerine.nvim As I understand it itβs a more lightweight more neovim focused fennel to lua transpiler which would act as a replacement for aniseed.
nvim.conf
-
lazy.nvim and Aniseed for config environment
I am using Lazy with Hotpot right now, maybe my dotfiles can help you: https://github.com/datwaft/nvim.conf
-
lspconfig broke my config and I don't know how to replace it
Here is the code: https://github.com/datwaft/nvim.conf/blob/main/fnl/conf/health.fnl
- Does anyone have a working Fennel config, preferably using Tangerine or Hotpot?
-
Only set wrap for specific filetypes with Lua Autocmds, is there a better implementation?
scripts under after/ftplugin are loaded on their respective filetype, so you can use those for per-filetype settings. See https://github.com/datwaft/nvim.conf/tree/main/after/ftplugin for an example
-
Hotter Hotpot: bytecode cache beta branch
datwaft's nvim.conf is often cited as a good fennel config to peak at.
-
Telescope.nvim not closing on <esc> in Insert Mode
Here is my telescope configuration, it could be of any use: https://github.com/datwaft/nvim/blob/master/fnl/crux/core/pack/telescope.fnl
-
Fennel + Neovim and the fallacy of choice
datwaft has a pretty extensive fennel config, he uses hotpot and probably pushes it hardest, at least he's been great at finding all the sharp edges where fennel, hotpot and neovim intersect!
-
Showcase of idiomatic configuration using Fennel with macros
I am using Fennel (which is a Lisp that compiles to Lua) with Aniseed and some personal macros that you can see here to make my configuration idiomatic and good looking.
- Recommend config repos that I can use to structure my config?
What are some alternatives?
hotpot.nvim - :stew: Carl Weathers #1 Neovim Plugin.
neovim-config - Neovim configuration
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
nvim - A non-minimal Neovim config built to work most efficiently with Frontend Development
nvim-moonwalk - Use any language that compiles to Lua in your Neovim configuration
configs - lucatrazzi dotfiles & installer scripts
nvim-tetris - Bringing emacs' greatest feature to neovim - Tetris!
dotfiles - The best and strongest dotfiles. Editor: Neovim; Shell: zsh(zinit, powerlevel10k); Terminal: wezterm; Desktop: hyprland/sway, ulauncher, dunst; OS: ArchLinux (Ubuntu/Fedora/CentOS)
zest.nvim - macros to configure neovim in fennel
dotfiles - My dotfiles for Neovim, fish, tmux, and friends, optimized for web development on macOS.
hibiscus.nvim - :hibiscus: Flavored Fennel Macros for Neovim
.dotfiles - π» My settings for macOS, wezterm, zsh, nvim, and more π