Commit graph

8736 commits

Author SHA1 Message Date
Henrik Lissner
ca7a18f3c6
Bump :lang java
Groovy-Emacs-Modes/groovy-emacs-modes@cafdd98 -> Groovy-Emacs-Modes/groovy-emacs-modes@26da902
emacs-lsp/lsp-java@811760a -> emacs-lsp/lsp-java@2600162

Fixes #3737
2020-08-12 14:56:42 -04:00
Henrik Lissner
f5ba3d9498
config/literate: revise readme 2020-08-12 02:52:45 -04:00
Henrik Lissner
809eae331f
Fix #3732: hard-to-see flycheck indicators
A temporary measure until I've sorted out custom faces for this module.
It solves difficult-to-see icons in the flycheck segment on some
themes (e.g. doom-molokai).
2020-08-12 02:52:00 -04:00
Henrik Lissner
6cf5d72ff6
Generalize LSP optimizations to include eglot 2020-08-12 00:34:09 -04:00
Henrik Lissner
50f1391e86
Fix #3274: don't chain checkers to LSP
Reverts 8ecec82
2020-08-12 00:34:01 -04:00
Henrik Lissner
8fc82cacdb
Bump :ui doom
hlissner/emacs-doom-themes@e803fc4 -> hlissner/emacs-doom-themes@8a5538e
hlissner/emacs-solaire-mode@d3e8f9e -> hlissner/emacs-solaire-mode@380e01c
2020-08-12 00:33:48 -04:00
Henrik Lissner
08e5b8535a
ui/workspaces: don't persist TRAMP buffers
They're too slow to restore.
2020-08-11 20:53:12 -04:00
Henrik Lissner
03162466c6
Fix fix for #3731
Get fixed.

See ab3376869
2020-08-11 19:22:32 -04:00
Henrik Lissner
ab3376869d
Fix #3731: fix dap-java keybinds 2020-08-11 19:19:01 -04:00
Henrik Lissner
64dfc709bf
Fix #3729: config.org not getting tangled
Because the wrong file is being inserted into the temporary org buffer,
org never finds anything to tangle!
2020-08-11 14:00:33 -04:00
Henrik Lissner
95c5ebc01a
Fix #3726: respect +magit-open-windows-in-direction
Also fixes an issue where `q` would not delete a magit-dedicated split
window (leaving duplicate magit-status windows about).
2020-08-11 13:48:12 -04:00
Henrik Lissner
eb9cb0c6e9
Fix org version conflicts due to literate config #3649
Tangling would load org libraries. If org hasn't been installed yet,
this means the older version is loaded, later interfering with the
installation and byte-compilation of the new package, causing down the
road.
2020-08-09 01:50:42 -04:00
Henrik Lissner
3173b39b58
lang/org: different bullets for nested plain lists 2020-08-09 01:50:41 -04:00
Henrik Lissner
2e6902f7ae
Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
Henrik Lissner
40cf6139ed
Make evil-join remove comment delimiters
See emacs-evil/evil#606
2020-08-09 01:50:41 -04:00
Henrik Lissner
de4532f979
ui/doom-dashboard: have 'last-project policy fall back to CWD
Normally, the dashboard assumes the default-directory = project root of
the last buffer you had open. This is to make it easy for you to recover
from closing the last buffer in your project and wondering how to get
back. However, if the last file wasn't in a valid project, the dashboard
assumes the directory of the last buffer that did, which can be jarring.

