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", + }, }