diff --git a/ftplugin/typst.lua b/ftplugin/typst.lua new file mode 100644 index 0000000..7fc79e2 --- /dev/null +++ b/ftplugin/typst.lua @@ -0,0 +1,9 @@ +local lspconfig = require("lspconfig") + +lspconfig.tinymist.setup({ + settings = { + formatterMode = "typstyle", + exportPdf = "onType", + semanticTokens = "disable", + }, +}) diff --git a/lua/config/icons.lua b/lua/config/icons.lua index 0f6a099..227b47a 100644 --- a/lua/config/icons.lua +++ b/lua/config/icons.lua @@ -36,4 +36,10 @@ return { cterm_color = "225", name = "Scallop", }, + Quarto = { + icon = "󰐙", + color = "#75aadb", + cterm_color = "110", + name = "Quarto", + }, } diff --git a/lua/plugins/lang/typst.lua b/lua/plugins/lang/typst.lua new file mode 100644 index 0000000..20efaf9 --- /dev/null +++ b/lua/plugins/lang/typst.lua @@ -0,0 +1,8 @@ +return { + { + "chomosuke/typst-preview.nvim", + ft = "typst", + version = "1.*", + config = {}, + }, +}