It will now assume the last buffer's CWD if it wasn't in a valid project
root.
2020-08-09 01:50:41 -04:00
Henrik Lissner
358ca9864b
tools/lsp: remove redundant config
lsp-enable-links was re-enabled in edf5249d1, since #2911 is no longer
an issue.
2020-08-09 01:50:41 -04:00
Henrik Lissner
b129b51d4d
os/tty: mention truecolor support is built into 27.1+ 2020-08-08 05:36:17 -04:00
Henrik Lissner
8bbac4bfb3
Minor refactors 2020-08-08 03:06:26 -04:00
Henrik Lissner
d8908a0c32
Fix +default/newline indenting after newline
This was intended to be newline minus indent, since newline itself is
remapped to newline-and-indent.
2020-08-08 03:02:37 -04:00
Henrik Lissner
d2bc2ff44b
config/literate: improve tangling algorithm
- Tangling no longer adds temp files to recentf (#3685)
- If :tangle yes is used, the result is no longer tangled to
  /tmp/config.org.*.el
- In interactive sessions the org buffer is no longer interfered with
  when tangling (by scrolling up to the top of the page, or undoing
  overlays/markers).
- Tangling no longer triggers formatters (or any save/write hooks).
- Appease byte-compiler sama, complaining about free variables.
2020-08-08 02:57:04 -04:00
Henrik Lissner
aae8203f86
os/tty: mention true-color and italics in readme 2020-08-07 23:58:56 -04:00
Henrik Lissner
0a4841b247
Add :os tty module
- Moves clipetty to its own, opt-in module (#2671, #3195, #3498)
- Fix cursor shape changing between evil states (#1994)
- Moves `xterm-mouse-mode` and `visible-cursor` config out of core.
2020-08-07 23:44:39 -04:00
Henrik Lissner
ef09695f57
Bump :completion company
company-mode/company-mode@1f56bec -> company-mode/company-mode@5eb7d86
sebastiencs/company-box@452f083 -> sebastiencs/company-box@889d723
2020-08-07 23:22:40 -04:00
Henrik Lissner
88a5a88fa5
Bump :ui modeline
seagle0128/doom-modeline@1c4711c -> seagle0128/doom-modeline@881e099
2020-08-07 23:09:58 -04:00
Henrik Lissner
db7b2f6da9
completion/ivy: show chevron on highlighted item in tty
So its easier to see in the terminal, where some themes may not have a
visible background for the current match.
2020-08-07 23:07:51 -04:00
Henrik Lissner
f686e01f4b
lang/org: fix eval handler
1. Wasn't restricting boundaries to the inside of the src block.
2. Was using a match when no match data was set (whoops).
2020-08-07 22:41:39 -04:00
Henrik Lissner
fd3b89854e
completion/company: minor refactor/reformatting 2020-08-07 20:15:15 -04:00
Henrik Lissner
3b13105e0e
lang/org: add jupyter support to eval handler 2020-08-07 20:15:15 -04:00
Henrik Lissner
4cbc2abb09
Don't invoke company on C-SPC if in minibuffer
In case of evil-collection-setup-minibuffer = t
2020-08-07 20:15:15 -04:00
Henrik Lissner
d39bd90106
Bump :lang python
cython/cython@5d8527d -> cython/cython@0208bf2
emacs-lsp/lsp-pyright@f85ad03 -> emacs-lsp/lsp-pyright@3cf2e8f
emacs-lsp/lsp-python-ms@d42ffc2 -> emacs-lsp/lsp-python-ms@7a502e6
galaunay/poetry.el@d876522 -> galaunay/poetry.el@22a76cd
pythonic-emacs/anaconda-mode@6094ded -> pythonic-emacs/anaconda-mode@73266a4
wbolster/emacs-python-pytest@dd05959 -> wbolster/emacs-python-pytest@6a3b4e5
2020-08-07 19:10:06 -04:00
Henrik Lissner
39344dee79
lang/python: update & correct README
Corrected typos and misinformation, also mentioned new +pyright flag.
2020-08-07 19:05:49 -04:00
Henrik Lissner
b091a43fc7
ui/modeline: don't resolve project root over tramp
It can be tremendously slow, and is evaluated on every input. Sometimes
several times on each input.
2020-08-07 02:01:04 -04:00
Henrik Lissner
7606311108
Fix evil-multiedit
victorhge/iedit@be44da7 broke evil-multiedit, so we're pinning to the
last known working commit.
2020-08-06 23:20:43 -04:00
Henrik Lissner
69259093e2
tools/lsp: fix lsp-mode init
3f5cc4c63 introduced some big changes to how Doom starts lsp-mode. I've
deferred much more of the work to upstream, but it:

1. lsp's errors no longer made sense (complaining about servers having
   no automated install routine, despite having one).
2. Broke lsp support in indirect buffers (like org src/capture buffers).

So I half-reverted 3f5cc4c63 and added a +lsp-auto-install-servers
variable to make it optional (albeit opt-in).
2020-08-06 20:45:16 -04:00
Henrik Lissner
461b337734
Bump :term eshell
szermatt/emacs-bash-completion@96ce14a -> szermatt/emacs-bash-completion@d47edb9

v3.1 release of bash-completion
2020-08-06 19:36:22 -04:00
Henrik Lissner
3f5cc4c630
Bump :tools lsp debugger
emacs-lsp/dap-mode@8c59b0a -> emacs-lsp/dap-mode@85a6163
emacs-lsp/lsp-mode@0131f1f -> emacs-lsp/lsp-mode@edb8119
realgud/realgud@de31e77 -> realgud/realgud@5b0ed08
tumashu/posframe@b3028b0 -> tumashu/posframe@6d604a7

Also refactors the :tools lsp module. Recent changes upstream have made
a few of our hacks unnecessary (or easier to pull off without advice).

Upstream has also introduced optimizations!
2020-08-06 19:36:22 -04:00
Henrik Lissner
1bc770e89b
Merge pull request #3690 from sorawee/racket-mode-flycheck
racket-mode: avoid using flycheck-disable-checker
2020-08-06 15:27:46 -04:00
Henrik Lissner
51ec5493f3
Bump :input chinese japanese
skk-dev/ddskk@11d91b4 -> skk-dev/ddskk@fe7f82b
tumashu/pyim@b934273 -> tumashu/pyim@e54153f
2020-08-06 15:27:20 -04:00
Henrik Lissner
72da7a3f04
editor/format: add org src-block support
Src blocks can now be reformatted. `+format/buffer` will reformat the
whole src block at point. `+format/region` will format only the
selection (even a subset of a src block).

Closes #3484
2020-08-06 15:25:56 -04:00
Henrik Lissner
e6417172cb
Bump :tools eval
emacsorphanage/quickrun@c6ce1f3 -> emacsorphanage/quickrun@ce7383c

Crystal support was added to quickrun upstream.
2020-08-06 00:39:43 -04:00
Henrik Lissner
bf9042327c
lang/org: improve jupyter support
Closes #2477

Co-authored-by: Seong Yong-ju <sei40kr@gmail.com>
2020-08-06 00:32:36 -04:00
Henrik Lissner
5a80db875c
lang/org: add lookup handlers for src blocks
- Fixes: `set-lookup-handlers!` couldn't define :definition or
  :references handlers in text-mode derivatives.
- Adds: support for evaluating code in jupyter blocks (#2477).
2020-08-06 00:23:09 -04:00
Henrik Lissner
3b159dda0a
lang/org: add code-completion in src blocks
company-capf for src blocks and company-dabbrev for everything else.

Relevant to #2477
2020-08-06 00:22:40 -04:00
Henrik Lissner
aba2dcaf11
tools/debugger: bind SPC m d to dap-hydra
Closes #2955
2020-08-06 00:22:39 -04:00
Henrik Lissner
3afee78c8b
tools/debugger: fix file-missing dap-ui-mode error 2020-08-06 00:22:39 -04:00
Henrik Lissner
a16c40d493
tools/magit: split sub-windows to the side
When a log or diff buffer is opened from the magit status buffer, it
would display them in a random window (or split, if none were
available). This changes forces it to predictably open to the right of
the magit status window (using the next window over, if available).
2020-08-06 00:22:39 -04:00
Sorawee Porncharoenwase
58b4ac9d6d PR feedback 2020-08-05 18:53:16 -07:00
Henrik Lissner
6f2471cda7
Bind ZX -> Save then kill current buffer
Since bury-buffer is already on SPC b z, and isn't a common operation in
day to day Emacs use.

Other useful keybinds:
  ZZ      -> Save then kill current window
  zx      -> kill current buffer (prompts if unsaved)
  SPC b z -> bury buffer
  zn      -> (operator) narrow buffer
  zN      -> widen narrowed buffer
2020-08-05 20:58:29 -04:00
Henrik Lissner
c88eb0fff8
Bump :lang crystal
crystal-lang-tools/emacs-crystal-mode@2428b01 -> crystal-lang-tools/emacs-crystal-mode@f9e4db1

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-08-05 20:51:47 -04:00