mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
runtime(typst): add definition lists to formatlistpat, update maintainer
closes: #16192 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
ff70518f12
commit
b66cac1a8e
8
.github/MAINTAINERS
vendored
8
.github/MAINTAINERS
vendored
@ -19,7 +19,7 @@ runtime/autoload/modula2.vim @dkearns
|
|||||||
runtime/autoload/php.vim @david-szabo97
|
runtime/autoload/php.vim @david-szabo97
|
||||||
runtime/autoload/rubycomplete.vim @segfault @dkearns
|
runtime/autoload/rubycomplete.vim @segfault @dkearns
|
||||||
runtime/autoload/rust.vim @lilyball
|
runtime/autoload/rust.vim @lilyball
|
||||||
runtime/autoload/typst.vim @gpanders
|
runtime/autoload/typst.vim @saccarosium
|
||||||
runtime/autoload/xmlformat.vim @chrisbra
|
runtime/autoload/xmlformat.vim @chrisbra
|
||||||
runtime/autoload/dist/json.vim @habamax
|
runtime/autoload/dist/json.vim @habamax
|
||||||
runtime/colors/blue.vim @habamax @romainl @neutaaaaan
|
runtime/colors/blue.vim @habamax @romainl @neutaaaaan
|
||||||
@ -104,7 +104,7 @@ runtime/compiler/tidy.vim @dkearns
|
|||||||
runtime/compiler/ts-node.vim @dkearns
|
runtime/compiler/ts-node.vim @dkearns
|
||||||
runtime/compiler/tsc.vim @dkearns
|
runtime/compiler/tsc.vim @dkearns
|
||||||
runtime/compiler/typedoc.vim @dkearns
|
runtime/compiler/typedoc.vim @dkearns
|
||||||
runtime/compiler/typst.vim @gpanders
|
runtime/compiler/typst.vim @saccarosium
|
||||||
runtime/compiler/xmllint.vim @dkearns
|
runtime/compiler/xmllint.vim @dkearns
|
||||||
runtime/compiler/xo.vim @dkearns
|
runtime/compiler/xo.vim @dkearns
|
||||||
runtime/compiler/yamllint.vim @romainl
|
runtime/compiler/yamllint.vim @romainl
|
||||||
@ -297,7 +297,7 @@ runtime/ftplugin/toml.vim @averms
|
|||||||
runtime/ftplugin/tt2html.vim @petdance
|
runtime/ftplugin/tt2html.vim @petdance
|
||||||
runtime/ftplugin/typescript.vim @dkearns
|
runtime/ftplugin/typescript.vim @dkearns
|
||||||
runtime/ftplugin/typescriptreact.vim @dkearns
|
runtime/ftplugin/typescriptreact.vim @dkearns
|
||||||
runtime/ftplugin/typst.vim @gpanders
|
runtime/ftplugin/typst.vim @saccarosium
|
||||||
runtime/ftplugin/unison.vim @chuwy
|
runtime/ftplugin/unison.vim @chuwy
|
||||||
runtime/ftplugin/v.vim @ribru17
|
runtime/ftplugin/v.vim @ribru17
|
||||||
runtime/ftplugin/vdf.vim @ObserverOfTime
|
runtime/ftplugin/vdf.vim @ObserverOfTime
|
||||||
@ -390,7 +390,7 @@ runtime/indent/teraterm.vim @k-takata
|
|||||||
runtime/indent/terraform.vim @gpanders
|
runtime/indent/terraform.vim @gpanders
|
||||||
runtime/indent/thrift.vim @jiangyinzuo
|
runtime/indent/thrift.vim @jiangyinzuo
|
||||||
runtime/indent/typescript.vim @HerringtonDarkholme
|
runtime/indent/typescript.vim @HerringtonDarkholme
|
||||||
runtime/indent/typst.vim @gpanders
|
runtime/indent/typst.vim @saccarosium
|
||||||
runtime/indent/vroom.vim @dbarnett
|
runtime/indent/vroom.vim @dbarnett
|
||||||
runtime/indent/wast.vim @rhysd
|
runtime/indent/wast.vim @rhysd
|
||||||
runtime/indent/xml.vim @chrisbra
|
runtime/indent/xml.vim @chrisbra
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
" Language: Typst
|
" Language: Typst
|
||||||
" Maintainer: Gregory Anders
|
" Previous Maintainer: Gregory Anders
|
||||||
" Last Change: 2024 Nov 02
|
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||||
|
" Last Change: 2024 Dec 09
|
||||||
" Based on: https://github.com/kaarmu/typst.vim
|
" Based on: https://github.com/kaarmu/typst.vim
|
||||||
|
|
||||||
function! typst#indentexpr() abort
|
function! typst#indentexpr() abort
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Language: Typst
|
" Language: Typst
|
||||||
" Maintainer: Gregory Anders
|
" Previous Maintainer: Gregory Anders
|
||||||
" Last Change: 2024-07-14
|
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||||
|
" Last Change: 2024 Dec 09
|
||||||
" Based on: https://github.com/kaarmu/typst.vim
|
" Based on: https://github.com/kaarmu/typst.vim
|
||||||
|
|
||||||
if exists('current_compiler')
|
if exists('current_compiler')
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
" Vim filetype plugin file
|
" Vim filetype plugin file
|
||||||
" Language: Typst
|
" Language: Typst
|
||||||
" Maintainer: Gregory Anders
|
" Previous Maintainer: Gregory Anders
|
||||||
" Last Change: 2024 Dev 01
|
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||||
|
" Last Change: 2024 Dec 09
|
||||||
" Based on: https://github.com/kaarmu/typst.vim
|
" Based on: https://github.com/kaarmu/typst.vim
|
||||||
|
|
||||||
if exists('b:did_ftplugin')
|
if exists('b:did_ftplugin')
|
||||||
@ -12,8 +13,10 @@ let b:did_ftplugin = 1
|
|||||||
setlocal commentstring=//\ %s
|
setlocal commentstring=//\ %s
|
||||||
setlocal comments=s1:/*,mb:*,ex:*/,://
|
setlocal comments=s1:/*,mb:*,ex:*/,://
|
||||||
setlocal formatoptions+=croqn
|
setlocal formatoptions+=croqn
|
||||||
|
" Numbered Lists
|
||||||
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
||||||
setlocal formatlistpat+=\\\|^\\s*[-+\]\\s\\+
|
" Unordered (-), Ordered (+) and definition (/) Lists
|
||||||
|
setlocal formatlistpat+=\\\|^\\s*[-+/\]\\s\\+
|
||||||
setlocal suffixesadd=.typ
|
setlocal suffixesadd=.typ
|
||||||
|
|
||||||
let b:undo_ftplugin = 'setl cms< com< fo< flp< sua<'
|
let b:undo_ftplugin = 'setl cms< com< fo< flp< sua<'
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
" Vim indent file
|
" Vim indent file
|
||||||
" Language: Typst
|
" Language: Typst
|
||||||
" Maintainer: Gregory Anders <greg@gpanders.com>
|
" Previous Maintainer: Gregory Anders
|
||||||
" Last Change: 2024-07-14
|
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||||
|
" Last Change: 2024 Dec 09
|
||||||
" Based on: https://github.com/kaarmu/typst.vim
|
" Based on: https://github.com/kaarmu/typst.vim
|
||||||
|
|
||||||
if exists('b:did_indent')
|
if exists('b:did_indent')
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Typst
|
" Language: Typst
|
||||||
" Maintainer: Gregory Anders <greg@gpanders.com>
|
" Previous Maintainer: Gregory Anders
|
||||||
" Last Change: 2024 Nov 02
|
" Maintainer: Luca Saccarola <github.e41mv@aleeas.com>
|
||||||
|
" Last Change: 2024 Dec 09
|
||||||
" Based on: https://github.com/kaarmu/typst.vim
|
" Based on: https://github.com/kaarmu/typst.vim
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
|
Reference in New Issue
Block a user