Commit graph

1306 commits

Author SHA1 Message Date
Henrik Lissner
0cf9d1f2f2
Minor refactor & revision across the board 2018-08-31 02:53:50 +02:00
Henrik Lissner
fd8f8c5108
feature/lookup: rewrite dash docset integration
+ Uses alist variable to store config, rather than hooks
+ Added check for installed docsets in +lookup/documentation
+ Set docsets for various language modules (c-mode, c++-mode, css-mode,
  scss-mode, sass-mode, web-mode, go-mode, racket-mode, emacs-lisp-mode,
  js2-mode, rjsx-mode, typescript-mode, rust-mode, and php-mode)
+ Made *eww* popups for dash docsets larger
+ Renamed set-docset! => set-docsets! (set-docset! is aliased to
  set-docsets!)
+ New +lookup/install-docset alias
2018-08-31 02:49:48 +02:00
Henrik Lissner
2df2622329
lang/web/autoload/css: escape braces
Prevents auto-formatting of braces by tools like parinfer.
2018-08-31 02:40:15 +02:00
Henrik Lissner
147fa794d3
lang/nim: fix invalid chars in nimsuggest tmp path 2018-08-30 23:36:32 +02:00
Henrik Lissner
bfe7b9f1c4
lang/nim: fix invalid argument errors
The nimsuggest plugin tries to build a unique path for temporary files
for its flycheck checker. This path contains /tmp/emacs-nim-mode/A/B,
where A is the frame ID and B is the full path to the file being checked.

