Commit graph

15995 commits

Author SHA1 Message Date
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
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
Henrik Lissner
3f4eccaec3
Merge pull request #4700 from HyunggyuJang/patch-1
`evil-org-mode-map`'s `CSright` conflict with `Cright`
2021-02-26 22:16:00 -05: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
9ef11d0e31 Auto-truncate compilation buffers
To prevent memory issues in long lived processes.

Allows #4261 to be merged
Addresses (and mentioned in) asok/projectile-rails#148
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
Nikita Bloshchanevich
e05d804f1f Restore the old buffer when using `ivy-call'
Without `deferred', the file selected in the `counsel-find-file' will
only remain the current buffer afterwards when pressing RET on an item,
not just `ivy-call'.
2021-02-26 22:06:41 +01:00
Henrik Lissner
6cb5c381b8 Disable dtrt-indent in pascal-mode
Throws wrong-type-argument number-or-marker-p errors otherwise, because
dtrt-indent--for-each-indentation calls
dtrt-indent--skip-to-end-of-match with four nil arguments (presumably
because there is no pascal entry in dtrt-indent-language-syntax-table)
and there is no fall back to its default entry.
2021-02-25 18:34:31 -05:00
Henrik Lissner
e1683dc763
Merge pull request #4403 from gagbo/fix/bepo-exhaustive-remaps
Fix/bepo exhaustive remaps
2021-02-25 14:21:57 -05:00