diff --git a/auto-insert/user.js b/auto-insert/user.js new file mode 100644 index 0000000..d73c9bf --- /dev/null +++ b/auto-insert/user.js @@ -0,0 +1,18 @@ +// ==UserScript== +// @name $1 +// @description $2 +// @version `(format-time-string "%Y.%m.%d.1")` +// @author `user-full-name` +// @copyright `(format-time-string "%Y")`, `user-full-name` (https://tastytea.de/) +// @license GPL-3.0-only +// @namespace tastytea.de +// @homepageURL ${3:https://schlomp.space/tastytea/userscripts} +// @supportURL $3/issues +// @downloadURL $3/raw/branch/main/¡CHECKME!`(file-name-nondirectory (buffer-file-name))` +// @grant none +// @match https://*$4 +// @run-at document-end +// @inject-into content +// ==/UserScript== + +$0 diff --git a/init.el b/init.el index 0062463..f185285 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-05-28T20:39:03+00:00> +;; Time-stamp: <2019-05-29T00:04:52+00:00> ;;; Commentary: ;; I am using this file with Emacs 26, but most of it will probably work with @@ -676,6 +676,9 @@ With argument, do this that many times." (add-to-list 'auto-insert-alist '(("\\.[1-9]\\.adoc\\'" . "AsciiDoc manpage") . ["manpage.adoc" my/autoinsert-yas-expand])) + (add-to-list 'auto-insert-alist + '(("\\.user.js\\'" . "Userscript") . + ["user.js" my/autoinsert-yas-expand])) :custom (auto-insert-directory (concat user-emacs-directory "auto-insert")) (auto-insert-query nil) ; Don't ask before inserting. diff --git a/server/server b/server/server index 2ee1a80..73fe796 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 21291 +127.0.0.1:51313 26184 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file