However, the original `nimsuggest--get-dirty-dir' incorrectly extracts
the frame ID from the string representation of `selected-frame' if
frame-title-format has been modified (which Doom has). The result is the
title of the frame, which can contain illegal path characters in
Windows, which in turn causes invalid argument errors when
`nimsuggest--make-tempdir' tries to use it.

This should really be reported upstream!
2018-08-30 22:35:25 +02:00
Henrik Lissner
a7b87fe3de
Add +emacs-lisp-enable-extra-fontification option 2018-08-30 20:41:54 +02:00
Henrik Lissner
edc9bf70af
Delete trailing whitespace, globally, by default
Also adds doom|disable-delete-trailing-whitespace hook, which can be
used to disable this behavior on a per-buffer basis. If you want to turn
off this global behavior:

  (remove-hook 'write-file-functions #'delete-trailing-whitespace)
2018-08-30 20:36:15 +02:00
Henrik Lissner
fcf2a26329
lang/nim: fix blank nimsuggest-path stringp error 2018-08-30 19:42:57 +02:00
Henrik Lissner
48948f725f
Enable +javascript-npm-mode in rjsx-mode too 2018-08-29 17:17:01 +02:00
Henrik Lissner
d24fce1dcd
Fix void-variable org-capture-is-refiling error
In case org-capture.el isn't loaded when org-refile is used.
2018-08-29 16:45:09 +02:00
Henrik Lissner
ee4d317293
lang/latex: improve smartparens compatiblity
Also fixes special quote insertion (mentionde in #485)
2018-08-28 01:27:56 +02:00
Martin Øinæs Myrseth
a4250afb49 lang/org: Add evil-friendly calendar navigation 2018-08-27 23:55:22 +02:00
Patrick Elliott
953906ccdb
Terminator triggers evaluation 2018-08-27 15:35:18 +02:00
Patrick Elliott
f6e9b943fd
Change ref function 2018-08-27 14:11:14 +02:00
Patrick Elliott
5492315053
Added lookup handlers 2018-08-27 13:57:00 +02:00
Patrick Elliott
d9f819dac4
Only make company features conditional 2018-08-27 12:57:07 +02:00
Patrick Elliott
9b3442edae
Removed hindent (included in format-all) 2018-08-27 12:05:03 +02:00
Patrick Elliott
f6d6096bf2
load agda input method; bypass agda2; keybindings 2018-08-25 17:27:42 +02:00
Patrick Elliott
fb5d1ae739
Remove (unmaintained) helm-idris package 2018-08-25 16:22:04 +02:00
Patrick Elliott
e64b8322a4
Added helm-idris 2018-08-25 15:35:06 +02:00
Henrik Lissner
c514ad200a
Remove web-beautify from javascript & web modules
Superceded by :editor format module, which uses prettier.
2018-08-25 00:06:13 +02:00
Henrik Lissner
6a39b98f67
Trigger +javascript-npm-mode in json-mode too 2018-08-24 16:56:24 +02:00
Henrik Lissner
c7abe743d1
lang/ruby: show messages when robe throws errors 2018-08-23 16:55:02 +02:00
Henrik Lissner
f23960b919
lang/ruby: don't enable global-rbenv-mode
To be consistent with pyenv/virtualenvs; rbenv should be managed
manually, rather than trying to guess what the user wants.
2018-08-23 16:54:02 +02:00
Henrik Lissner
f6dbc00bc4
Fix agda-mode executable typo 2018-08-22 03:53:19 +02:00
Henrik Lissner
06262fef17
Lazy-load agda2; more robust +agda-dir resolution 2018-08-22 03:52:53 +02:00
Henrik Lissner
742f9d23a2
Merge pull request #823 from patrl/moreCoq
Put company-coq behind conditional
2018-08-22 03:35:34 +02:00
Henrik Lissner
c5334f61a3
Add lookup-handlers for idris-mode 2018-08-22 03:34:51 +02:00
Henrik Lissner
f80b9bb8c5
Defer loading of idris-mode package 2018-08-22 03:33:12 +02:00
Henrik Lissner
2694a42fdb
lang/ledger: polish keybindings
Fixes #818
2018-08-22 02:35:55 +02:00
Henrik Lissner
ecb01dbdfc
lang/javascript: attempt more fontification 2018-08-22 02:20:25 +02:00
Henrik Lissner
f51f2948af
New :editor format module
Centralized code formatting with built-in support for a variety of
languages. Provides the set-formatter! function for defining your own.

Still experimental and needs more testing!
2018-08-22 02:20:11 +02:00
Henrik Lissner
c7e6cb981b
lang/cc: simplify add-hook! call 2018-08-21 23:15:54 +02:00
Henrik Lissner
18a0b059d0
lang/ledger: fix S P C key sequence #818
Forgot to run doom-leader-key through kbd
2018-08-21 21:36:56 +02:00
Patrick Elliott
dbca4eef12
Put company features behind conditional 2018-08-21 13:44:11 +02:00
Patrick Elliott
a2c1a62cd6
Add basic idris support 2018-08-21 13:35:58 +02:00
Patrick Elliott
b3a83daf5f
Added basic agda support. 2018-08-21 12:46:29 +02:00
Henrik Lissner
ee73d6c9af
Minor reformatting & comment tweaks 2018-08-21 03:34:39 +02:00
Henrik Lissner
a7da9a4738
💥 Rewrite line numbers system for Emacs 25
This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
2018-08-21 03:34:39 +02:00
Henrik Lissner
64a88385cb
lang/org: make shiftab respect org-cycle-separator-lines #800 2018-08-21 02:56:54 +02:00
Henrik Lissner
aa9b0a8b94
lang/org: set org-cycle-separator-lines to default
Relevant to #800
2018-08-21 02:56:54 +02:00
Henrik Lissner
4acb3f29ab
lang/emacs-lisp: reformat & autoload functions 2018-08-21 02:56:53 +02:00
Henrik Lissner
1cb31d7cb5
lang/emacs-lisp: optimize symbol fontification
By ignoring symbols in comments and strings.
2018-08-20 23:47:31 +02:00
Henrik Lissner
97bc69b9e5
lang/emacs-lisp: recenter window after elisp-def 2018-08-20 23:47:16 +02:00
Henrik Lissner
9a792f3401
lang/ledger: tie evil-ledger to evil's +everywhere
And move it down. Core plugins should be closer to the top.
2018-08-20 23:34:39 +02:00
Henrik Lissner
a6f575ab1d
lang/ledger: don't error if ledger isn't installed 2018-08-20 23:34:39 +02:00
Henrik Lissner
ce4891ea0d
lang/ledger: fix leader key in reports #818 2018-08-20 23:34:34 +02:00
Henrik Lissner
ecf9c14229
Enable rainbow-delimiters-mode in sh-mode 2018-08-20 12:43:48 +02:00
hackeryarn
765a078685 Merge branch 'develop' of https://github.com/hlissner/doom-emacs into develop 2018-08-19 14:29:21 -05:00
Henrik Lissner
6d1db77fae
Refactor lang/clojure & fix clojure handlers
Ensure repl/eval/lookup handlers are set soon enough to take effect in
first buffer.
2018-08-19 01:12:24 +02:00