Commit graph

10828 commits

Author SHA1 Message Date
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
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
f8ed309b50 lang/julia: include submodules for lsp-julia
Mentioned in #4012
2021-03-04 13:00:47 -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
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
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
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
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
Henrik Laxhuber
6de1e56d4f
Fix +debug/start for dap-based debuggers.
Reworks the internals of how the debugger module stores the last-used
configuration:
- car of the configuration indicates whether it is a realgud or a
dap-based configuration.
- For dap-based debuggers, the entire dap configuration is stored, with
code copied from `dab-debug`.
- When inside a project, don't store the configuration as a buffer-local
variable, but instead as a project-local variable using
`projectile-variable`.

Fixes #2367.
2021-02-28 22:16:38 +01:00
Henrik Lissner
88e18fc7c1
Merge pull request #4671 from johanthoren/develop
Add support for parinfer-rust-mode
2021-02-27 23:56:15 -05:00
Johan Thoren
96ba4b0b38
Use easier to read line break.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:19:12 +01:00
Johan Thoren
1a3c3ddf34
Use setq instead of setq!.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:18:00 +01:00
Johan Thoren
ca673a437c
Move paren.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 23:43:24 +01:00
Johan Thoren
8262e1b552
Fix incorrect indentation.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 21:03:16 +01:00
Johan Thoren
4ff23752f2
Update parinfer module to comply with review.
Also add support for BSD systems.

Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 21:01:19 +01:00
Henrik Lissner
de924daf47 Fix #4704: invalid image spec error from lsp-ui
Regression from a3f242d
2021-02-27 10:31:49 -05:00
Henrik Lissner
9c67bf0044 lang/org: revert org-footnote-auto-label to default
'plain is no longer an accepted value.
2021-02-27 10:31:49 -05:00
Henrik Lissner
e97f2363ea
Merge pull request #4705 from samwhitlock/me_develop
Fixing the gpl snippet template formatting
2021-02-27 10:28:43 -05:00
Henrik Lissner
4030bb366c
Merge pull request #4702 from daanturo/lisp-eval-expression
Enable lispy-mode during eval-expression.
2021-02-27 10:25:38 -05:00
Sam Whitlock
86345887d8
Fixing the gpl template clash.
Need to escape the backticks that should appear as literals in the GPLv3 license.
2021-02-27 15:38:04 +01:00
daanturo
5c7b553e08 Enable lispy-mode during eval-expression. 2021-02-27 14:24:59 +07:00
HyunggyuJang
5d8cbb9541
evil-org-mode-map's CSright conflict with Cright
I understand that what you tried to accomplish via CSright was; however, it doesn't make any difference from Cright, and so for other navigation keys -- h,j,k,l.
I fixed this discrepancy.
2021-02-27 12:07:31 +09:00
Seong Yong-ju
b71b128398
lang/terraform: Set docsets for terraform-mode (#4546)
* lang/terraform: Set docset for terraform-mode

* Lazy load terraform-mode

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-02-26 21:48:49 -05:00
Henrik Lissner
b3753da45a
Merge pull request #4261 from otavioschwanck/fix-rails-command
Revert Rails command change
2021-02-26 21:34:09 -05:00
Henrik Lissner
ee1c2b4ef6 Use "Search Project [project]" prompt for file search
Perhaps less useful to rg vets, but less scary for beginners. That said,
the default rg arguments aren't particularly interesting or surprising
that they need to be announced.
2021-02-26 21:33:00 -05:00
Henrik Lissner
f1d89bf9c2 Bind gI and gA to new +lookup commands
Since these aren't used otherwise.
2021-02-26 21:33:00 -05:00
Henrik Lissner
f26161410c lang/org: add TODO keywords & fontification
+ Adds LOOP and IDEA to primary todo keywords.
+ Adds OKAY, YES, and NO sequence.
+ Specially fontifies NO and KILL with special "cancelled" face to
  indicate an aborted/rejected task.
+ Specially fontifies PROJ to set it apart.
2021-02-26 21:33:00 -05:00
Henrik Lissner
ed86f99655 lang/org: open org links to remote paths in emacs 2021-02-26 21:33:00 -05:00
Henrik Lissner
15f7a26be6 Refactor +vc-gutter-init-maybe-h
Also addresses a few edge cases where git-gutter-mode wasn't later
activated in file-less buffers that are later saved to files.
2021-02-26 21:33:00 -05:00
Henrik Lissner
7e491ce1c0 lang/lean: minor reformatting 2021-02-26 21:33:00 -05:00
Henrik Lissner
bbdea54b77 app/rss: fix empty rmh-elfeed-org-files
Due to overeager cleanup that we now defer until elfeed-org consults
rmh-elfeed-org-files.
2021-02-26 21:33:00 -05:00
Henrik Lissner
9a77626804 Omit all but SVN, Git & Hg from vc-handled-backends
This means less file IO for each buffer spent checking for each version
control system.
2021-02-26 21:33:00 -05:00
Henrik Lissner
bd62f06002
Merge pull request #4436 from nbfalcon/resolve-fixme-#4415 2021-02-26 16:50:02 -05:00