Skip to content

Commit b5c9abd

Browse files
Add js-mode to web mode snippets by default
JavaScript snippets should be enabled in web mode by default. People who use web mode do so because they use multiple languages. I think it's quite reasonable to say that it is highly likely that people working with HTML are using JavaScript, and therefore they should be on without any additional config.
1 parent 899c027 commit b5c9abd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

snippets/web-mode/.yas-parents

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
html-mode
2+
js-mode

0 commit comments

Comments
 (0)