Zola.nvim
Table of Contents
Zola.nvim is a Neovim plugin to make writing content for your Zola static sites just that bit easier.
✨ Why Zola.nvim?
I build most of my personal sites and documentation with Zola, which I love, but life is short, and I was missing autocompletions that are specific to the way it does things, as well as something to create boilerplate for me, so I creadted zola.nvim
Features
- lua function to create and open new pages/sections so you can start writing immediately
- a
blink.cmpsource to provide autocomplet for the following things:- internal links (using zola's
@link syntax) - shortcodes when inside a
{{ }} - taxonomies when on a line of the form
name = [.*wherenameis the name of a taxonomy as defined in yourconfig.tomlorzola.toml(requiresripgrepto be installed on your system)
- internal links (using zola's
Installation
This plugin requires plenary to function. I recommend pinning to the latest release tag, e.g. using lazy.nvim:
{
'aslowwriter/zola.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
-- optional but recommended
'saghen/blink.cmp'
}
}
If you want to use the taxonomy completion you need to install ripgrep on your system with whatever method you are comfortable with.
Check out the GitHub repo for installation and usage details. I’d love to hear your feedback and ideas for future improvements! (if you're curious, yes, this post was in fact made using Zola.nvim!)