aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/typst.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/typst.vim')
-rw-r--r--runtime/compiler/typst.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/compiler/typst.vim b/runtime/compiler/typst.vim
index 13699f4675..b7e5ff5507 100644
--- a/runtime/compiler/typst.vim
+++ b/runtime/compiler/typst.vim
@@ -2,8 +2,9 @@
" Language: Typst
" Previous Maintainer: Gregory Anders
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
+" Based On: https://github.com/kaarmu/typst.vim
" Last Change: 2024 Dec 09
-" Based on: https://github.com/kaarmu/typst.vim
+" 2025 Mar 11 by the Vim Project (add comment for Dispatch)
if exists('current_compiler')
finish
@@ -13,4 +14,5 @@ let current_compiler = get(g:, 'typst_cmd', 'typst')
" With `--diagnostic-format` we can use the default errorformat
let s:makeprg = [current_compiler, 'compile', '--diagnostic-format', 'short', '%:S']
+" CompilerSet makeprg=typst
execute 'CompilerSet makeprg=' . join(s:makeprg, '\ ')