{"id":13894973,"url":"https://github.com/m15a/vim-fennel-syntax","last_synced_at":"2025-07-17T10:31:51.145Z","repository":{"id":48874878,"uuid":"273671650","full_name":"m15a/vim-fennel-syntax","owner":"m15a","description":"Yet another Vim syntax highlighting plugin for Fennel","archived":false,"fork":true,"pushed_at":"2024-11-01T13:24:41.000Z","size":1730,"stargazers_count":8,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-01T14:18:55.322Z","etag":null,"topics":["fennel","vim","vim-plugin","vim-syntax","vim-syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"Fennel","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"bakpakin/fennel.vim","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m15a.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-20T08:48:34.000Z","updated_at":"2024-11-01T13:24:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/m15a/vim-fennel-syntax","commit_stats":null,"previous_names":["m15a/vim-fennel-syntax"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m15a%2Fvim-fennel-syntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m15a%2Fvim-fennel-syntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m15a%2Fvim-fennel-syntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m15a%2Fvim-fennel-syntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m15a","download_url":"https://codeload.github.com/m15a/vim-fennel-syntax/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226255245,"owners_count":17595859,"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":["fennel","vim","vim-plugin","vim-syntax","vim-syntax-highlighting"],"created_at":"2024-08-06T18:01:54.262Z","updated_at":"2024-11-25T00:30:25.979Z","avatar_url":"https://github.com/m15a.png","language":"Fennel","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"\u003c!-- panvimdoc-ignore-start --\u003e\n\n# vim-fennel-syntax\n\n[![CI][ci-badge]][ci-jobs]\n[![Release][release-badge]][release-list]\n[![Fennel][fennel-badge]][fennel-homepage]\n\n[ci-badge]: https://img.shields.io/github/actions/workflow/status/m15a/vim-fennel-syntax/ci.yml?logo=github\u0026label=CI\u0026style=flat-square\n[ci-jobs]: https://github.com/m15a/vim-fennel-syntax/actions/workflows/ci.yml\n[release-badge]: https://img.shields.io/github/release/m15a/vim-fennel-syntax.svg?style=flat-square\n[release-list]: https://github.com/m15a/vim-fennel-syntax/releases\n[fennel-badge]: https://img.shields.io/badge/Fennel-v1.5.1-fff3d7.svg?style=flat-square\n[fennel-homepage]: https://fennel-lang.org/\n\nYet another Vim syntax highlighting plugin for [Fennel][1].\n\n![Screenshot](_assets/example.png)\n\nThis is a fork from the original [fennel.vim][2].\n\n## Features\n\n- **100% Vim script**: Both Vim and Neovim users can enjoy this plugin.\n- **Attentive highlighting**: Hash function literal `#(+ $1 $2)`,\n    shebang line `#!/usr/bin/env fennel`, and more.\n- **Granular Lua version support**: Depending on your Lua version, it\n    highlights literals and keywords differently, so that you can easily\n    find syntax errors relevant to Lua version difference [^1].\n\n[^1]: For example, hex numeric literal with exponent such as `0xA23p-4`\nis supported by Lua 5.2 or later.\n\n## Requirements\n\nIt would work with any recent or even older version of Vim/Neovim.\n\n## Installation\n\nUse any Vim/Neovim package manager. An example using [Paq][3] for\nNeovim:\n\n```lua\nrequire'paq' {\n  ..., -- other plugins\n  'm15a/vim-fennel-syntax',\n  ..., -- other plugins\n}\n```\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n\u003c!-- panvimdoc-include-comment\n\n```vimdoc\nMaintainer: NACAMURA Mitsuhiro \u003cm15@m15a.dev\u003e\nURL: https://github.com/m15a/vim-fennel-syntax\nLicense: MIT\n```\n\n--\u003e\n\n## Configuration\n\nThis plugin will automatically configure most options for your\nenvironment. To configure options manually, you can use the following\nglobal/buffer-local variables.\n\n### Options\n\n| Option                                    | Description                        | Type   | Default value |\n| :-                                        | :-                                 | :-     | :-            |\n| [fennel_lua_version](#fennel_lua_version) | Lua version to highlight literals. | string | auto-detected |\n| [fennel_use_luajit](#fennel_use_luajit)   | Highlight LuaJIT extentions.       | bool   | auto-detected |\n| [fennel_use_lume](#fennel_use_lume)       | Highlight Lume keywords.           | bool   | `1`           |\n\n#### `fennel_lua_version`\n\nHighlight literals and keywords for the given Lua version. It supports\n`5.1`, `5.2`, `5.3`, and `5.4`. Unless configured manually, it will be\ninferred automatically by invoking `lua -v`.\n\n```vim\nlet g:fennel_lua_version = '5.4'\n```\n\nOverride it by setting buffer local `b:fennel_lua_version`.\n\n\u003e [!NOTE]\n\u003e If neither `g:fennel_lua_version` nor `b:fennel_lua_version` is set\n\u003e and `lua` is not found in your `PATH`, it defaults to `5.1`.\n\n#### `fennel_use_luajit`\n\nHighlight literals and keywords extended in [LuaJIT][5]. Unless\nconfigured manually, it will be inferred automatically by invoking\n`lua -v`.\n\n```vim\nlet g:fennel_use_luajit = 0\n```\n\nOverride it by setting buffer local `b:fennel_use_luajit`.\n\n\u003e [!NOTE]\n\u003e If neither `g:fennel_use_luajit` nor `b:fennel_use_luajit` is set\n\u003e and `lua` (LuaJIT) is not found in your `PATH`, it defaults to `0`.\n\n#### `fennel_use_lume`\n\nHighlight keywords provided by [Lume][4]. It defaults to `1`.\n\n```vim\nlet g:fennel_use_lume = 1\n```\n\nOverride it by setting buffer local `b:fennel_use_lume`.\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n## License\n\n[MIT](LICENSE)\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n[1]: https://fennel-lang.org/\n[2]: https://github.com/bakpakin/fennel.vim/\n[3]: https://github.com/savq/paq-nvim/\n[4]: https://github.com/rxi/lume/\n[5]: https://luajit.org/extensions.html\n\n\u003c!-- vim: set tw=72 spell nowrap: --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm15a%2Fvim-fennel-syntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm15a%2Fvim-fennel-syntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm15a%2Fvim-fennel-syntax/lists"}