Commit Graph

4826 Commits

Author SHA1 Message Date
0e6540fb8f Fix featurep! in private submodules
You'll have to use the full form to use featurep! in the private module
root, but now the short form will work in the nested submodules.
2018-02-15 03:36:32 -05:00
800f8c4739 config/default: remove default yasnippet directory
Otherwise, ~/.emacs.d/snippets is always created.
2018-02-15 01:34:12 -05:00
a5a8ca617a Revise config/default comment in init.example.el 2018-02-14 23:42:45 -05:00
43360b5f00 Add lang/ess to init.example.el 2018-02-14 23:36:36 -05:00
b3dcba54eb Add config/private; for ~/.doom.d & ~/.config/doom support #406
A modules/ submodule will be symlinked to ~/.emacs.d/modules/private.
2018-02-14 23:36:35 -05:00
6d7db48dc1 💥 Move :private modules to :config 2018-02-14 23:36:27 -05:00
dfefbd0176 Fix make test not resetting doom-modules properly 2018-02-14 21:18:56 -05:00
0fb72805ab lang/web: new comment-indent-function for css/scss-mode
Adds +css/comment-indent-new-line, since the built-in default performs
poorly in CSS buffers. This is experimental.
2018-02-14 20:58:38 -05:00
5bee5c95ee lang/web: refactor +css/toggle-inline-or-block
Remove evil dependency + make more robust.
2018-02-14 20:55:43 -05:00
4321f20b3e Appease byte-compiler-sama 2018-02-14 20:54:53 -05:00
ae52b2ff60 Fix empty load-file-name in warn! macro during byte-compilation 2018-02-14 20:52:25 -05:00
0f404a513a Fix overaggressive backspace
delete-backward-char would kill adjacent delimited regions:

1. |
   (...)
2. (|...)
2018-02-14 16:46:01 -05:00
fa19eaf8e0 private/default: add tab yas-expand keybind for emacs states 2018-02-14 15:14:07 -05:00
a22e4ca9d9 Merge pull request #421 from benj02/patch-1
Fix keybinding
2018-02-14 15:10:37 -05:00
6094d8407d tools/pdf: defer pdf-tools 2018-02-14 07:47:22 -05:00
0ccdc065f9 lang/haskell: fail gracefully if stack isn't installed 2018-02-14 07:47:22 -05:00
871883cd89 lang/hy: set :repl, :company-backend & :interpreter 2018-02-14 07:47:22 -05:00
373d4f25b5 lang/elm: set :repl & load autoloads 2018-02-14 07:47:22 -05:00
c94893c6ba lang/lua: fix localleader key hijacking SPC 2018-02-14 07:47:22 -05:00
0e1cf10c0f Update doom module readme file template 2018-02-14 07:47:22 -05:00
6c4e048c23 General refactor & cleanup 2018-02-14 07:47:22 -05:00
bac73ec938 Replace warn => warn! 2018-02-14 07:46:38 -05:00
5ad4246cb9 lang/clojure: refactor; rainbow-delimiters-mode; :lookup
Also add auto-mode-alist entry for clojurec-mode
2018-02-14 06:08:30 -05:00
d634a7e69d lang/go: put keybinds in evil maps to fix hijacked SPC in go-mode 2018-02-14 05:53:53 -05:00
38903d07e8 lang/go: relax warnings
+ Don't default to goimports unless it's available.
+ No warning if goimports is missing.
2018-02-14 05:52:08 -05:00
57adae5ec6 Introduce more opinionated backspace/del/newline behavior
+ Instead of remapping delete-backward-char to doom/delete-backward-char
  (which was unreliable, depending on the mode), it is now overridden
  with it, without sacrificing its original functionality. The new
  behavior is as follows:
  + Fall back to sp-backward-delete-char when it makes sense to delete
    the adjacent pair: {|} => |
  + Collapse an indented pair block, if at bolp in between: {
      |
    } => {|}
  + Refresh a pair's :post-handlers when deleting into pair: {
      |
    } => {|} => {
      |
    } (can be repeated)
  + When cursor is preceded by whitespace, delete in increments of
    tab-width.
+ newline-and-indent has been advised to:
  + Only newline when in a string.
  + Continue comment lines consistently (needs more testing!)
  + Falls back to basic newline-and-indent, without affecting whitespace
    in the origin line (it would originally delete-horizontal-space
    before creating a new line).
