Commit graph

8344 commits

Author SHA1 Message Date
Quentin Le Guennec
db9bc3848d feature/workspaces: Fix +workspace-delete to match docstring 2018-10-30 19:10:16 +01:00
Henrik Lissner
c2392039f0
counsel-describe-face -> counsel-faces
counsel-faces displays useful information alongside each face.
2018-10-29 02:31:51 -04:00
The-BigDaddy
6dc3cddf19 added :editor lispyville 2018-10-27 16:44:12 -05:00
Henrik Lissner
f43e64e505
Add ns-auto-titlebar package for MacOS
This fixes mismatching frame title and frame coloring, as well as
auto-sets the ns-appearance parameter depending on your theme.
2018-10-25 13:42:20 -04:00
Henrik Lissner
86305f2175
lang/haskell: just detect evil
Instead of detect the feature/evil module. This is more versatile.
2018-10-24 01:14:35 -04:00
Henrik Lissner
e77c4f2406
app/email: minor refactor 2018-10-24 01:09:17 -04:00
Henrik Lissner
0665d10377
lang/ruby: remove dtrt-indent fix
This was merged upstream
2018-10-24 01:08:31 -04:00
Henrik Lissner
f9d6ee49ee
lang/haskell: fix evil keybinds for intero/dante 2018-10-24 01:08:11 -04:00
Henrik Lissner
9599ca3cf2
feature/lookup: fix missing other-window args
For +lookup/references & +lookup/documentation
2018-10-22 22:16:27 -04:00
Henrik Lissner
0d902e8cf1
bin/doom: demote missing -p path error to warning
The error would prevent bin/doom quickstart from working with a custom
private directory. Instead, just warn that it doesn't exist.

Fixes #974
2018-10-21 20:01:09 -04:00
Henrik Lissner
915467cb13
feature/lookup: update dumb-jump integration
dumb-jump-go now returns a results plist, so our cl-letf hack is no
longer necessary.
2018-10-21 17:54:15 -04:00
Henrik Lissner
9337c3f8c3
feature/lookup: fix OTHER-WINDOW arg
For +lookup/definition, +lookup/references and +lookup/documentation.
2018-10-21 17:53:23 -04:00
Chen Hou-wu
1c5080315a turn off fci when window is narrow than fill column 2018-10-22 00:04:46 +08:00
Henrik Lissner
54749d04e6
Have :P modifier throw error when not in a project
If it returns nil, it will throw a stringp error otherwise.
2018-10-19 23:27:58 -04:00
Henrik Lissner
ab95ae1975
feature/eval: minor refactor
Now that I've "backported" display-line-numbers to Emacs 25, it isn't
necessary to conditionally enable nlinum-mode.

Also, use after! isntead of def-package!; this usage is equivalent, and
after! imposes less overhead.
2018-10-19 22:01:01 -04:00
Henrik Lissner
ae99f52b99
completion/ivy: re-enable counsel-projectile
See ddf107a.
2018-10-19 17:46:30 -04:00
Henrik Lissner
e0f7ba19cd
lang/org: use correct todo on RET
Improves on baa6f640. This fixes RET cycling between different keyword
sets.
2018-10-19 15:44:25 -04:00
Henrik Lissner
8e67e591d6
lang/org: don't conditionally install org-yt
Forgot to update packages.el in b292795.
2018-10-19 12:54:47 -04:00
Henrik Lissner
847983e278
Fix bin/doom hanging after generating autoloads
Emacs occasionally hangs when polling for the emacs server (with
server-running-p). Since this is used for such a trivial feature (to
decide whether or not to display the "you need to restart" message), I
removed it. Now it always shows that message (if the autoload files have
changed).
2018-10-19 12:07:17 -04:00
Henrik Lissner
09603c5444
+format-region-p = nil
Should be a boolean in the first place; this fixes custom formatters
that use it like a boolean.
2018-10-19 11:48:47 -04:00
Henrik Lissner
005a07b416
+evil:apply-macro: fix operator & fail gracefully
Formly, this would fail silently. This has been rewritten to let you
know if no macro is available at a register. It will also inform you how
many times the macro was executed.

Also fixes g@ not invoking the operator state.
2018-10-18 19:41:29 -04:00
Henrik Lissner
97f8594a71
ui/modeline: refresh +modeline-buffer-state often
This fixes issues where the buffer's modified state isn't reflected
properly in the mode-line, at the expense of a little (but acceptable
loss of) efficiency.
2018-10-18 13:13:35 -04:00
Henrik Lissner
e8b6887259
lang/rust: remove company-racer
Racer provides completion-at-point integration, which makes
company-racer redundant (and it conflicts with company-capf).
2018-10-18 13:11:28 -04:00
Henrik Lissner
936f13744b
lang/org: improve error handling for remote image previews 2018-10-18 12:54:37 -04:00
Henrik Lissner
b2927955e7
lang/org: move org-yt out of +attach in config.el 2018-10-18 12:51:35 -04:00
Henrik Lissner
ecaa8fc7cd
lang/org: move custom links into new hook function 2018-10-18 12:50:39 -04:00
Henrik Lissner
2ca2050c6d
feature/evil: fix o/O indentation in haskell-mode
Refactors +evil*insert-newline-*-and-respect-comments advice. This also
fixes an issue where o uses haskell's line indenter in haskell-mode,
which is naive. Instead, we use haskell-indentation-newline-and-indent,
which is smarter.

This is a dirty dirty hack. May Nyarlathotep have mercy on our souls.

