codekingpro/portable-devtools
114k
1" Vim compiler file2" Language: Typst3" Previous Maintainer: Luca Saccarola <github.e41mv@aleeas.com>4" Maintainer: This runtime file is looking for a new maintainer.5" Based On: https://github.com/kaarmu/typst.vim6" Last Change: 2025 Aug 057 8if exists('current_compiler')9 finish10endif11let current_compiler = get(g:, 'typst_cmd', 'typst')12 13" With `--diagnostic-format` we can use the default errorformat14let s:makeprg = [current_compiler, 'compile', '--diagnostic-format', 'short', '%:S']15 16" CompilerSet makeprg=typst17execute 'CompilerSet makeprg=' . join(s:makeprg, '\ ')18 