From c890b5556c2dd3745f1c5f7a6ecae112f39fa69b Mon Sep 17 00:00:00 2001 From: zymon Date: Sat, 15 Feb 2025 14:30:16 +0100 Subject: [PATCH] typst commentstring fix --- lua/znvim/plugins/editor.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lua/znvim/plugins/editor.lua b/lua/znvim/plugins/editor.lua index a27d4c6..7213427 100644 --- a/lua/znvim/plugins/editor.lua +++ b/lua/znvim/plugins/editor.lua @@ -222,7 +222,7 @@ return { config = true, }, { - "folke/persistence.nvim", + "https://github.com/folke/persistence.nvim", event = "BufReadPre", -- this will only start session saving when an actual file was opened keys = { {"qs", function() require("persistence").load() end, desc = "load session from cwd"}, @@ -234,4 +234,13 @@ return { -- add any custom options here } }, + { + "https://github.com/folke/ts-comments.nvim", + opts = { + lang = { + typst = "// %s", + }, + }, + event = "VeryLazy", + }, }