Commit graph

15275 commits

Author SHA1 Message Date
Henrik Lissner
cb194a31b1
Merge pull request #4512 from jsravn/enable-yasnippet-in-lsp-completion
Include snippets in lsp completion
2021-03-05 23:21:07 -05:00
Henrik Lissner
a405735c10 tools/editorconfig: proofread readme
+ Added Hacks section.
+ Expanded on configuration guide.
2021-03-05 23:10:47 -05:00
Jeetaditya Chatterjee
2fa0dca041
doc/adding editorconfig and hl-column-fill documentation (#3815)
* doc/adding editor config and hl-column-fill docs

* Adding inaugural versons to the modules

* Making the requested edits

* adding in some more spaces

* redoing the review

* ui/fill-column: correct & expand readme

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-05 22:35:06 -05:00
Henrik Lissner
494d87d0b4 email/notmuch: update readme
Closes #3933

Co-authored-by: Will Vaughn <nackjicholson@users.noreply.github.com>
2021-03-05 22:17:47 -05:00
Henrik Lissner
4e90bbaf75
Merge pull request #3932 from nackjicholson/rm-notmuch-hello-customizations
Notmuch module remove `*notmuch-hello*` buffer customizations + add some documentation
2021-03-05 20:58:53 -05:00
Henrik Lissner
1b81337d8d email/notmuch: correct & reformat readme 2021-03-05 20:57:41 -05:00
Henrik Lissner
a724771d1e
Merge pull request #4708 from he-la/develop
Fix +debug/start for dap-based debuggers.
2021-03-05 20:14:11 -05:00
Henrik Lissner
fa29a3cf1d Ensure associated workspace is deleted on server-done too
Should catch more corner cases where workspaces are surviving their
emacsclient-spawned frames.
2021-03-05 20:09:22 -05:00
Henrik Lissner
d9dac055a6 ui/vc-gutter: minor refactor 2021-03-05 20:09:22 -05:00
Henrik Lissner
a912a6c313 ui/zen: prevent type error in writeroom-mode
In case a user is testing writeroom-mode, experiences an error, and this
internal variable isn't set.
2021-03-05 20:09:22 -05:00
Henrik Lissner
6127d15cea tools/debugger: use realgud:trepanpl for raku-mode 2021-03-05 20:09:22 -05:00
Henrik Lissner
7afe5dc5c3 tools/lsp: fix void-function lsp--require-packages error 2021-03-05 20:09:22 -05:00
Henrik Lissner
e52fd138e2 Refactor autoload/store.el library
+ Expired pcache entries are now purged when Emacs is killed.
+ Preform additional type checks for better runtime safety.
+ TTL argument can now be a predicate function. Takes two arguments: the
  key and value, if it returns nil, consider the entry stale.
2021-03-05 20:09:22 -05:00
Henrik Lissner
430d628b00 tools/lsp: use xref backend as lookup handler
If lsp-find-{definition,references} fails, it will properly fall through
to other lookup handlers (like dumb-jump).

Fix #4662
Fix #4739
2021-03-05 20:09:22 -05:00
Henrik Lissner
0a9172a8f2 tools/lookup: fall through if xref backend fails
Part 1 to solution for #4739
2021-03-05 20:09:22 -05:00
Henrik Lissner
543d122643 editor/evil: disable evil-collection-outline
Its keybinds are intrusive anywhere outline-minor-mode is enabled.
Derived modes (like org) have their own versions of its keybinds anyway.
2021-03-05 20:09:22 -05:00
Henrik Lissner
cf086d08fa Minor refactor & use doom-store-* API
+ Fixes a shallow comparison error (eq cannot compare strings).
+ Uses the doom-store-* API rather than pull in a new dependency to
  manage project-local variables.
2021-03-05 19:31:54 -05:00
Henrik Lissner
e8bd115307
Merge pull request #3853 from NoxPardalis/develop
Rust module: Modify command for executing `cargo audit`
2021-03-05 17:28:57 -05:00
Henrik Lissner
5d9efe89b3
Merge pull request #4732 from paul-wilkinson/fix-emacs-bindings-yank-buffer-path
Fix the "Yank file path" non-evil bindings
2021-03-04 16:42:27 -05:00
Paul Wilkinson
fa292bebbb Fix the "Yank file path" non-evil bindings
+default/yank-buffer-filename was replaced in
be9b3ff352 and +evil-bindings.el was
updated accordingly. This commit makes the corresponding updates in
+emacs-bindings.el.
2021-03-04 21:27:36 +00:00
Henrik Lissner
3bb271738a Fix void-variable disto on M-x doom/info 2021-03-04 16:10:45 -05:00
Henrik Lissner
7798aa9190 Fix repo location in doom/help-packages 2021-03-04 14:09:40 -05:00
Henrik Lissner
f8ed309b50 lang/julia: include submodules for lsp-julia
Mentioned in #4012
2021-03-04 13:00:47 -05:00
Henrik Lissner
61e8069adc Remind folks to search PRs in PR template
So.
Many.
Duplicates.
2021-03-04 12:57:52 -05:00
Henrik Lissner
4a54a4bd64 Add warning to issue template
Please, _please_, *please* stop ignoring the issue template. I beg you.
Cthulhu begs you. Your waifu begs you.
2021-03-04 12:56:05 -05:00
Henrik Lissner
672e37b9aa Bump :app everywhere
tecosaur/emacs-everywhere@d84b397 -> tecosaur/emacs-everywhere@01e031e
2021-03-03 15:52:55 -05:00
Henrik Lissner
2ab8800bb4 Fix #4726: void-variable org-babel-async-language-blacklist
Supposed to be ob-async-no-async-languages-alist
2021-03-03 15:26:25 -05:00
Henrik Lissner
d5019f0b57 Add docstring to +org/refile* commands 2021-03-02 23:48:54 -05:00
Henrik Lissner
70c8ca30b2 Update docstrings for doom/window-{enlargen,maximize-buffer}
As of 56e9d273e, these commands no longer toggle because the toggle was
brittle could be unpredictable at times. Use winner-undo instead (on
`C-w r` or `SPC w r` by default).
2021-03-02 23:48:54 -05:00
Rick Lupton
468f308114
Fix +org/refile-to-other-window in indirect buffer (#4721)
* Fix +org/refile-to-other-window in indirect buffer

* Extend fix to other refile commands

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-02 23:48:42 -05:00
Henrik Lissner
9a5f860cd0
Merge pull request #4720 from daanturo/sh-docsets
Set sh-mode's docsets to '("Bash").
2021-03-02 12:15:48 -05:00
Henrik Lissner
3d114d6356 tools/docker: default to evil normal state
Evil-collection supports docker and its submodes, so these are no longer
necessary.
2021-03-02 12:09:49 -05:00
Henrik Lissner
19563de316 Restore fallback warning removed by ce1105b46
Shoulds till warn when the language isn't blacklisted.
2021-03-02 12:07:45 -05:00
Henrik Lissner
ce1105b463 lang/org: suppress :async+:session warnings for blacklisted langs
If they're blacklisted, they may have their own :async implementation,
like jupyter does. The warning isn't useful or true for them.
2021-03-02 12:05:36 -05:00
Henrik Lissner
8ccba925dd Fix parsing issue in doom-system-distro{,-version}
No guarantee the values in /etc/os-release are quoted.

Also, eliminate the code paths where these functions return nil.
2021-03-02 11:59:55 -05:00
Henrik Lissner
91bf57b762
Merge pull request #4717 from bnjmnt4n/autoload/system
Load `autoload/system` in `core-cli`
2021-03-02 10:37:13 -05:00
Henrik Lissner
0cd2a411d3
Merge pull request #4718 from daedric/ts/fix-cc-module
Use new CPU counter function in cc module
2021-03-02 10:34:51 -05:00
daanturo
f3e527cd3d Set sh-mode's docsets to '("Bash"). 2021-03-02 18:24:31 +07:00
Thomas Sanchez
0026404b34 Use new CPU counter function in cc module
Broken since commit c5e3f4d6.
2021-03-02 10:02:12 +01:00
Benjamin Tan
f151b3de45
Load autoload/system in core-cli
Fixes #4715.
2021-03-02 15:57:45 +08:00
Thomas Moulia
ee26c02e1c
Add org-agenda-priority keybindings to org config (#4521)
* Add org-agenda-priority keybindings to org config

Summary: This diff adds evil-esque keybindings for the org-agenda-priority
functions. These functions allow the org subtree priority to be set from
the agenda view.

* Correct org priority keybinds

These keys were meant to be on <localleader> p, but were mistakenly
bound on <localleader> s p.

Also mirrors these keybinds to org-agenda-mode-map.

* Use non-agenda org-priority commands

Also make casing in which-key labels more consistent.

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-01 23:04:41 -05:00
Henrik Lissner
ad16d85e99
Merge pull request #4600 from MageJohn/refactor/help-packages
Refactor doom/help-packages
2021-03-01 22:53:59 -05:00
Henrik Lissner
c5e3f4d632 New autoload/system.el core library 2021-03-01 22:27:17 -05:00
Henrik Lissner
49c3c84d7f lang/org: disable ob-async on export or :session
Refactors advice to disable ob-async when exporting org documents or
when the :session parameter is present (ob-async does not support it).
Execution is degraded to synchronous execution and a warning logged.
2021-03-01 22:27:17 -05:00
Henrik Lissner
2ebc4be111 lang/org: reformat keybinds 2021-03-01 22:27:17 -05:00
Han
ba0f791b05
lang/julia: improve lsp support (#4012)
* lang/julia: include lsp-julia w/o language server

Use nonrecursive clone to get lsp-julia without bundled
LanguageServer.jl (plus dependencies) and include instructions in the
README on how to install the language server (bundled or otherwise).

* lang/julia: add checks for julia +lsp in doctor

Add two checks, both only for when the +lsp feature is enabled:
- Check if (:tools lsp) is selected
- Check if LanguageServer.jl is installed

* lang/julia: indicate SymbolServer.jl as dependency

It is itself a dependency of LanguageServer.jl, but it's necessary to
add it separately in order to do `using SymbolServer`.

* tools/lsp: add julia language server to list

* lang/julia: add eglot support using eglot-jl

Forcing eglot-jl to not install its own LanguageServer.jl is a bit of a
hack though.

* lang/julia: make timeout increase buffer-local

Suggestion by @benneti to use `setq-local` instead of `setq` to prevent
a timeout increase in non-Julia eglot buffers.

* Fix issues

Co-authored-by: Henrik Lissner <henrik@lissner.net>
2021-03-01 22:25:35 -05:00
Henrik Laxhuber
44803038b2
Remove dash dependency 2021-03-01 09:15:26 +01:00
Henrik Laxhuber
462efded5f
Fix +debugger/quit 2021-03-01 09:15:06 +01:00
Henrik Laxhuber
cf3d9eb6e0
Handle empty input in +debugger-completing-read 2021-02-28 23:18:19 +01:00
Henrik Laxhuber
8c33866b21
Forgot to add use-package! for projectile-variable 2021-02-28 23:07:27 +01:00