Henrik Lissner
7477546892
Fix lang/web's html entity encode/decode functions
...
Also, add unit tests and don't encode spaces.
2017-07-03 03:39:18 +02:00
Henrik Lissner
94f9d05c3a
lang/ocaml: refactor
2017-06-28 12:26:49 +02:00
Henrik Lissner
3643d9e16d
Refactor lang/scala #125
...
+ Autoload ensime after scala-mode
+ Don't let ensime initialize company; let :company-backend do it
+ Fix void-variable imenu-auto-rescan error caused by
ensime--setup-imenu.
2017-06-28 12:26:32 +02:00
Henrik Lissner
07a3efaaa0
Merge pull request #131 from rphillips/fixes/add_extension_exs
...
support exs extensions
2017-06-28 11:33:47 +02:00
Ryan Phillips
d7eb095fbd
support exs extensions as well
2017-06-28 01:32:14 -05:00
Valentin Robert
f7ce419265
Added lang/ocaml
2017-06-27 11:39:15 -07:00
Henrik Lissner
12025511a1
Merge pull request #122 from bandresen/pr__lang-hy
...
Add lang/hy (hylang.org)
2017-06-25 02:18:20 +02:00
Henrik Lissner
822c78554f
destructuring-bind => cl-destructuring-bind
2017-06-25 02:04:50 +02:00
Benjamin Andresen
b882e6b24a
lang/hy: initial commit
2017-06-24 19:03:15 +02:00
Henrik Lissner
5f141a82ab
lang/cc: refactor
2017-06-24 02:25:15 +02:00
Henrik Lissner
1fd27f16b3
lang/sh: add keywords for fontification
2017-06-20 23:33:22 +02:00
Henrik Lissner
354a1058ae
lang/markdown: markdown-asymmetric-header = t
2017-06-20 16:33:25 +02:00
Henrik Lissner
8f00b3d07a
Minor general refactor
2017-06-20 16:32:50 +02:00
Henrik Lissner
f4e3080432
lang/sh: improve zsh buffer detection
2017-06-20 16:25:46 +02:00
Henrik Lissner
02bfb73264
lang/sh: improve fontification for sh-mode
...
+ Fontify variables in double quotes (better)
+ Fontify command substitution in double quotes
+ Fontify built-in/common commands (see `+sh-builtin-keywords`)
2017-06-20 16:25:46 +02:00
Henrik Lissner
702b518431
Broaden +emacs-lisp-ert-mode :match detection
2017-06-19 12:51:11 +02:00
Henrik Lissner
9700b6f419
lang/emacs-lisp: remove load-after-compile
2017-06-19 12:50:43 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup
2017-06-19 00:32:45 +02:00
Henrik Lissner
bc3aee2a4f
Replace :xref-backend setting with :jump
...
Which takes :definitions, :references, :documentation and :xref-backend.
Each accepts a function that will jump to definitions, references, and
documentation respectively.
If a major-mode has an :xref-backend, you don't need :definitions or
:references.
2017-06-19 00:32:45 +02:00
Henrik Lissner
a2ca21cc21
Add doom*project-root advice fn
2017-06-19 00:03:37 +02:00
Henrik Lissner
9c9e410898
Use :editorconfig to set js-switch-indent-offset
...
Instead of a hook.
2017-06-18 23:43:07 +02:00
Henrik Lissner
78f5306274
Lazy-load lang/javascript/+screeps.el
2017-06-18 23:43:07 +02:00
Henrik Lissner
0574ba2d84
Refactor lang/markdown; add fontify code blocks
2017-06-16 02:10:33 +02:00
Henrik Lissner
4eb2a7cb41
General refactor + cleanup
2017-06-16 02:10:33 +02:00
Henrik Lissner
853ad98ae9
Fix editorconfig indent-policing in Lisp modes
...
Editorconfig in Lisp enforces lisp-indent-offset too strictly, ruining
its adaptive indentation. We don't want to disable it complete in those
modes however. In all other respects (controlling spaces vs tabs,
charset, max_line_length, etc) editorconfig is great.
2017-06-15 14:45:32 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup
2017-06-14 21:15:19 +02:00
Henrik Lissner
2097498f3e
General docstring+idempotency refactor
2017-06-11 00:59:02 +02:00
Henrik Lissner
6648ad815d
lang/org: reorganize + refactor
2017-06-10 01:53:24 +02:00
Henrik Lissner
fce95eb5e3
lang/org: doom-buffer-mode => solaire-mode
2017-06-10 01:53:03 +02:00
Henrik Lissner
eff937432e
Optimize lang/org: lexical-binding = t; cl-case => pcase
2017-06-10 01:52:44 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
...
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
window-setup hooks; a customization opportunity for users + ensures
custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
e5f3f6d844
Remove vestigial modules/lang/cc/setup.sh
2017-06-08 11:16:44 +02:00
Henrik Lissner
89db7ac2b9
lang/data: fix hexl-mode
2017-06-08 11:16:44 +02:00
Henrik Lissner
8b99d63ec6
emacs-lisp: highlight doom fn/vars in keyword face
2017-06-07 21:03:24 +02:00
Henrik Lissner
be46654629
Add highlight-numbers-mode to python & elisp
2017-06-07 14:36:24 +02:00
Henrik Lissner
1906de46e8
Fix void-variable recentf-exclude
2017-06-05 16:56:13 +02:00
Henrik Lissner
8a70e47e6d
lang/scala: refactor + fix ensime-mode init
2017-06-04 02:29:39 +02:00
Henrik Lissner
d83d800de9
Switch to fork of org-bullets
...
The source repo is no longer maintained, so I forked it, fixed a couple
problems (mainly, I made it respect org-hide) and am now using it in
DOOM.
2017-06-03 12:05:43 +02:00
Henrik Lissner
d1726e4a52
show-children (obsolete) => outline-show-children
2017-06-03 12:05:43 +02:00
Peter Luladjiev
77dc22f2f4
lang/go: add missing command-go-gocode-command variable
2017-06-02 23:54:07 +03:00
vijaykiran
f027acdf10
Minimal Clojure lang support
2017-05-30 09:28:38 +02:00
Henrik Lissner
117e55f0c2
General cleanup + refactor
2017-05-29 01:05:34 +02:00
Henrik Lissner
5988c654e9
lang/org: add toc-org plugin
2017-05-28 17:33:16 +02:00
Henrik Lissner
e8d454a251
Add doom-ui-mode-names for renaming major-modes
2017-05-28 16:13:55 +02:00
Henrik Lissner
b00d5edd26
Correct +org/capture function name
2017-05-28 12:23:05 +02:00
Henrik Lissner
45e9bf8754
emacs-lisp-mode: omit macro forms from imenu index
2017-05-28 02:48:20 +02:00
Henrik Lissner
9a4a196b69
Refactor lang/go
2017-05-26 20:22:45 +02:00
Henrik Lissner
009d7c9d49
lang/go: add goimports & godoc + more warnings
2017-05-26 20:22:45 +02:00
Henrik Lissner
10ea06b661
General cleanup + refactor
2017-05-25 20:12:43 +02:00
Henrik Lissner
0e78cde69d
lang/haskell: refactor + add company-ghc
2017-05-25 20:09:36 +02:00