typst
This commit is contained in:
parent
4e73cc78aa
commit
e41b998023
2 changed files with 10 additions and 0 deletions
1
after/ftplugin/typst.lua
Normal file
1
after/ftplugin/typst.lua
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
vim.cmd.setlocal("textwidth=80")
|
||||||
9
lua/snippets/typst.lua
Normal file
9
lua/snippets/typst.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
dofile(core.snippets)
|
||||||
|
|
||||||
|
return {
|
||||||
|
s("title", {
|
||||||
|
t("#set document(title: ["),
|
||||||
|
i(1, "theTitle"),
|
||||||
|
t({ "])", "#title()" }),
|
||||||
|
})
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue