Commit Graph

15383 Commits

Author SHA1 Message Date
c5e3f4d632 New autoload/system.el core library 2021-03-01 22:27:17 -05:00
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
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
44803038b2 Remove dash dependency 2021-03-01 09:15:26 +01:00
462efded5f Fix +debugger/quit 2021-03-01 09:15:06 +01:00
cf3d9eb6e0 Handle empty input in +debugger-completing-read 2021-02-28 23:18:19 +01:00
8c33866b21 Forgot to add use-package! for projectile-variable 2021-02-28 23:07:27 +01:00
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
88e18fc7c1 Merge pull request #4671 from johanthoren/develop
Add support for parinfer-rust-mode
2021-02-27 23:56:15 -05:00
96ba4b0b38 Use easier to read line break.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:19:12 +01:00
1a3c3ddf34 Use setq instead of setq!.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:18:00 +01:00
ca673a437c Move paren.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 23:43:24 +01:00
8262e1b552 Fix incorrect indentation.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 21:03:16 +01:00
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
de924daf47 Fix #4704: invalid image spec error from lsp-ui
Regression from a3f242d
2021-02-27 10:31:49 -05:00
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
e97f2363ea Merge pull request #4705 from samwhitlock/me_develop
Fixing the gpl snippet template formatting
2021-02-27 10:28:43 -05:00
4030bb366c Merge pull request #4702 from daanturo/lisp-eval-expression
Enable lispy-mode during eval-expression.
2021-02-27 10:25:38 -05:00
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
5c7b553e08 Enable lispy-mode during eval-expression. 2021-02-27 14:24:59 +07:00
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
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
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
b3753da45a Merge pull request #4261 from otavioschwanck/fix-rails-command
Revert Rails command change
2021-02-26 21:34:09 -05:00
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
f1d89bf9c2 Bind gI and gA to new +lookup commands
Since these aren't used otherwise.
2021-02-26 21:33:00 -05:00
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
ed86f99655 lang/org: open org links to remote paths in emacs 2021-02-26 21:33:00 -05:00
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
7e491ce1c0 lang/lean: minor reformatting 2021-02-26 21:33:00 -05:00
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
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
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
bd62f06002 Merge pull request #4436 from nbfalcon/resolve-fixme-#4415 2021-02-26 16:50:02 -05:00
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
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
e1683dc763 Merge pull request #4403 from gagbo/fix/bepo-exhaustive-remaps
Fix/bepo exhaustive remaps
2021-02-25 14:21:57 -05:00
1274de3d34 Minor reformatting & refactors across the board 2021-02-25 13:59:43 -05:00
03fa2eafee Bind SPC o F to select-frame-by-name 2021-02-25 13:59:43 -05:00
c049480cbd Fix evil-join filling non-comments poorly 2021-02-25 13:59:43 -05:00
a3f242d4b6 tools/lsp: only enable sideline icons in 27.x+ 2021-02-25 13:59:43 -05:00
e858e254b0 Bump :tools
editorconfig/editorconfig-emacs@f830b86 -> editorconfig/editorconfig-emacs@048c553
emacs-helm/helm-pass@ed5798f -> emacs-helm/helm-pass@4ce46f1
emacs-lsp/dap-mode@5450af5 -> emacs-lsp/dap-mode@aa15b9c
emacs-lsp/helm-lsp@fc09aa0 -> emacs-lsp/helm-lsp@e934fea
emacs-lsp/lsp-mode@3ca25e6 -> emacs-lsp/lsp-mode@c3cbadc
emacs-lsp/lsp-ui@732992a -> emacs-lsp/lsp-ui@0ac3e12
jacktasia/dumb-jump@ff9fc93 -> jacktasia/dumb-jump@f6a1165
joaotavora/eglot@398b81e -> joaotavora/eglot@a2d1fc9
magit/forge@8683b14 -> magit/forge@fa80a87
magit/magit@62dfe5a -> magit/magit@1c60edc
millejoh/emacs-ipython-notebook@069e54c -> millejoh/emacs-ipython-notebook@4ff76e5
nicolaisingh/saveplace-pdf-view@b037091 -> nicolaisingh/saveplace-pdf-view@54ed966
spotify/dockerfile-mode@58b7380 -> spotify/dockerfile-mode@ed1d04c
tkf/emacs-request@0183da8 -> tkf/emacs-request@accd430
tmalsburg/helm-bibtex@94807a3 -> tmalsburg/helm-bibtex@ca09076
zx2c4/password-store@f152064 -> zx2c4/password-store@918992c

Fix #4677
2021-02-25 13:59:43 -05:00
3c9b1635ef Bump :completion
DarwinAwardWinner/amx@ccfc92c -> DarwinAwardWinner/amx@b991497
DarwinAwardWinner/ido-completing-read-plus@b9ca256 -> DarwinAwardWinner/ido-completing-read-plus@36a8bb9
Yevgnen/ivy-rich@f8a1f5c -> Yevgnen/ivy-rich@7b9b7b2
abo-abo/swiper@d2891aa -> abo-abo/swiper@1deef76
bbatsov/helm-projectile@2f3a2a0 -> bbatsov/helm-projectile@58123f1
company-mode/company-mode@97cfbc3 -> company-mode/company-mode@88001d7
creichert/ido-vertical-mode.el@5a6e170 -> creichert/ido-vertical-mode.el@b1659e9
emacs-helm/helm@75562ee -> emacs-helm/helm@dbdec63
raxod502/prescient.el@42adc80 -> raxod502/prescient.el@9631db7
sebastiencs/company-box@be37a9a -> sebastiencs/company-box@ec8f446
tumashu/ivy-posframe@83047d4 -> tumashu/ivy-posframe@3132719
tumashu/posframe@efd7ea4 -> tumashu/posframe@3454a4c
yyoncho/helm-icons@dbc5c41 -> yyoncho/helm-icons@5a668ef
2021-02-25 13:59:43 -05:00
2ce726b318 Force async babel blocks to export synchronously 2021-02-25 13:16:21 -05:00
cd083bc059 tools/lsp: fix +lsp-prompt-to-install-server == 'quiet
Wasn't suppressing output because inhibit-message is overridden in
lsp--message.
2021-02-25 12:40:07 -05:00
1490c4e5b2 lang/ruby: remove commit hashes in package links
And alphabetize package list.
2021-02-25 12:33:23 -05:00
2e7077d3df Merge pull request #4389 from samwdp/develop
Added new package to csharp lang module
2021-02-25 12:30:42 -05:00
9d12761c39 Reformat for consistency and s/:bind/:general 2021-02-25 12:30:13 -05:00
c0f2da7057 Merge pull request #4471 from gagbo/fix/eglot-flycheck-freeze
Re-document flycheck-eglot compatibility layer
2021-02-25 12:26:56 -05:00