Commit graph

15231 commits

Author SHA1 Message Date
Henrik Lissner
97d8de81fe
Remove defunct straight-fix-org setting
It was removed upstream.
2020-12-12 15:56:36 -05:00
Henrik Lissner
6075e6f143
Refactor initialization of package state 2020-12-12 15:56:36 -05:00
Henrik Lissner
89db59769d
Re-enable ivy in evil-ex completion
Seems its earlier issues are no longer a problem.
2020-12-12 15:56:36 -05:00
Henrik Lissner
765b6dcfca
Unset unused markers
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
Henrik Lissner
c4a0174fe2
ivy-read-action-format-function = ivy-hydra-read-action
Makes ivy's C-o dispatching commands easier to see.
2020-12-12 15:56:36 -05:00
Henrik Lissner
144714e7f5
Add popup rule for flycheck error list 2020-12-12 15:56:36 -05:00
Henrik Lissner
d2005ab5da
docs/api: add cmds! & kbd! demos 2020-12-12 15:56:35 -05:00
Henrik Lissner
91ced79975
Merge pull request #4409 from icmor/develop
Add "python3" to possible names for the python binary
2020-12-12 13:49:05 -05:00
Henrik Lissner
ff9ba16310
Merge pull request #4418 from Davoodeh/patch-4
Set ligratures for csharp-mode
2020-12-12 13:48:52 -05:00
M. Yas. Davoodeh
784acaa64d
Set ligratures for csharp-mode 2020-12-12 22:10:24 +03:30
Henrik Lissner
4e4ad325a5
Merge pull request #4415 from nbfalcon/bugfix/module-goto-definition
Workaround: fix goto definition on modules
2020-12-12 13:37:44 -05:00
Henrik Lissner
6f5cde1386
Merge pull request #4414 from nbfalcon/bugfix/evil-ex-smartparens
Enable `smartparens' for `evil'
2020-12-12 13:03:31 -05:00
Henrik Lissner
8325ed5a9d
Merge pull request #4416 from nbfalcon/feature/doom-help-modules-prefix-arg
`doom/help-modules': C-u -> browse directory
2020-12-12 12:58:14 -05:00
Nikita Bloshchanevich
0d330f7a7e `doom/help-modules': C-u -> browse directory
If called with a C-u prefix, `doom/help-modules' now browses the module's
directory instead of opening its documentation. This exposes the VISIT-DIR
argument to `interactive' use.
2020-12-12 13:24:15 +01:00
Nikita Bloshchanevich
621cb60e75 Workaround: fix goto definition on modules
`+emacs-lisp-lookup-definition' does not work when browsing the directory of a
module, because, due to a possible bug in `counsel', the visited buffer is not
immediately visible after calling `counsel-find-file' (unlike with `find-file').
As such, the backend should return `deferred' for that case.

See abo-abo/swiper#2752. This should be removed once that PR is merged.
2020-12-12 13:21:26 +01:00
Nikita Bloshchanevich
61135f5374 Enable smartparens' for evil-ex'
febf960 introduced a regression, in that it caused `smartparens-mode' to
no longer be enabled for `evil-ex'. This is because the latter doesn't
call `read--expression', but calls the minibuffer directly instead.

Return `doom-init-smartparens-in-minibuffer-maybe-h', enabling
`smartparens' for `evil-ex'. The hook responsibly for enabling it in
`eval-expression-minibuffer-setup-hook' was renamed to
`doom-init-smartparens-in-eval-expression-h', since otherwise the naming
would have been awkward.

Also explicity enable `smartparens-mode' instead of toggling it.
2020-12-12 12:58:41 +01:00
icmor
09f3597069 Update link for nose.el
Switched from melpa -> emacsmirror.
2020-12-12 01:01:45 -05:00
icmor
7053bfbeb7 Add "python3" to possible names for the python binary
Followed lang/python/config.el which already checks for python3
when setting the python-shell-interpreter.

Python version naming is a hot mess:
https://www.python.org/dev/peps/pep-0394/
2020-12-12 00:55:43 -05:00
Henrik Lissner
1fba2ea303
Bump :emacs vc
magit/magit@2fb3bf7 -> magit/magit@acfe22a
2020-12-11 17:39:50 -05:00
Henrik Lissner
4281a772b1
Revise core lib docstrings for clarity 2020-12-11 17:38:59 -05:00
Henrik Lissner
10f1b8040a
Remove extraneous newline in doom/help-packages output 2020-12-11 17:38:18 -05:00
Henrik Lissner
d149c59d2e
Add emacs mode checks to insert mode checks
This is to accommodate users who default to emacs mode, rather than
insert mode. The two are also very alike, so many of these checks should
apply to both (almost) equally.
2020-12-11 17:38:09 -05:00
Henrik Lissner
8edabbecfa
Add kbd! alias for general-simulate-key macro 2020-12-11 16:59:47 -05:00
Henrik Lissner
34f8aa1095
Merge pull request #4408 from elmarco/magit-file-dispatch
Bind useful magit-file-dispatch
2020-12-11 15:52:32 -05:00
Henrik Lissner
2772ca8e70
Conditionally switch to insert mode on snippet expansion
If already in insert (or emacs) state, don't switch mode when expanding
a yasnippet snippet.
2020-12-11 15:50:02 -05:00
Henrik Lissner
3c8a2a655f
Fix envvar file encoding for Windows users 2020-12-11 15:50:02 -05:00
Henrik Lissner
07db84bfe2
Don't chase symlinks
This should make more exotic symlink config setups viable, but should
also speed up a few internal operations. There are too many possible
symlink configurations to support them all, however.
2020-12-11 15:50:02 -05:00
Henrik Lissner
863063b60d
Defer internal help & help-mode packages
To simplify load order so users can easily modify help-mode-map after
evil-collection has. e.g.

  (map! :after help
        :map help-mode-map
        :n "C-o" nil)
2020-12-11 15:50:02 -05:00
Henrik Lissner
2c646df027
Initialize more straight state in doom-initialize-packages
May address #3172 and some issues with certain files failing to
byte-compile because certain dependencies were missing at compile-time.
2020-12-11 15:50:02 -05:00
Henrik Lissner
96d7e50f3e
Distinguish <C-i> from "C-i" 2020-12-11 15:50:02 -05:00
Henrik Lissner
a3b8be52a8
Improve doom/help-packages
+ Cache package list
+ Show "generating package list" message the first time (better ux)
+ Display location of package files in package information
+ Turn links/file paths into buttons
+ Add link to module readmes (if any)

Mentioned in #4406
2020-12-11 15:50:01 -05:00
Marc-André Lureau
f0a5d454c5 Bind useful magit-file-dispatch
Thanks to this blog post for teaching me about it:
https://emacsredux.com/blog/2020/12/10/essential-magit-file-commands/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-12-11 15:51:45 +04:00
Henrik Lissner
55e90f064f
Load gcmh-mode a little sooner
Ensures it is loaded in time when files are loaded directly from the
terminal.
2020-12-11 01:41:38 -05:00
Henrik Lissner
1b6b122317
Bump :tools magit
magit/magit@2e0c697 -> magit/magit@acfe22a
magit/forge@844aa6d -> magit/forge@953764d

Fixes odd errors on magit-status
2020-12-10 16:14:05 -05:00
Henrik Lissner
febf960c4e
Merge pull request #4401 from nbfalcon/bugfix/edebug-eval-expression-smartparens
Enable smartparens for `edebug-eval-expression'
2020-12-09 17:30:25 -05:00
Henrik Lissner
c9dff2f957
Bump :lang javascript
mooz/js2-mode@ffb7099 -> mooz/js2-mode@f7816bd

