Commit Graph

915 Commits

Author SHA1 Message Date
38414a636f Fix evil-org's o/O in nested plain lists
Thanks by @fuxialexander
2018-07-04 13:16:11 +02:00
bcd930abb7 Reformat haskell packages.el 2018-07-03 03:41:08 +02:00
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
64d4cf773d Fix oversized *Org Links* popup 2018-06-30 17:41:43 +02:00
1457ec3d15 Fix non-prefix key C error when loading macrostep
Due to malformed key spec.
2018-06-30 02:58:25 +02:00
5931d89d9d Fix oversized *Org Links* popup in org-mode
At some point, org changed how soon it popped up this window, so
+popup-shrink-to-fit would run before there was any content in the
buffer, causing it to take up way too much space.
2018-06-29 16:49:55 +02:00
5d28a4f100 Fix invalid-function: PDF Tools error in latex
Due to a forgotten quote on a list form.

Reported by @xarthurx
2018-06-28 20:42:41 +02:00
b0f59ff5bd lang/cc: fix wrong-type-argument: stringp error
Caused by -stdlib flag being a sub-list in +cc-default-compiler-options,
when it should be nil or a string.
2018-06-28 14:40:12 +02:00
f6478ab068 Refactor out map! usage in lang/emacs-lisp
Slowly phasing out map! for internal use.
2018-06-27 22:54:09 +02:00
3742a671a6 Rethink lazy-loading of elisp-mode 2018-06-27 22:52:46 +02:00
24ac13a804 Remove periods from haskell doctor warnings
It is an Emacs convention not to end errors in punctuation (unless
they're multi-line).
2018-06-27 19:36:42 +02:00
4f40fef592 Refuse to enable intero-mode if intero is absent
Rather than checking for stack.
2018-06-27 19:36:42 +02:00
d55c7896f1 Fix lazy loading of elisp-mode config
elisp-mode is loaded at startup, so the usual methods won't work.
Instead, we tie a transient advice to the emacs-lisp-mode
function, *however*, this function is commonly called by various
packages to parse elisp code! So we have to make sure the emacs lisp
module only initializes the first time it is used interactively.
2018-06-27 18:51:24 +02:00
b72a9373c1 Merge pull request #731 from patrl/hindent
Factor out hindent
2018-06-27 03:12:56 +02:00
75457f63fe lang/org: refactor & disable evil-org-set-key-theme
+ It's too much trouble supporting the evil-org-set-key-theme workflow.
  Perhaps I'll make it complain when you do.
+ Don't add +org|setup-ui to doom-load-theme-hook, it's unnecsesary.
+ Use faces in org-priority-faces rather than colors.
2018-06-27 02:53:18 +02:00
19400598b4 got rid of hindent as a seperate feature 2018-06-26 19:34:36 +02:00
e727e2041f Added doc check for hindent executable 2018-06-26 19:15:35 +02:00
bec2ad4859 factored hindent out as a seperate feature. 2018-06-26 19:15:07 +02:00
bc124fae11 removed hindent hook 2018-06-26 19:14:31 +02:00
70eb5ea8be Merge pull request #713 from patrl/develop
Minor refactor of bibtex features in latex module
2018-06-26 18:49:27 +02:00
679dffb6c6 Merge pull request #726 from areinisc/module-common-lisp
Fix handler calls to reference lisp-mode.
2018-06-26 18:46:47 +02:00
e88f413d4a factored out setting 2018-06-26 02:49:01 +02:00
e5fc8b6c81 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop 2018-06-26 02:19:25 +02:00
d9e58e36e9 Merge evil-org-agenda init with evil-org 2018-06-26 01:46:15 +02:00
14a6d7710c Prevent recursive require errors with evil-org
Caused when evil-org-set-key-theme is called too early (somehow).

Also makes evil-org-key-theme customizable, so it doesn't override a
user's changes to it.

Reported by @majorgreys
2018-06-26 01:16:01 +02:00
ff6e4437a2 Fix handler calls to reference lisp-mode.
`set-repl-handler!` helps with opening a repl when a particular mode is
active in a buffer. We want to be able to open a `sly-mrepl` whenever we
are in a lisp buffer, so we should have the repl handler look for
`'lisp-mode` to define opening a sly repl.

I assume the lookup handlers should be making sure we are in a lisp
buffer (similar reasoning to the repl-handler).
2018-06-25 15:56:50 -05:00
cba5270a7c Fix sp-elixir-skip-def-p void-function error #712 2018-06-25 20:19:33 +02:00
8a4f15b01c Refactor smartparens default rules
Move them to config/default, but move single-lang-specific ones to their
respective modules.
2018-06-25 15:54:38 +02:00
de0869c976 Ensure elisp-mode code is lazy loaded
This prevents the unnecessary eager-loading of many autodefs (and
evil-collection-elisp-mode), since the elisp-mode package is always
available at startup.
2018-06-25 15:43:48 +02:00
595d9e593c doctor: Fix error with markdown 2018-06-25 17:41:52 +05:30
0ee42c1df0 Improve smartparens+web-mode compatibility
+ Enables web-mode's autopairing functionality
+ Prevents duplicate >'s after web-mode autopairing.
+ Leave longer-than-3-character pairs to smartparens (there was only
  <!-- -->)
+ Remove <?p -> <?php | ?> autopairer. Leave that to snippets (web-mode
  doesn't support prefixes longer than 3 letters, and <?php ?> is too
  much of a performance drain to have smartparens support it, so I added
  a "php" snippet that expands to <?php | ?>).
+ Tags now auto-close when you finish typing the opening
  tag. (web-mode-auto-close-style = 2)
2018-06-24 16:31:13 +02:00
c78c6495f1 Apply /* and /** pairs to more modes
Including js, ts, rjsx, rust, all C modes, php, and all css modes (scss,
less, and stylus).

Requested by @ar1a
2018-06-24 16:31:13 +02:00
c69b4ab5ee Use C-n/C-p in macrostep instead of n/p
n/p overrides evil's jump-to-next/previous-search.
2018-06-24 10:35:36 +02:00
4c4a35ae86 Minor reformatting
It's no big deal. Really.
2018-06-23 22:22:42 +02:00
81428f5bcf Fix dante-mode hook #718 2018-06-23 20:02:56 +02:00
f6dc6ac74e Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
f602a1f607 Merge pull request #714 from patrl/pandoc
Added basic +pandoc feature to markdown module
2018-06-23 19:44:54 +02:00
128af3f1e1 Merge pull request #718 from patrl/improve-dante
Refactored +dante feature
2018-06-23 19:40:37 +02:00
7b0d57a745 Cut: lang/clojure: unneeded + subjective parts
str => clojure.string is already defined in `cljr-magic-require-namespaces'
re-frame + reagent is subjective (for personal configuration)

fighweel aspect is now handled upstream by giving a prompt
see: `cider-cljs-repl-types'
2018-06-23 18:44:50 +02:00
2589619793 simplified hook 2018-06-23 17:51:22 +02:00
7627b04f18 Refactored dante feature. 2018-06-23 15:59:03 +02:00
5f5732b95b added rudimentary support for markdown compilation via pandoc 2018-06-22 14:02:35 +02:00
c99a02fa53 added check for pandoc executable when +pandoc feature is enabled 2018-06-22 14:02:35 +02:00
af4fd8266f removed redundant config from latex module 2018-06-22 12:22:03 +02:00
b5cfd3afc0 minor refactor of bibtex module 2018-06-22 12:11:10 +02:00
99902b29f9 Merge pull request #711 from patrl/develop
Added Zathura as a viewer option
2018-06-22 01:51:15 +02:00
fe44d71965 Add repl+lookup handlers and popup rule for sly 2018-06-22 01:49:21 +02:00
13cb219e49 lang/common-lisp: improve evil+sly integration 2018-06-22 01:49:21 +02:00
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
445ca59b67 Correct make-buffer-local => make-local-variable
Reported by @UndeadKernel
2018-06-22 01:49:19 +02:00