Commit graph

33 commits

Author SHA1 Message Date
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board 2020-04-08 15:30:10 -04:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
9eaee096c8
Minor comment revision & general code reformatting 2019-07-23 17:30:32 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00
Henrik Lissner
3f195614d9
Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05: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
f9d6ee49ee
lang/haskell: fix evil keybinds for intero/dante 2018-10-24 01:08:11 -04:00
Martin Øinæs Myrseth
39059702c8 lang/haskell: Register intero-company backend 2018-10-04 21:56:43 +02:00
Henrik Lissner
fd19698927
doom|hack-local-variables => MODE-local-vars-hook
Uses a less destructive method (the same that Spacemacs uses) than the
one introduced in 13cee68, by introducing MODE-local-vars-hook hooks,
which run after local vars have been initialized.

The old method was to call `hack-local-variables` *before* mode hooks
run, however, this causes variables set by modes to have higher
precedence than local vars, which is unacceptable.

Also moved intero-mode & dante-mode to haskell-mode-local-vars-hook
2018-09-29 15:01:35 -04:00
Patrick Elliott
dc68d7aad8 Moved intero map 2018-07-19 11:02:26 +02:00
Patrick Elliott
b0a754391a Added stack build support for intero users 2018-07-18 09:11:48 +02:00
Henrik Lissner
2968374081
lang/haskell: fix haskell-hlint checker
Causing "not a valid syntax checker" errors because it haskell-hlint was
defined too soon.
2018-07-17 23:47:57 +02:00
Henrik Lissner
0a4cdf8202
Make haskell-hlint setup DRY 2018-07-17 03:09:45 +02:00
Patrick Elliott
f8581c3206 Added hlint support for intero users 2018-07-16 12:28:41 +02:00
Henrik Lissner
65d2b01333
Revert "Refuse to enable intero-mode if intero is absent"
This reverts commit 4f40fef592.

This was short sighted. The intero check doesn't find per-project built
instances of intero.
2018-07-03 03:41:08 +02:00
Henrik Lissner
4f40fef592
Refuse to enable intero-mode if intero is absent
Rather than checking for stack.
2018-06-27 19:36:42 +02:00
Patrick Elliott
bc124fae11 removed hindent hook 2018-06-26 19:14:31 +02:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.

Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
253fd77b2a
Fix intero-goto-definition #683 #684
It wasn't working in the first haskell buffer because of a race
condition. Intero was loading too late to register lookup handlers for
haskell-mode (for the first buffer).

By setting it to intero-mode, it is registered in time for intero-mode's
activation.
2018-06-15 22:16:49 +02:00
Henrik Lissner
c0251aacee
Replace :lookup with set-lookup-handlers! autodef
And update all internal references.
2018-06-15 17:27:48 +02:00
Henrik Lissner
bb88411cc9
General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
Henrik Lissner
135ebd925f
Enable global-eldoc-mode; less work for me! 2018-04-23 00:34:03 -04:00
Henrik Lissner
74c8b1d113
Rewrite doctor; move warn! blocks out in doctor.el files 2018-03-12 13:32:01 -04:00
Henrik Lissner
0ccdc065f9
lang/haskell: fail gracefully if stack isn't installed 2018-02-14 07:47:22 -05:00
Henrik Lissner
bac73ec938
Replace warn => warn! 2018-02-14 07:46:38 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
42cee2e046
Update :jump => :lookup 2018-01-05 23:57:48 -05:00
Henrik Lissner
b14198dedf
Extend byte-compile ;;;###if support to other elisp files 2017-12-10 16:57:51 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
061e71a846
[breaking] lang/haskell: refactor + require flags #158
The +intero/+dante module flags are now required; there is no default.
2017-10-03 02:57:00 +02:00
Henrik Lissner
56382f1215
lang/haskell: add intero support #158
To use dante instead, change `haskell` to `(haskell +dante)` in
~/.emacs.d/init.el.
2017-08-09 14:52:48 +02:00