From f5933d196b419901f96b0516b5039f3862eee27c Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 2 Nov 2024 17:11:29 +0100 Subject: vim-patch:d181baf: runtime(typst): synchronize updates from the upstream typst.vim 2 commits included from the upstream: - https://github.com/kaarmu/typst.vim/commit/2a4a0e0662f2f882403af7200b4249c564a621ab - https://github.com/kaarmu/typst.vim/commit/50e89f481102d5c9ef6990b9f8086c0c7d64bff6 https://github.com/vim/vim/commit/d181bafd0bb53f3caaf15a95a329a31d8208206b Co-authored-by: Yinzuo Jiang --- runtime/autoload/typst.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/autoload/typst.vim') diff --git a/runtime/autoload/typst.vim b/runtime/autoload/typst.vim index baf765a30b..6d097dd922 100644 --- a/runtime/autoload/typst.vim +++ b/runtime/autoload/typst.vim @@ -1,6 +1,6 @@ " Language: Typst " Maintainer: Gregory Anders -" Last Change: 2024 Oct 21 +" Last Change: 2024 Nov 02 " Based on: https://github.com/kaarmu/typst.vim function! typst#indentexpr() abort @@ -18,6 +18,9 @@ function! typst#indentexpr() abort " Use last indent for block comments if l:synname == 'typstCommentBlock' return l:ind + " do not change the indents of bullet lists + elseif l:synname == 'typstMarkupBulletList' + return indent(a:lnum) endif if l:pline =~ '\v[{[(]\s*$' -- cgit