Added support for logical assignment operators in mooz/js2-mode@f7816bd

Closes #4398
2020-12-09 17:19:07 -05:00
Henrik Lissner
a5af17b6aa
Fix #4397: call pdf-tools-install-noverify
So pdf-tools has a chance to set up its hooks.
2020-12-09 17:17:22 -05:00
Henrik Lissner
46ac4191e1
Bump :tools debugger lsp
emacs-lsp/dap-mode@e582ff9 -> emacs-lsp/dap-mode@041db8e
emacs-lsp/lsp-mode@e1c4241 -> emacs-lsp/lsp-mode@61443f3
emacs-lsp/lsp-ui@b1693d6 -> emacs-lsp/lsp-ui@49bc513
emacs-straight/project@67216fb -> emacs-straight/project@0003fe4

Fix #4396
2020-12-09 17:17:21 -05:00
Nikita Bloshchanevich
9e56927b5f Enable smartparens for `edebug-eval-expression'
`doom-init-smartparens-in-minibuffer-maybe-h' is responsible for enabling
`smartparens' in the minibuffer, which it does by checking `this-command'.
However, the list of commands doesn't include `edebug-eval-expression',
preventing the mode from being enabled for it.

Fix this by enabling `smartparens' in `eval-expression-minibuffer-setup-hook',
unconditionally, which means that anything using `interactive' "x" or
`read--expression' will work correctly.
2020-12-09 21:55:21 +01:00
Henrik Lissner
fbb8d1b99e
Merge pull request #4392 from rfaulhaber/add-mdn-search-to-lookup
Adds MDN search to online lookup
2020-12-08 23:01:07 -05:00
Henrik Lissner
c45346404a
Merge pull request #4381 from iwahbe/spell-no-word-error
Add word existence checking for +spell/correct
2020-12-08 23:00:51 -05:00
Henrik Lissner
fc9dd5748e
Fix #4386: interop between ivy-xref & dired-do-find-regexp 2020-12-08 22:44:53 -05:00
Ryan Faulhaber
65bd7c3414
Adds MDN search to online lookup 2020-12-08 22:20:56 -05:00
Henrik Lissner
4652511440
Fix #4384: save server auth files to EMACSDIR
It's where the daemon looks for them. It's too much hassle to move it
elsewhere.
2020-12-08 21:40:10 -05:00
Sam Precious
41b1a7800a Updated ordering 2020-12-08 19:39:32 +00:00
Sam Precious
871096533f Added in Dotnet interface with sharper through module flag 2020-12-08 19:21:54 +00:00
benneti
a7546bcea9
implement requested changes 2020-12-07 10:32:37 +01:00
Ian Wahbe
448bff2fd8 Implement cleaner version 2020-12-06 23:57:40 +01:00
Ian Wahbe
a51be66d30 Add word existence checking for +spell/correct
`(bounds-of-thing-at-point 'word)` can return `nil`. This checks that it
does not, giving an `user-error` if no word is found.
2020-12-06 19:18:36 +01:00
Henrik Lissner
9137cbaaa4
Bump :completion
Yevgnen/ivy-rich@1097013 -> Yevgnen/ivy-rich@c0a164c
abo-abo/swiper@6a22192 -> abo-abo/swiper@778d8bf
company-mode/company-mode@dd92593 -> company-mode/company-mode@97cfbc3
emacs-helm/helm@5ad6c83 -> emacs-helm/helm@75562ee
emacs-jp/helm-c-yasnippet@89cc856 -> emacs-jp/helm-c-yasnippet@28699d9
raxod502/prescient.el@41443e1 -> raxod502/prescient.el@5d139e5
tumashu/ivy-posframe@58ddf8c -> tumashu/ivy-posframe@08a00b8
tumashu/posframe@395aca9 -> tumashu/posframe@e1552c8
2020-12-05 16:57:31 -05:00