Skip to content

marnym/typst-watch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typst-watch.nvim

typst-watch.nvim is a plugin that makes your typst workflow easier.

Requirements

Features

  • Searches for main.typ, and starts typst watch main.typ

  • If a different main file is used, the compilation process can be launched with: :TypstWatch filename or :TypstWatch for the current file

  • The compiled document can be opened with :TypstPreview

  • Notifies the user of the compilation result

Installation

{
    "marnym/typst-watch.nvim",
    opts = {}, -- specify options here
    ft = "typst", -- for lazy loading
}

Configuration

The following options are available in typst-watch.nvim:

{
    -- Command that opens the compiled document.
    preview_cmd = {"xdg-open",}, -- or open on macOS
}