Skip to content

taigrr/freeze.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freeze.nvim

🍦 Screenshot code with freeze from Neovim.

Latest release Last commit License Stars

✨ Features

  • 📸 Screenshot code — Select lines and generate beautiful PNG images
  • 🔌 glaze.nvim integration — Automatic binary management via glaze.nvim
  • 🎨 Syntax highlighting — Automatically detects filetype for proper highlighting
  • Zero config — Works out of the box

📦 Installation

{
  "taigrr/freeze.nvim",
  dependencies = { "taigrr/glaze.nvim" },
  config = true,
}
use {
  "taigrr/freeze.nvim",
  requires = { "taigrr/glaze.nvim" },
  config = function()
    require("freeze").setup()
  end,
}

⚡ Requirements

  • Neovim >= 0.9.0
  • freeze binary (auto-installed via glaze.nvim)
  • glaze.nvim for binary management

🚀 Usage

  1. Select lines in visual mode
  2. Run :'<,'>Freeze
  3. A freeze.png will be created in your current working directory

Or freeze the entire buffer:

:Freeze

📖 Commands

Command Description
:[range]Freeze Freeze selected lines (or entire buffer) to PNG

📋 API

local freeze = require("freeze")

-- Setup (called automatically with config = true)
freeze.setup()

-- Freeze specific lines programmatically
freeze.freeze(start_line, end_line)

🩺 Health Check

:checkhealth freeze

Verifies Neovim version, glaze.nvim availability, and freeze binary installation.

🤝 Related Projects

📄 License

0BSD © Tai Groot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •