My attempt to optimize my emacs load time <1 second
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# -*- mode: snippet -*-
|
|
# name: Class OmniscriptText
|
|
# condition: (locate-dominating-file buffer-file-name "lwc")
|
|
# key: ostext
|
|
# --
|
|
import template from "./`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.html";
|
|
import OmniscriptText from 'vlocity_cmt/omniscriptText';
|
|
|
|
export default class `(upcase-initials (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))` extends OmniscriptText {
|
|
connectedCallback() {
|
|
console.log("`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))` - Connected");
|
|
$0
|
|
}
|
|
|
|
render() {
|
|
return template;
|
|
}
|
|
}
|