Skip to content

Commit

Permalink
snippets: extend typescript with javascript snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Dec 10, 2024
1 parent 50ad91f commit b8ac946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/nxvim/plugins/luasnip.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ls.config.set_config({

-- == [ Snippets ==============================================================

ls.filetype_extend("typescript", { "javascript" })
ls.add_snippets("v", {
s("prt", fmt("println('{}')", { c(1, { sn(nil, { t("${"), i(1), t("}") }), t("") }) })),
})
Expand Down

0 comments on commit b8ac946

Please sign in to comment.