Commit Graph

4467 Commits

Author SHA1 Message Date
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
dbc7b667cf Simplify set-docset! & add unset capability
Removed :add and :remove capabilities. Now appends the provided docset
to the mode's list of docsets, if one exists.
2018-06-22 01:49:20 +02:00
Henrik Lissner
ad2de8e2e5 Fix set-devdocs! not setting docsets properly
Would use MODES as a key, instead of mode.
2018-06-22 01:49:20 +02:00
Henrik Lissner
8bd9b24137 Add unset capability to set-file-template! 2018-06-22 01:49:20 +02:00
Henrik Lissner
445ca59b67 Correct make-buffer-local => make-local-variable
Reported by @UndeadKernel
2018-06-22 01:49:19 +02:00
Henrik Lissner
bc87ccf894 Refactor set-company-backend! & revise docstring 2018-06-22 01:49:19 +02:00
Henrik Lissner
d01f39d658 Add unsetting capability to set-pretty-symbols!
+ Allows (set-pretty-symbols! 'some-mode nil)
+ Changes the semantics of +pretty-code-enabled-modes, which is now t by
  default (meaning enable all modes). It also supports '(not ...).
2018-06-22 01:49:19 +02:00
Patrick Elliott
b096214f28 fixed typo 2018-06-21 17:15:20 +02:00
Patrick Elliott
64f77fe017 Added Zathura as a viewer option, via the feature +zathura (n.b. Zathura with synctex is already supported in AUCTeX) 2018-06-21 12:51:17 +02:00
Matthew Lyon
c0fc9d3db0 Look for the correct feature name for org+rest 2018-06-20 17:04:22 -07:00
Henrik Lissner
b0f1804799 Unbind double-quote in lisp-mode
Causes double-double-quoting. smartparens will handle it.
2018-06-20 22:58:05 +02:00
Henrik Lissner
aa4c9744f8 Fix set-company-backends! & update docstring
+ It wasn't preserving insertion order of multiple backends
+ It failed when BACKENDS = nil (supposed to unset mode backends)
+ Use eq/equal as a test-fn conditionally (glorious, glorious premature
  optimization)
2018-06-20 19:44:08 +02:00
Henrik Lissner
898449e374 Add completion/company tests 2018-06-20 19:09:05 +02:00
Henrik Lissner
d7f8a9591e completion/ivy: replace smex with amx
Faster and maintained.
2018-06-20 18:39:44 +02:00
Henrik Lissner
3e802c1b15 Fix +default/easymotion aborting evil operator
Now evil operators will work with +default/easymotion when you first
startup Emacs.

Reported by @ar1a
2018-06-20 18:39:44 +02:00
Henrik Lissner
50b34d2671 Fix org-mode file template precedence
Otherwise default .org template always takes precedence.
2018-06-20 18:39:44 +02:00
Henrik Lissner
17678992e2 Minor, general refactor of lookup autoload library 2018-06-20 18:39:44 +02:00
Henrik Lissner
65b2d5eb28 Update +lookup/(definition|references) docs 2018-06-20 18:39:44 +02:00
Henrik Lissner
099040c523 Add helm support to +lookup defs/refs fallback
Instead of hard-coding counsel+ivy support.
2018-06-20 18:39:44 +02:00
Henrik Lissner
6d020a6305 Change add :unset support to set-lookup-handlers!
And update its documentation.
2018-06-20 18:39:44 +02:00
Henrik Lissner
d5bb770ea6 Make +(helm|ivy)-file-search public and autoloaded
So it can be safely used anywhere. Maybe these should be defgenerics?
2018-06-20 18:39:08 +02:00
Henrik Lissner
6fbd3407e0 Fix block/jsdoc comment continuation in typescript
Also improves writing block comments in js2-mode and rjsx-mode.

Reported by @ar1a
2018-06-20 14:25:05 +02:00
Henrik Lissner
638ff6b0a2 Fix wrong-type-argument: sequencep from org-agenda
Caused by +org|exclude-agenda-buffers-from-workspace assuming
org-agenda-new-buffers would always be non-nil... then it wasn't.

Reported by @ar1a
2018-06-20 13:31:46 +02:00
Henrik Lissner
5cf1cbb048 Merge pull request #705 from AloisJanicek/develop
feature/snippets: add missing autoload cookie
2018-06-20 10:58:17 +02:00
Aria Edmonds
4ef2ff8797 lang/javascript: fix set-pretty-symbols! 2018-06-20 18:29:04 +10:00
Alois Janíček
222702b15a feature/snippets: add missing autoload cookie 2018-06-20 09:17:13 +02:00
Henrik Lissner
6ce30d0116 add-yas-minor-mode!: fix void-variable: mode error 2018-06-20 02:33:24 +02:00
Henrik Lissner
27ab47cd11 Improve *Backtrace* popup rule
+ High vslot = unlikely to be replaced by other popups.
+ Make it large; backtraces are important!
+ Don't allow ESC to close it. It must be done manually, with q or zx
2018-06-20 02:12:37 +02:00
Henrik Lissner
7a98919597 Fix quoting in babel popup rules
Reported by @fuxialexander
2018-06-19 20:50:16 +02:00
Henrik Lissner
205cc718d2 Fix dashboard not appearing in daemon frames
Because they start in the *server* buffer, instead of the *scratch*
buffer.
2018-06-19 17:44:24 +02:00
Henrik Lissner
c9014487b1 Restore workspaces on --restore later
doom-post-init-hook isn't late enough.
2018-06-19 16:43:51 +02:00
Henrik Lissner
af350aa09e feature/workspaces: disable magit persisting
Too buggy!
2018-06-19 16:43:28 +02:00
Henrik Lissner
d6706734a2 SPC q r -> restart & restore emacs
And SQP q R -> restart emacs (but don't restore)
2018-06-19 15:25:30 +02:00
Henrik Lissner
95b227f9fe Fix docstring references to old settings 2018-06-19 15:01:25 +02:00
Henrik Lissner
d5adf4ccbc Minor refactor of feature/workspaces
Improve error handling and update docstrings+comments
2018-06-19 15:00:15 +02:00
Henrik Lissner
d979c46ea2 Make +workspaces-load-session replace current
It should not merge with the current session.
2018-06-19 14:53:45 +02:00
Henrik Lissner
8cb36afa21 Switch to last workspace after persp-load
A little more intuitive than just switching to main workspace.
2018-06-19 14:52:33 +02:00
Henrik Lissner
5f04be599f feature/workspaces: persist indirect buffers 2018-06-19 14:50:27 +02:00
Henrik Lissner
e703d3ec8a Fix default workspace tab faces
The inherited faces were double-quoted
2018-06-19 14:18:31 +02:00
Henrik Lissner
ba1488279b Fix evil-escape aborting multiedit too eagerly
When evil-escape is invoked from multiedit-insert state, it erroneously
quits the current multiedit session entirely. No more.

This can be removed when syl20bnr/evil-escape#83 is merged.
2018-06-19 14:14:32 +02:00
Henrik Lissner
746d90c330 make-variable-buffer-local -> make-local-variable
It is more correct to use the latter.
2018-06-19 13:49:18 +02:00
Henrik Lissner
fa36014559 Allow set-yas-minor-mode! to accept multiple modes 2018-06-19 13:49:18 +02:00
Henrik Lissner
8f76ee9a8a Refactor feature/snippets
+ Don't clear yas-minor-mode-map; the default keybinds can be useful,
  esp to non-evil users.
+ Moved +snippets|enable-project-modes hook to autoloads file.
+ Reformat yasnippet config.
2018-06-19 13:49:15 +02:00
Henrik Lissner
ae6c3cacf2 Merge pull request #699 from Emiller88/feature/solidity-template
Add Solidity Template
2018-06-19 13:49:05 +02:00
Henrik Lissner
0501ea9c2c Fix auth-source-pass & password-store autoloads
They were marked as macros, but aren't macros!

This may fix #696
2018-06-19 12:01:52 +02:00
Henrik Lissner
ccce20b581 set-evil-initial-state!: fix wrong-type-arguments
Caused when set-evil-initial-state! was used with a single mode (which
is 99% of the time!).

Indirectly fixes #696
2018-06-19 12:01:52 +02:00
Henrik Lissner
16b341e605 Move aya-persist-snippets-dir to doom-etc-dir 2018-06-19 12:01:51 +02:00
Edmund Miller
5ec74fdffb Add Solidity Template
Add Trigger and basic file template
2018-06-18 20:29:37 -05:00
Henrik Lissner
f471ef3fff Merge pull request #694 from MaskRay/tmux
tmux: string-split -> split-string
2018-06-18 23:50:56 +02:00
Henrik Lissner
615735a404 Add exato (x/html attribute text objects for evil)
Bound to x
2018-06-18 23:46:14 +02:00