Commit Graph

734 Commits

Author SHA1 Message Date
0bdf638813 lang/latex: refactor package loading mechanism 2018-05-25 02:18:29 +02:00
9a8b6a82e2 lang/web: add doctor.el 2018-05-25 01:01:25 +02:00
ae95b9e8d5 lang/sh: improve zsh shebang detection regexp 2018-05-25 00:52:37 +02:00
5472cd4a37 lang/org: set org-clock variables sooner 2018-05-25 00:51:35 +02:00
fd87a0bd9e lang/org: add ]h/[h keybinds; correct bind motion keys to motion map 2018-05-25 00:51:15 +02:00
09cb4f6716 Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
4ee0b5ba6d New macros file-exists-p! & project-file-exists-p!
The latter replaces the doom-project-has! macro
2018-05-24 21:15:17 +02:00
53a7e35082 lang/javascript: fix rjsx-electric-gt reparsing advice 2018-05-22 01:47:40 +02:00
7db7aed52d lang/org: refactor & add org-clock config/keybinds 2018-05-18 01:43:37 +02:00
84befc0303 lang/org: map bash src blocks to ob-shell 2018-05-18 01:43:16 +02:00
80adb9c1f6 General refactor for consistency & idempotency
Also updated comments
2018-05-18 01:26:41 +02:00
c46bd978fc lang/org: fix tab not folding src blocks 2018-05-17 23:05:35 +02:00
bed5a2f305 lang/web: add *.jinja to web-mode 2018-05-17 12:26:42 +02:00
803511c771 lang/web: disable company-css in Emacs 26+
css-mode's built-in completion is superior in Emacs 26+. The
company-capf backend will take advantage of it.
2018-05-17 12:22:27 +02:00
022baf808c lang/org: use evil-org-key-theme variable to initialize evil-org
Gives people a chance to customize which evil-org key themes are
available to them.

Addresses #591
2018-05-17 11:10:46 +02:00
622b53479a lang/emacs-lisp: display major/minor modes in imenu 2018-05-16 12:14:47 +02:00
63fdc3530c lang/cc: refactor (nest configs and chain packages)
Allows users to disable irony and/or rtags only, then their dependent
packages won't be loaded.
2018-05-16 00:16:13 +02:00
fd16719324 lang/{python,ruby}: add doctor.el 2018-05-15 21:49:51 +02:00
7eb0dd6340 lang/python: remove redundant pip-requirements config
The auto-mode-alist entry is already set up by
pip-requirements-autoloads.
2018-05-15 21:49:47 +02:00
9ac15aa0c1 Add [slim-mode] to :lang web +html
[slim-mode]: https://github.com/slim-template/emacs-slim
2018-05-14 20:30:28 -05:00
9a2c4f297c Fix void macro errors after byte-compiling 2018-05-15 03:24:30 +02:00
bb88411cc9 General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
48cb10a9cc lang/org: fix void-function +org|setup-ui error
Caused if org is loaded early in your config, before :lang org is
loaded. Or when byte-compiling.
2018-05-14 20:49:45 +02:00
8cab2f19fd Remove redundant config & auto-mode-alist entries
Much of this config is done in package autoloads, and now that
auto-mode-alist is cached in doom-package-alist (after reading autoload
files), we can save some space by removing redundant config.
2018-05-14 20:48:14 +02:00
daf4c93e36 lang/org: unbind [/] (interfering w/ default binds) 2018-05-14 13:05:03 +02:00
ff5d63b5a6 lang/javascript: add colon to electric chars 2018-05-14 13:05:03 +02:00
b6e2599358 lang/org: change recentf/persp clobbering fix 2018-05-14 13:05:03 +02:00
ffabd2687b lang/javascript: refactor & document +javascript/cleanup-tide-processes 2018-05-09 12:49:09 +02:00
505ceb3530 lang/latex: major refactor & reformatting 2018-05-09 12:38:20 +02:00
158c853e63 lang/cc: don't complain about missing rtags executable 2018-05-09 12:17:26 +02:00
4ba8379312 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop 2018-05-09 12:12:39 +02:00
b89431eef8 Towards fixing byte compilation. 2018-05-09 12:11:41 +02:00
93e552fcaf lang/cc: remove unnecessary :after irony properties
These two packages will be autoloaded by other means.
2018-05-09 10:22:03 +02:00
d9874da38a lang/nim: add doctor.el #568 2018-05-09 10:22:28 +02:00
7f8db56178 lang/nim: revise & conform readme to conventions #568 2018-05-09 10:22:24 +02:00
c8f29b0220 lang/nim: refactor config.el #568 2018-05-09 10:22:03 +02:00
92c4770e11 Merge pull request #568 from miguelsantos/develop
Basic support for Nim
2018-05-09 10:02:11 +02:00
b64b2764fa Fix header vars in doctor/packages.el files 2018-05-08 17:56:21 +02:00
1451b952b9 small typos 2018-05-08 11:58:59 -03:00
12e26761e2 add basic support for the nim language 2018-05-08 11:50:12 -03:00
9e141cd01b lang/org: fix newline-and-indent behavior in src blocks 2018-05-08 15:36:42 +02:00
f3d54af5dc lang/org: fix +org/insert-item moving cursor into invisible region 2018-05-08 15:24:43 +02:00
fbb2a710b5 lang/web: add css library tests 2018-05-08 15:19:27 +02:00
399f3538ce lang/web: fix +css/toggle-inline-or-block 2018-05-08 15:19:09 +02:00
168cb74794 Replace add-hook! with setq-hook! where possible 2018-05-07 22:37:19 +02:00
abd141aed9 lang/cc: alias cpp-mode to c++-mode
Offers an alternative for invoking c++-mode via M-x. The default M-x
interfaces for helm and ivy treat input as regexp, thus not reading +'s
literally, which can be annoying.
2018-05-07 21:57:20 +02:00
d7889e69b3 lang/org: unbind C-j/C-k (restoring window movement keys) 2018-05-07 19:30:24 +02:00
c8b3c5c493 lang/org: don't insert a second * at BOL 2018-05-07 19:30:09 +02:00
da598551a3 lang/elm: gate flycheck-elm behind featurep! check 2018-05-07 19:26:31 +02:00
6b573bc66b Refactor :lang auto-mode-alist entries 2018-05-07 19:26:31 +02:00