commit | d181bafd0bb53f3caaf15a95a329a31d8208206b | [log] [tgz] |
---|---|---|
author | Yinzuo Jiang <jiangyinzuo@foxmail.com> | Sat Nov 02 16:34:40 2024 +0100 |
committer | Christian Brabandt <cb@256bit.org> | Sat Nov 02 16:35:46 2024 +0100 |
tree | 068762cc6b8331f089b3f21a32cef6e6849f43f7 | |
parent | 88542445871d882b2a0e79410774797a73fe9e60 [diff] |
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 Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com> Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/autoload/typst.vim b/runtime/autoload/typst.vim index baf765a..6d097dd 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 @@ " 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*$'