From 86c968ef8251dfdde48b6a2409523d85fbc90642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Hangh=C3=B8j=20Iversen?= Date: Wed, 15 May 2019 09:19:03 +0200 Subject: [PATCH] Add .gitmodules --- .gitmodules | 26 +++++++++++++++++++ emacs/init.el | 2 +- emacs/lisp/chruby | 1 + emacs/lisp/jira | 1 + emacs/lisp/psc-ide | 1 + emacs/lisp/ruby-trace-mode/ruby-trace-mode.el | 21 +++++++++++++++ emacs/lisp/spark | 1 + 7 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 emacs/lisp/chruby create mode 120000 emacs/lisp/jira create mode 160000 emacs/lisp/psc-ide create mode 100644 emacs/lisp/ruby-trace-mode/ruby-trace-mode.el create mode 160000 emacs/lisp/spark diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0074297 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,26 @@ +[submodule "emacs/lisp/chruby"] + path = emacs/lisp/chruby + url = git@github.com:plexus/chruby.el.git +[submodule "emacs/lisp/jira"] + path = emacs/lisp/jira + url = git@git.data.coop:fredefox/jira.git +[submodule "emacs/lisp/psc-ide"] + path = emacs/lisp/psc-ide + url = git@github.com:purescript-emacs/psc-ide-emacs.git +[submodule "emacs/lisp/spark"] + path = emacs/lisp/spark + url = git@github.com:alvinfrancis/spark.git + +# TODO: Submodulify these: +# [submodule "agda-mode"] +# path = emacs/lisp/agda-mode +# url = git@github.com:agda/agda.git +# [submodule "inheritance-theme"] +# path = emacs/lisp/inheritance-theme +# url = git@git.data.coop:fredefox/dotfiles.git +# [submodule "monokai-dark-theme"] +# path = emacs/lisp/monokai-dark-theme +# url = git@git.data.coop:fredefox/dotfiles.git +# [submodule "ruby-trace-mode"] +# path = emacs/lisp/ruby-trace-mode +# url = git@git.data.coop:fredefox/dotfiles.git diff --git a/emacs/init.el b/emacs/init.el index a29a4e9..46052cd 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -130,7 +130,7 @@ (defvar additional-packages '((agda2-mode . "agda-mode/") - (psc-ide . "psc-ide-emacs/") + (psc-ide . "psc-ide/") ;; (org-jira . "org-jira/") (jira . "jira/") (spark . "spark/") diff --git a/emacs/lisp/chruby b/emacs/lisp/chruby new file mode 160000 index 0000000..42bc6d5 --- /dev/null +++ b/emacs/lisp/chruby @@ -0,0 +1 @@ +Subproject commit 42bc6d521f832eca8e2ba210f30d03ad5529788f diff --git a/emacs/lisp/jira b/emacs/lisp/jira new file mode 120000 index 0000000..be28a37 --- /dev/null +++ b/emacs/lisp/jira @@ -0,0 +1 @@ +/Users/frederikhanghjiversen/git/fredefox/jira \ No newline at end of file diff --git a/emacs/lisp/psc-ide b/emacs/lisp/psc-ide new file mode 160000 index 0000000..a10cc85 --- /dev/null +++ b/emacs/lisp/psc-ide @@ -0,0 +1 @@ +Subproject commit a10cc85565f330ee277698b27f3f715fef2e1ce2 diff --git a/emacs/lisp/ruby-trace-mode/ruby-trace-mode.el b/emacs/lisp/ruby-trace-mode/ruby-trace-mode.el new file mode 100644 index 0000000..e7ef624 --- /dev/null +++ b/emacs/lisp/ruby-trace-mode/ruby-trace-mode.el @@ -0,0 +1,21 @@ +;;; ruby-trace-mode --- Syntax highlighting for ruby traces + +;;; Commentary: + +;;; Code: + +(provide 'ruby-trace-mode) + +(defvar ruby-trace-highlights + '(("\\<\\(in\\|at\\)\\>" . font-lock-keyword-face) + ("#[0-9]+" . font-lock-constant-face))) + +(define-derived-mode ruby-trace-mode prog-mode "ruby-trace" + "Minor mode for syntax highlighting ruby traces" + (setq font-lock-defaults '(ruby-trace-highlights))) + +;; Hi-lock: (("\\bat\\b" (0 (quote font-lock-keyword-face) prepend))) +;; Hi-lock: (("\\bin\\b" (0 (quote font-lock-keyword-face) prepend))) +;; Hi-lock: (("#[0-9]+" (0 (quote font-lock-type-face) prepend))) + +;;; ruby-trace-mode.el ends here diff --git a/emacs/lisp/spark b/emacs/lisp/spark new file mode 160000 index 0000000..0bf148c --- /dev/null +++ b/emacs/lisp/spark @@ -0,0 +1 @@ +Subproject commit 0bf148c3ede3b31d56fd75f347cdd0b0eae60025