diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-19 18:34:13 +0900 |
| commit | 307fceea38b7352a79b0bdb87025a34b76973867 (patch) | |
| tree | 382eb3e6a11973bc2c6ba33eee14d43ec2a9566b /ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua | |
| parent | b66f68b8c014a3041c936ee9de1b57db5bcb50fb (diff) | |
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua deleted file mode 100644 index 74b9fb8..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/quarto.lua +++ /dev/null @@ -1,28 +0,0 @@ -local ls = require("luasnip") - -local s = ls.snippet -local i = ls.insert_node -local t = ls.text_node --- local d = ls.dynamic_node -local c = ls.choice_node --- local f = ls.function_node --- local r = ls.restore_node -local fmt = require("luasnip.extras.fmt").fmta --- local h = require("thesiahxyz.utils.snippet") - -local code_cell_snippet = s( - "`", - fmt( - [[```<lang> -<last> -``]], - { - lang = c(1, { t("python"), t("") }), - last = i(0), -- Place cursor here after expanding the snippet - } - ) -) - --- Add the snippets for multiple filetypes -ls.add_snippets("markdown", { code_cell_snippet }) -ls.add_snippets("quarto", { code_cell_snippet }) |
