robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:dd89754: runtime(typst): Improve ftplugin, and syntax file567053bb3c

master
473 B17 linesraw
1" Vim indent file
2" Language:             Typst
3" Maintainer:           Maxim Kim <habamax@gmail.com>
4" Previous Maintainer:  Gregory Anders
5"                       Luca Saccarola <github.e41mv@aleeas.com>
6" Last Change:          2026 Jun 29
7" Based on the indent plugin from https://github.com/kaarmu/typst.vim
8
9if exists("b:did_indent")
10  finish
11endif
12let b:did_indent = 1
13
14setlocal autoindent
15setlocal indentexpr=typst#indentexpr()
16
17let b:undo_indent = "setl ai< inde<"