Edwin Török
9d445c8a1f
make compile: fix error in emacs-lisp
...
```
In toplevel form:
../modules/lang/emacs-lisp/autoload.el:71:21:Error: Wrong type argument: listp, "~/.emacs.d/modules/lang/emacs-lisp/autoload"
✕ Failed to compile modules/lang/emacs-lisp/autoload.el
```
This apparently attempts to get compiled multiple times, avoid that by
attempting to compile only if it is not compiled already.
2018-09-12 22:55:13 +01:00
Edwin Török
6eb95c98ea
Fix bin/doom -d compile
: org-attach-directory not defined
2018-09-12 22:55:13 +01:00
Edwin Török
575c3cccd9
make compile: exit with non-zero code on error
...
This would allow the CI to fail to compilation errors.
2018-09-12 22:55:13 +01:00
Vladyslav M
cd22434df0
lang/rust: add cargo check
localleader keybind
2018-09-12 23:32:17 +03:00
Ruslan Kamashev
62212a4b94
Add tools/ansible
2018-09-11 22:42:05 +03:00
Henrik Lissner
856e4f27e5
feature/eval: autoload +eval-{repls,runners}
...
Fix void-variable error when, under certain conditions, these variables
are referred to before their containing files are loaded.
2018-09-10 22:57:26 -04:00
Henrik Lissner
ed702bab16
lang/ess: minor reformatting
...
Make hooks stand out a little more.
2018-09-10 22:39:11 -04:00
Henrik Lissner
ae6d106dce
lang/ess: update to reflect changes upstream #880
2018-09-10 22:36:37 -04:00
Henrik Lissner
f54c36e721
lang/common-lisp: revise sly popup rules
...
Fixes issues with the compilation, inspector, debug or trace buffers
replacing the repl popup.
2018-09-10 12:50:45 -04:00
Henrik Lissner
5b807a1c72
Fix alist-get polyfill's use of assoc in Emacs 25
...
assoc has only two arguments in Emacs 25, but the polyfill was using its
third argument.
This was discussed in #875
2018-09-10 12:48:19 -04:00
Henrik Lissner
75036cefb0
Revert max-{specpdl-size,lisp-eval-depth} changes
...
They were unnecessary and could cause crashing in some cases.
2018-09-10 09:04:27 -04:00
Henrik Lissner
08d9c02218
lang/go: fix formatter
...
`use-region-p` is not a reliable mechanism for detecting region-type
formatting, so +format-type was added to the editor/format module.
2018-09-10 08:25:48 -04:00
Henrik Lissner
c52d2a5a14
editor/format: add +format-type letvar
...
In case we need a conditional to test against in our formatters. e.g. in
go-mode, goimports is incompatible with partial formatting, so we force
it to use gofmt in that case.
2018-09-10 08:25:48 -04:00
Henrik Lissner
e0f8325f45
editor/format: fix wrong-number-of-args error
...
+format|buffer takes no arguments
2018-09-10 08:25:48 -04:00
Henrik Lissner
e38e79e6d7
editor/format: fix not-a-function error
...
Because unquoted lists were being evaluated, it was treated as a
function call.
2018-09-10 08:25:48 -04:00
Henrik Lissner
d0d0f3b0a6
Merge pull request #879 from re-mx/develop
...
Improve +fci|disable-when-company-activates
2018-09-10 07:51:32 -04:00
re-mx
947130df8b
Improve +fci|disable-when-company-activates
2018-09-10 17:56:09 +08:00
Henrik Lissner
fe79178b1f
Revise docstrings for run/doc dispatchers
2018-09-09 23:16:55 -04:00
Henrik Lissner
f115e4a883
lang/javascript: fix hijacked SPC in insert mode #876
2018-09-09 23:15:55 -04:00
Henrik Lissner
7b6dbe92c0
Add doom/reload-font command
2018-09-09 18:17:12 -04:00
Henrik Lissner
41743869af
Fix -y option for bin/doom compile #875
2018-09-09 16:44:17 -04:00
Henrik Lissner
1535a8d64a
lang/clojure: move flycheck-joker block
2018-09-09 16:35:16 -04:00
Henrik Lissner
59b1f7cd9b
Merge pull request #873 from mattly/clojure-flycheck-joker
...
Syntax-checking for clojure via joker
2018-09-09 16:34:43 -04:00
Henrik Lissner
2d685d736e
completion/ivy: fix +helm--get-command references
...
Bad copypasta!
2018-09-09 13:44:12 -04:00
Matthew Lyon
ca033e714c
Remove +joker flag for clojure layer
...
Flycheck apparently won't complain if joker isn't installed
2018-09-09 10:15:20 -07:00
Henrik Lissner
11feeaea5f
Fix autoload-package::get-packages tests
2018-09-09 10:09:45 -04:00
Henrik Lissner
a64b06aa77
lang/data: remove dockerfile-mode
...
Now in tools/docker
2018-09-09 10:05:14 -04:00
Henrik Lissner
3128b830f9
ui/modeline: +modeline-height = 25
...
+2 to default height
2018-09-09 09:58:23 -04:00
Henrik Lissner
d73f488c11
lang/ruby: add indent detection support
...
It already exists for ruby-mode, but not enh-ruby-mode. This fixes that.
2018-09-09 09:58:23 -04:00
Henrik Lissner
bc092acaee
lang/go: use gofmt for partials
...
goimports (if available) doesn't play well with partial code
reformatting.
2018-09-09 09:58:23 -04:00
Henrik Lissner
a963bcfe2c
editor/format: add (some) unit tests & stubs
2018-09-09 09:58:23 -04:00
Henrik Lissner
f6234e463a
editor/format: rewrite set-formatter!
...
+ First argument is no longer a major mode or list thereof, it is NAME.
Use :modes instead.
+ Updated docstring & examples.
+ Added formatting unsetting: (set-formatter! 'some-formatter nil)
2018-09-09 09:58:23 -04:00
Henrik Lissner
e3d590784c
editor/format: defer test for formatter
...
By deferring formatter predicates until formatting actually happens,
users won't have to reset the major mode to get formatting to work.
2018-09-09 09:58:22 -04:00
Henrik Lissner
3c34ff003b
editor/format: override format-all-buffer w/ +format/buffer
2018-09-09 09:58:22 -04:00
Henrik Lissner
8480f52081
editor/format: add +format-with option
...
+ A formatter can now be specified explicitly buffer-locally by setting
+format-with to a symbol representing the name of the
formatter (accepts any key of format-all-format-table)
+ Passing C-u to any of +format/buffer, +format/region or
+format/region-or-buffer will now prompt you to select a formatter.
+ Revise docstring for +format-on-save-enabled-modes
2018-09-09 09:58:22 -04:00
Henrik Lissner
46083ed398
editor/format: preserve indent in +format-buffer
2018-09-09 09:58:22 -04:00
Henrik Lissner
0b350f6ea4
ui/popup: refactor +popup/raise
...
Improves its error tolerance and gives it a window argument.
2018-09-09 09:58:22 -04:00
Henrik Lissner
da2a8b1063
tools/magit: don't mark process buffers as real
...
Otherwise, kill-this-buffer may switch to them.
2018-09-09 09:58:22 -04:00
Henrik Lissner
90f0765cfb
lang/org: set default for org-refile-targets
...
So org-refile can see your agenda files and files adjacent to the
current one.
2018-09-09 09:58:22 -04:00
Henrik Lissner
6767bb926e
lang/go: rebind conflicting keybinds for go-play-*
...
Fixes a startup error regarding binding to a non-prefix key.
2018-09-09 09:58:22 -04:00
Henrik Lissner
86d51dd056
Add +doom-dashboard-mode to swiper-font-lock-exclude
...
It breaks the dashboard
2018-09-09 09:58:22 -04:00
Henrik Lissner
533355d7d5
lang/clojure: fix evil keybinds in cider repl
2018-09-09 09:58:21 -04:00
Henrik Lissner
bcb444fa18
Enable yas-minor-mode in conf-modes too
2018-09-09 09:58:21 -04:00
Henrik Lissner
5c96b0a801
lang/javascript: update set-docsets!
2018-09-09 09:58:21 -04:00
Henrik Lissner
95fa12390d
lang/org: fix unfontified remote links
2018-09-09 09:58:21 -04:00
Henrik Lissner
2019aaff97
lang/javascript: enable xref support in rjsx-mode
2018-09-09 09:58:21 -04:00
Henrik Lissner
001f90df2f
lang/web: update set-docsets! & general refactor
2018-09-09 09:58:21 -04:00
Henrik Lissner
1b172e9f43
Better enh-ruby-mode suport in doom/describe-module & editorconfig
...
+ Associates enh-ruby-mode with :lang ruby for doom/describe-module
+ Enables editorconfig to detect extension-less or file-less ruby
files (from shebang lines or file local variables).
2018-09-09 09:58:21 -04:00
Henrik Lissner
22a94fc41a
Make helm/ivy project search api more consistent
...
+{helm,ivy}/*-from-cwd no longer accepts a third DIRECTORY argument.
2018-09-09 09:58:21 -04:00
Henrik Lissner
bd28eea778
feature/evil: remove <> opener/closers
...
And remove unnecessary def-package block. These commands are already
autoloaded by the package.
2018-09-09 09:58:21 -04:00