nvim-moonwalk
hibiscus.nvim
nvim-moonwalk | hibiscus.nvim | |
---|---|---|
5 | 7 | |
66 | 99 | |
- | - | |
0.0 | 5.4 | |
about 2 years ago | 6 months ago | |
Lua | Fennel | |
GNU General Public License v3.0 only | 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.
nvim-moonwalk
-
Researching Lispy Neovim
There's also gpanders/nvim-moonwalker, which advertises Fennel in it's readme but works for any x->lua language you return the lua code for, ie: teal, moonscript, uh... others?
- Swapping to Fennel
-
Fennel configs - What have your experiences been? What library are you using and why?
I used Hotpot for ~a year or so and loved it. I recently discovered https://github.com/gpanders/nvim-moonwalk as an even more minimalist option.
-
Hotter Hotpot: bytecode cache beta branch
moonwalk which supports Fennel by way of supporting any x → lua language. Not sure if it tracks dependency changes when recompiling though* as it's a more generic solution.
-
Is it possible to configure neovim with teal instead of lua?
https://github.com/gpanders/nvim-moonwalk allows you to use any language that compiles to Lua.
hibiscus.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" } }, }
-
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]
For ease of use, you can use conjure for evaluating the code, cmp-conjure for nvim completions, hibiscus.nvim and nyoom.nvim macros for macros, and you can also use nyoom.nvim as a base config.
-
Hibiscus 🌺 -- Fennel eye-candy for neovim
Hibiscus.nvim:
-
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" } } }
-
Disable diagnostic while expanding luasnip snippets
Fennel with hibiscus:
-
🍊 Tangerine - Painless Fennel integration in Neovim
But, you can use another plugin of mine Hibiscus which contains bulk of zest and aniseed macros.
What are some alternatives?
tangerine.nvim - 🍊 Sweet Fennel integration for Neovim
Fennel - Lua Lisp Language
fennel-language-server - Fennel language server protocol (LSP) support.
hotpot.nvim - :stew: Carl Weathers #1 Neovim Plugin.
vim-commentary - commentary.vim: comment stuff out
zest.nvim - macros to configure neovim in fennel
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
factorio-useful_book - [Factorio mod] Store and use any script in Lua/Candran/Teal/MoonScript or create custom commands. Admins can share access to an executable code to players.
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
teal-types - Teal type definitions of Lua libraries!
vim-tmux-navigator - Seamless navigation between tmux panes and vim splits