Reported by @ar1a
2018-10-18 12:17:30 -04:00
Henrik Lissner
09f9e12638
Fix evil-open-above in auto-filled comments
If comment-auto-fill-only-comments is enabled, evil-open-above (O) can
break comments, e.g. in haskell

-- 1 :. 2 :. 3 :. Nil
-- |a
--

Becomes

-- 1 :. 2 :. 3 :. Nil
-- |
--
  a
--

Reported by @ar1a
2018-10-17 22:27:41 -04:00
Henrik Lissner
99b7b7f740
lang/org: add inline base64/http(s) image support
Adds inline image preview support for http/https links, as well as
base64 encode image support with the img protocol. e.g.

Examples:
[[http://domain.com/some/image.png]]
[[https://raw.githubusercontent.com/hlissner/doom-emacs/screenshots/company.png]]
[[img:iVBORw0KGgoAAAANSUhEUgAAACUAAAAuCAAAAACKMo8cAA...]]
2018-10-17 16:31:23 -04:00
Henrik Lissner
fda4734164
lang/common-lisp: disable fuzzy/flex completions
Fuzzy search is slower and less predictable, and is generally disabled
by default across Doom (or gated behind variables/flags).
2018-10-17 15:01:03 -04:00
Henrik Lissner
5a442932d7
ui/doom-dashboard: reload dashboard in daemon frames
Fixes an issue where creating a graphical frame from the daemon can
cause the non-GUI version of the dashboard to show.
2018-10-17 14:49:35 -04:00
Henrik Lissner
c6c3054fbb
completion/ivy: update ivy-rich integration
And remove unused/defunct code. Also fixes a `file-in-directory-p: Wrong
type argument: stringp, nil` error when invoking counsel-recentf.
2018-10-17 14:34:43 -04:00
Henrik Lissner
11793be240
completion/helm: fix void-variable error #954
The grep backend assumes helm-projectile is available and references its
variables, but in some cases, it won't be (e.g. if a search command is
used early enough after startup).
2018-10-17 12:13:03 -04:00
Henrik Lissner
6c4bf16208
config/default: +evil:fold-toggle -> +evil/fold-toggle
The command was renamed a while ago.
2018-10-17 11:41:30 -04:00
Henrik Lissner
baa6f64025
lang/org: use correct todo keyword on M-RET
Previously, new TODO headers created with M-RET or M-S-RET (bound to
+org/insert-item) would use the first TODO keyword in org-todo-keywords
in the new header. This wouldn't necessarily match the previous header.
e.g.

* [ ] Item 1
* TODO |

This fix ensures new headers will preserve the correct header, even if
the previous one is in a DONE state.

* [ ] Item 1
* [ ] |
2018-10-17 01:24:26 -04:00
Henrik Lissner
9bb5b4ef72
tools/magit: +magit-hub-features = t
Since magithub is "disabled" by default, if enabled it might be
confusing that its features aren't all enabled (which is magithub's
default behavior).
2018-10-17 00:21:18 -04:00
Henrik Lissner
56d7f70b2f
Make all-the-icons return empty string in tty #941 2018-10-16 23:50:46 -04:00
Henrik Lissner
213f7f369e
Merge pull request #966 from edwintorok/more-ocaml
merlin: eldoc, imenu and iedit support
2018-10-16 21:54:01 -04:00
Edwin Török
a1ca5b2850 lang/ocaml: update README
Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-17 00:13:20 +01:00
Edwin Török
a4a42d3141 lang/ocaml: enable merlin-imenu and merlin-iedit (part of merlin)
merlin-imenu works nicely with `SPC / i`.

merlin-iedit is a refactoring tool that locates all occurences of an
identifier in scope and you can use multiple cursors to edit.
integration with evil-multiedit could be better.

There is also a merlin-xref backend, but since we got the individual
def/lookup/etc. already bound not sure if it is worth using it.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-17 00:06:20 +01:00
Edwin Török
cdd39b20a5 lang/ocaml: add merlin-eldoc type and doc on hover display
This displays the type and documentation of thing under point
and highlights occurrences automatically when idle. Could be achieved by appropriate use of
keyboard shortcuts already set up by this module.

However `merlin-eldoc` can also display the expected type of function call parameters,
which merlin itself wouldn't.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-17 00:06:20 +01:00
Edwin Török
50b324b683 lang/ocaml: always initialize merlin, but wait for a .merlin file for flycheck
Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-17 00:06:20 +01:00
Henrik Lissner
51190fa771
More descriptive signature for set-electric!
And mention that electric-indent-local-mode is enabled by this in its
docstring.
2018-10-16 18:30:44 -04:00
Henrik Lissner
eb1440caa9
feature/evil: add evil-collection-resclient 2018-10-16 18:27:34 -04:00
Henrik Lissner
f4d49acdc8
More descriptive signatures for set-file-template!
And set-file-templates!
2018-10-16 17:32:59 -04:00
Henrik Lissner
e3a0ad0b33
set-pretty-symbols!: rename rest -> plist
A more sensibile name.
2018-10-16 17:32:41 -04:00
Henrik Lissner
3d6b30675c
lang/ruby: remove redundant add-hook 2018-10-16 17:28:21 -04:00
Henrik Lissner
5ceb64705f
lang/ocaml: remove ocamlformat comment
It doesn't apply anymore
2018-10-16 14:02:55 -04:00
Henrik Lissner
a116507672
Add tools/terraform to init.example.el 2018-10-16 14:02:02 -04:00
Henrik Lissner
ae7fbf05c0
init.example.el: fix swtft -> swift typo 2018-10-16 13:53:32 -04:00