{"id":19238281,"url":"https://github.com/olical/nfnl-plugin-example","last_synced_at":"2026-06-27T22:30:17.791Z","repository":{"id":184478967,"uuid":"671965484","full_name":"Olical/nfnl-plugin-example","owner":"Olical","description":"An example Neovim plugin witten in Fennel using nfnl","archived":false,"fork":false,"pushed_at":"2023-07-28T15:08:36.000Z","size":74,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T02:10:36.113Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Fennel","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Olical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"Olical","ko_fi":"olical"}},"created_at":"2023-07-28T15:01:35.000Z","updated_at":"2024-10-16T23:50:56.000Z","dependencies_parsed_at":"2023-07-28T16:26:14.732Z","dependency_job_id":"f8b900aa-92ba-4928-b116-53b44103f821","html_url":"https://github.com/Olical/nfnl-plugin-example","commit_stats":null,"previous_names":["olical/nfnl-plugin-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fnfnl-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fnfnl-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fnfnl-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olical%2Fnfnl-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olical","download_url":"https://codeload.github.com/Olical/nfnl-plugin-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240324061,"owners_count":19783453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T16:30:31.048Z","updated_at":"2026-06-27T22:30:15.740Z","avatar_url":"https://github.com/Olical.png","language":"Fennel","funding_links":["https://github.com/sponsors/Olical","https://ko-fi.com/olical"],"categories":[],"sub_categories":[],"readme":"# nfnl-plugin-example\n\nA very simple plugin to demonstrate writing [Neovim][Neovim] plugins in\n[Fennel][Fennel] with [nfnl][nfnl].\n\nThe plugin only exposes one Lua module (`nfnl-plugin-example`) which exports one\nfunction (`setup`). When loaded and executed it'll use the notify API to display\n\"Hello, World!\" which means you'll either see it in your `:messages` area or in\na floating notification if you have a plugin for that.\n\nWe're embedding a copy of nfnl in this plugin to show you how that can be\nachieved. Here's a list of files you'll probably find interesting and worth\nlooking at:\n\n- `script/nfnl` is responsible for cloning, updating and embedding nfnl into\n  `lua/nfnl-plugin-example/nfnl`.\n- `.gitattributes` tells GitHub which files are vendored from other repos and\n  which are compiler output. This ensures your language report for your\n  repository is accurate and correctly ignores files you didn't write.\n- `.ignore` ensures compiler output Lua files don't show up in command line and\n  Neovim search interfaces.\n- `.nfnl.fnl` enables and configures nfnl for this directory, it's just relying\n  on the defaults so it only contains `{}`.\n- `fnl/nfnl-plugin-example/init.fnl` is the only code for this plugin and it's\n  the main entry point.\n- `script/test` executes the tests under `fnl/spec` with [Plenary][Plenary] (you\n  will need to install that separately for this to work).\n- `.github/workflows/test.yaml` creates a GitHub workflow that automatically\n  runs your test suite on push.\n\nIf you add this plugin to your plugin manager you can load it with:\n\n```lua\n:lua require(\"nfnl-plugin-example\").setup()\n```\n\nBear in mind, some plugin managers actually call this `setup` method for you\nwith a configuration table.\n\n## Usage\n\nFeel free to fork / copy / steal / borrow / modify / mutate / scramble / fry /\nreticulate splines / incorporate this repository in any way you see fit. It can\nbe an inspiration, reference or template. That's entirely up to you and what you\nneed right now.\n\nIf you build something with nfnl let me know and I'll link to it from here as\nfurther examples of how to work with it.\n\nHave fun!\n\n## Unlicensed\n\nFind the full [Unlicense][unlicense] in the `UNLICENSE` file, but here's a\nsnippet.\n\n\u003e This is free and unencumbered software released into the public domain.\n\u003e\n\u003e Anyone is free to copy, modify, publish, use, compile, sell, or distribute\n\u003e this software, either in source code form or as a compiled binary, for any\n\u003e purpose, commercial or non-commercial, and by any means.\n\n[Neovim]: https://neovim.io/\n[Fennel]: https://fennel-lang.org/\n[nfnl]: https://github.com/Olical/nfnl\n[unlicense]: http://unlicense.org/\n[Plenary]: https://github.com/nvim-lua/plenary.nvim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fnfnl-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folical%2Fnfnl-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folical%2Fnfnl-plugin-example/lists"}