+ Incorporates a set of reasonable defaults for brace expansion on RET
  or SPC, as mentioned in #343 and #413.

Affects #343, #413
2018-02-14 05:42:51 -05:00
b43743d565 lang/cc: fix smartparens not autopairing/skipping <>
Also removed +cc/autoclose->-maybe -- let smartparens handle this.
2018-02-14 05:40:37 -05:00
11373e0128 Move doom-ansi-apply away from macros + add docstring 2018-02-14 05:40:37 -05:00
5e5d075431 New doom/*-this-file commands; move doom/sudo* to new files library 2018-02-14 05:40:37 -05:00
aae7ca258b Fix keybinding
Both flycheck-mode and toggle-frame-fullscreen seem to be bound to "SPC t f", which means that only the second binding gets applied and there's no binding to toggle flycheck. This PR simply changes the fullscreen binding to capital F.
2018-02-14 00:34:28 -08:00
f6039eaee3 Use delay-warning instead of message in warn! macro 2018-02-14 03:17:51 -05:00
0b9ac52d27 ui/doom-modeline: remove eldoc-eval #420
eldoc has this functionality built-in.
2018-02-13 19:46:25 -05:00
11e5140b98 Fix editorconfig file ext 'guesser' in org-edit-src buffers
Fixes editorconfig not correctly guessing style settings in org-edit-src
buffers.
2018-02-13 19:42:39 -05:00
e79942de2e lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
2018-02-13 19:41:09 -05:00
5b92c3d99f lang/org: add evil insert check to +org|indent-maybe 2018-02-13 18:33:36 -05:00
7b70aa9b7d lang/org: reorganize autoload/org.el. Pedantry intensifies.
Library is now separated into alphabetically sorted sections. So nice
and neat!
2018-02-13 18:19:36 -05:00
d84af58f77 lang/org: refactor tab/backtab/ret keybinds to be less intrusive
Turns out the native TAB/Backtab/RET functionality in org already does
what I've replaced them with (somewhat).

Also, I discovered that the canonical way to modify TAB behavior was
through org-tab-first-hook. So, instead of replacing native
functionality, I've rewritten these keybinds to leverage them.
2018-02-13 18:12:40 -05:00
a05c4cca6c Fix kill-this-buffer asking to save twice 2018-02-13 17:53:11 -05:00
3080b68c84 app/write: major refactor+rewrite
+ Make synosaurus unconditional
+ Move much of +write-mode into its hook
+ Conform README.org to template and expand it
+ Try to guess langtool-language-tool-jar
+ Update init.example.el entry
+ Remove redundant variables
+ Add +write-text-scale & +text-line-spacing variables
2018-02-13 17:50:58 -05:00
896ca67076 Merge pull request #416 from fuxialexander/write
Enhance +write module
2018-02-13 14:57:06 -05:00
608346e066 Merge pull request #418 from azy2/develop
Fix adding evil-set-jump to rtags-jump-hook when evil is not enabled
2018-02-13 14:52:27 -05:00
4ecf56a18c Merge pull request #419 from sarg/develop
Fix +plantuml/install.
2018-02-13 14:47:37 -05:00
d7846c3831 Fix +plantuml/install. 2018-02-13 22:23:07 +03:00
25977d662b Fix adding evil-set-jump to rtags-jump-hook when evil is not enabled 2018-02-13 09:29:48 -06:00
cb3e780a96 Fix package manager not detecting outdated quelpa packages 2018-02-13 05:23:40 -05:00
9b76627ee0 lang/org: do org-try-structure-completion on TAB #417 2018-02-12 23:19:51 -05:00
ba19032d29 Rename doom/narrow-buffer => doom/clone-and-narrow-buffer 2018-02-12 01:44:02 -05:00
c6199800e4 lang/javascript: fix localleader bindings breaking SPC in emacs mode 2018-02-12 01:43:26 -05:00
57b2b5c546 Fix doom//packages-update not updating dependencies 2018-02-11 16:13:15 -05:00
400c7cbfa4 feature/version-control: update magit popup rule (due to upstream changes)
The leading asterix in magit buffers is sometimes omitted. This change
is experimental.
2018-02-11 04:43:34 -05:00