Henrik Lissner
0f901b560f
tools/editorconfig: add enh-ruby-mode support
2018-09-09 09:58:18 -04:00
Henrik Lissner
8b7404bf75
Refactor hl-line eob fix in Emacs 26+
2018-09-09 09:58:18 -04:00
Henrik Lissner
48c77b1126
Move helm-css-scss package to lang/web/+css
2018-09-09 09:58:18 -04:00
Henrik Lissner
e89e3bd15e
Redesign set-docsets! autodef
...
+ Adds :add/:remove support.
+ Adds conditional docset support through nested vectors
+ Removes support for setting docsets on a minor-mode basis (mostly for
performance reasons, but now that we have conditional docsets, it's
unnecessary).
2018-09-09 09:58:18 -04:00
Henrik Lissner
84abac6b69
Remove def-menu!; use :localleader keys instead
...
def-menu was clumsy. We could use a better UI for refactoring commands,
but they should be available via localleader keybinds in any case.
2018-09-09 09:58:18 -04:00
Henrik Lissner
d2f9d28577
doom-project-(find-file|browse): resolve symlinks
...
This prevents absolute paths appearing in many find-in/browse commands,
like +default/find-in-emacsd, +default/find-in-config, or
+default/browse-project.
2018-09-09 09:58:18 -04:00
Henrik Lissner
937f118e6a
Reset gc-cons-threshold on idle timer
...
And remove reset from doom-reload-hook, as it is no longer necessary
anymore. ~/.emacs.d/init.el is no longer re-evaluated at any point.
2018-09-09 09:58:18 -04:00
Henrik Lissner
1f3fa61c2b
Allow debugging in doom quickstart
2018-09-09 09:58:18 -04:00
Henrik Lissner
786ab9e7b5
ui/modeline: show UTF-8 for prefer-utf-8 encoding
2018-09-09 09:58:14 -04:00
Henrik Lissner
230135cf06
Merge pull request #868 from rynffoll/feature/docker
...
Add tools/docker module
2018-09-09 09:57:20 -04:00
Henrik Lissner
6052e27bd1
Alphabetize :tools docker in init.example.el
2018-09-09 09:55:56 -04:00
Henrik Lissner
0b07220c5f
Lazy-load docker.el & refactor evil-initial-state
...
`set-evil-initial-state!` accepts multiple modes as its first argument and is marginally faster when used that way.
2018-09-09 09:52:23 -04:00
Henrik Lissner
0e1049189c
Lazy-load docker-tramp & dockerfile-mode
...
No extra configuration is required to lazy load these two plugins (they autoload themselves). These blocks would force them to load at startup otherwise.
2018-09-09 09:49:22 -04:00
Henrik Lissner
a198c14f12
Merge pull request #867 from patrl/pgMelpa
...
proof-general now on melpa
2018-09-09 09:42:51 -04:00
Henrik Lissner
9fb9bb1fd2
Merge pull request #872 from rynffoll/bugfix/clj-refactor-bindings
...
Fix clj-refactor bindings
2018-09-09 09:41:14 -04:00
Henrik Lissner
88edfeb5ff
Merge pull request #874 from shuxiao9058/develop
...
add anaconda3 home path '/usr/local/anaconda3'
2018-09-09 09:37:07 -04:00
Allen Shaw
45e22c7e23
add anaconda3 home path '/usr/local/anaconda3'
2018-09-09 17:18:39 +08:00
Ruslan Kamashev
e28fea3777
Fix clj-refactor bindings
2018-09-08 03:55:11 +03:00
Ruslan Kamashev
dc3a366094
Fix bindings
2018-09-08 03:51:37 +03:00
Ruslan Kamashev
2fdd82a8f0
Add docker to init.example.el
2018-09-08 03:22:34 +03:00
Ruslan Kamashev
515ed02dfb
Add docker module
2018-09-06 22:07:58 +03:00
Patrick Elliott
5bfaabd99b
Proof-general is now on melpa
2018-09-06 01:29:01 +02:00
Henrik Lissner
96bea9e9ad
Merge pull request #864 from patrl/fixUnicodeRegression
...
Fix unicode regression
2018-09-04 11:59:46 +02:00
Patrick Elliott
475e2f9982
Fix unicode regression
2018-09-04 10:13:48 +02:00
Henrik Lissner
0d57ed3bbc
Merge pull request #861 from patrl/unicodeFix
...
Unicode fallback
2018-09-03 23:57:28 +02:00
Henrik Lissner
9705fbd693
Merge pull request #862 from qleguennec/react-pretty-symbols
...
Adds js pretty symbols for `rjsx-mode`
2018-09-03 23:56:45 +02:00
Henrik Lissner
10b22b9750
Merge rjsx-mode pretty-symbols with pre-existing
2018-09-03 23:56:25 +02:00
Quentin Le Guennec
37b920f461
adds common js pretty symbols for rjsx-mode
2018-09-03 16:38:11 +02:00
Patrick Elliott
939dd93e79
Impose fallback behaviour
2018-09-03 13:14:59 +02:00
Henrik Lissner
f8f9144f08
ui/modeline: add indent type+width to modeline
...
Also, display nothing for file encoding if encoding is undecided.
2018-09-03 04:05:35 +02:00
Henrik Lissner
b697ad982e
lang/web: more sensible html-tidy formatter config
...
+ No longer inserts html/body tags unless they're detected in the buffer
+ Respect tab-width and indent-tab-mode
+ Don't auto-remove empty elements
2018-09-03 03:59:24 +02:00
Henrik Lissner
df42d8ce89
editor/format: rewrite & fix set-formatter!
...
+ Updated docstring (and added two more examples)
+ Can now be used with shell command strings or string lists. String
sublists can have more than 2 elements. Non-string items will be
interpolated into the string before it. If any non-string item is nil,
its sublist is omitted entirely.
+ Can now be used to redefine formatters predefined by the format-all
package, by passing the formatter's name (as a symbol) as the first
argument.
+ Added :modes property for cases when first argument isn't a major mode
or list of them (when redefining a formatter).
2018-09-03 03:58:44 +02:00
Henrik Lissner
e7d5da2686
feature/evil: detect frame cursor-color #851
...
In case set-cursor-color was used early in the config process (e.g. in
~/.doom.d/init.el), detect it before resorting to #FFFFFF as a default.
2018-09-03 03:58:44 +02:00
Henrik Lissner
06c268954d
Bind SPC s r
to yas-reload-all
2018-09-03 03:58:44 +02:00
Henrik Lissner
596705dbda
Properly prioritize private snippets #852
...
In the previous solution, if *any* private snippets existed, *all*
non-private snippets were hidden.
2018-09-03 03:58:43 +02:00
Henrik Lissner
eaa10946f1
Refactor startup optimizations
...
+ Add doom-gc-cons-upper-limit variable
+ Don't use most-positive-fixnum, in case Emacs somehow wants to
allocate that much!
+ Don't use startup optimizations in noninteractive sessions
+ Restore gc-cons-threshold on idle timer, instead of hook (to defer the
possible GC pause and so deferred packages can take advantage of these
optimizations).
2018-09-03 03:58:43 +02:00
Henrik Lissner
81ee563c4c
+format|buffer: use pcase-let & return boolean
...
So it can be used in other functions.
2018-09-03 03:58:43 +02:00
Henrik Lissner
75b39a9396
editor/format: preserve indentation for regions
2018-09-03 03:58:43 +02:00
Henrik Lissner
c885cd2b9d
editor/format: refactor & reformat +format-buffer
...
Also switches cl-destructuring-bind to pcase-let to avoid breaking
errors being thrown.
2018-09-03 03:58:43 +02:00
Henrik Lissner
5e25cfd6a7
Fix delete-other-windows in popups #858
...
Originally, calling delete-other-windows from a popup window would kill
only popup windows. This has been corrected to raise the popup, *then*
delete other windows.
As if you'd done `M-x +popup/raise` then `M-x delete-other-windows`
2018-09-02 20:38:36 +02:00
Henrik Lissner
31bcac9a1e
Refactor gc optimizations on startup
...
Slightly smaller default gc-cons-threshold (and default
gc-cons-percentage), for less stuttering, and use most-postive-fixnum as
a ceiling.
2018-09-02 17:28:04 +02:00
Henrik Lissner
3d5c8ba279
Add :lang idris to init.example.el
...
Needs a witty comment!
2018-09-02 17:20:19 +02:00
Henrik Lissner
3a23ff56cd
General formatting & minor refactors
2018-09-02 17:20:19 +02:00
Henrik Lissner
daef19ba64
Defer garbage collection in the minibuffer
...
This can speed up things that run in or from the minibuffer, like
projectile/helm/ivy commands.
2018-09-02 17:06:12 +02:00
Henrik Lissner
a581b7fc3f
Remove jit-lock-* options
...
Only jit-lock-stealth-nice is different from the default, and slows down
some scrolling operations without helping much. It may be better to
conditionally enable this in larger buffer.
2018-09-02 15:56:45 +02:00
Henrik Lissner
b3fb3ef55f
Fix highlight-numbers in elixir-mode
...
The new highlight-numbers regexp depends on a mode to have a well
defined syntax table. elixir-mode does not appear to be one of those
modes.
2018-09-02 15:15:58 +02:00
Henrik Lissner
32de22b1d2
Remove :load-path
...
Gah, it snuck in again! Sneaky punk...
2018-09-02 13:01:06 +02:00
Henrik Lissner
83a843bfe6
Fix void-function doom|fix-whitespace-mode-in-childframes
...
Function was renamed.
2018-09-01 16:30:17 +02:00
Henrik Lissner
92cfcf3627
lang/elixir: conditionally install flycheck-credo
...
And register flycheck-credo after elixir-mode loads.
2018-09-01 16:17:52 +02:00
Henrik Lissner
f52d76bccf
Merge pull request #857 from qleguennec/npm-mode
...
adds npm-mode for javascript module
2018-09-01 13:40:02 +02:00