Commit graph

5575 commits

Author SHA1 Message Date
Henrik Lissner
92ca6762ac
ui/tabbar: rewrite to use centaur-tabs
Plus some modifications to make tabs truly window-local, like they are
in any tabbed modern editor.
2019-07-12 17:40:48 +02:00
Henrik Lissner
fddef812ec
tools/editorconfig: refactor how we ignore lisp modes 2019-07-12 16:47:49 +02:00
Henrik Lissner
18758c3926
Fix +evil/easymotion for certain keys 2019-07-12 16:24:01 +02:00
Henrik Lissner
157cb5287e
lang/org: enable latex export backend by default #1560
ox.el doesn't eager-load these packages anyway.
2019-07-12 15:42:26 +02:00
Henrik Lissner
0a7173b7f8
Auto-pair ( in lisps if cursor is before another ( 2019-07-12 15:05:08 +02:00
Henrik Lissner
8158cb1402
lang/rust: rustic-format-on-save = nil by default
Use :editor format instead.
2019-07-12 01:14:16 +02:00
Henrik Lissner
feb9799f23
Add f surround key to other lisp modes
This already existed for elisp, but is now available to lisp-mode (CL),
clojure and racket.
2019-07-12 01:08:41 +02:00
Henrik Lissner
403c2e1b5d
Add < surround key
ysiw<testRET will transform

  String

To

  test<String>

In C-style major modes that use angle bracket generics/templates (e.g.
C++, rust, C#, java, swift, and typescript).
2019-07-12 01:07:23 +02:00
Henrik Lissner
fb16afb4f2
ivy-prescient-retain-classic-highlighting = t
Because prescient's highlighting turns any assumptions themes make
about ivy's faces on their head, making them look odd.
2019-07-11 17:23:20 +02:00
Henrik Lissner
dbcd2f7624
Move treemacs-last-error-persist-file out of ~/.emacs.d
Git off my lawn.
2019-07-11 17:22:27 +02:00
Henrik Lissner
c627972d20
Add set-indent-width & toggle-indent-style commands
And SPC t I keybind

Also sorts keybinds under the SPC t prefix
2019-07-11 17:22:01 +02:00
Henrik Lissner
d2b694ed53
lang/scala: fix REPL command for non-project files
run-scala errors out if you're not in a valid project.
2019-07-11 01:24:28 +02:00
Henrik Lissner
aeb5cca727
Fix ob-ipython popup rule affecting python REPL 2019-07-11 01:23:34 +02:00
Henrik Lissner
5c09772219
lang/rust: fix rustic load order
Since both the rust-mode and rustic packages aggressively fight for
precedence in auto-mode-alist, rustic *must* be loaded after rust-mode,
so we switch from rust-mode to rustic-mode if it's available. This only
needs to happen once.
2019-07-11 01:09:30 +02:00
Henrik Lissner
da0b11d0f5
Fix ob-ipython popup rule
:transient property was removed long ago.
2019-07-10 22:26:40 +02:00
Henrik Lissner
30e14d7681
Use python lexer when exporting ipython blocks 2019-07-10 22:26:03 +02:00
Henrik Lissner
afdec75cbc
lang/org: refactor ob-ipython advice 2019-07-10 21:50:54 +02:00
Henrik Lissner
a201409fdd
Minor refactors across the board 2019-07-10 21:27:12 +02:00
Henrik Lissner
eb7d4bf0e8
lang/org: lazyload babel src highlighters packages
E.g. ob-*.el, if any
2019-07-10 19:30:56 +02:00
Henrik Lissner
2c140496e8
tools/magit: popup transient below magit window
And tell popup manager to ignore transient popups.

Should affect #1539
2019-07-10 19:29:45 +02:00
Henrik Lissner
eee147f6f3
lang/org: fix ipython unfontified src blocks #1553 2019-07-10 19:00:41 +02:00
Henrik Lissner
9d8dc93515
Fix evil-collection-term triggering on multi-term #1554
Since multi-term loads term, this is redundant, and ends up overwriting
users' after! term or after! multi-term blocks.
2019-07-10 18:07:28 +02:00
Henrik Lissner
394d13179f
Fix Org tags popup hack
Causing Org tags output to be written to the source buffer.
2019-07-10 17:28:20 +02:00
Henrik Lissner
23f7b12f6c
Update flags in modules/README.org 2019-07-10 17:18:03 +02:00
Henrik Lissner
14b1e36812
ui/popup: fix *Org tags* popups
- So the mode-line doesn't "hide" the last line of the popup
- So org doesn't delete all other windows when displaying the *Org tags*
  popup
- Minor corrections to comments in ui/popup/+hacks.el
2019-07-10 12:41:51 +02:00
Henrik Lissner
e8c0ac9f30
Switch to insert mode after expanding snippets 2019-07-10 12:08:39 +02:00
Henrik Lissner
5c7c62ad22
lang/scala: move lsp! to local-vars hook
Start lsp as late as possible so users have more time to inject
file/dir-local vars or customization hooks before it is started.
2019-07-10 11:33:46 +02:00
Henrik Lissner
9733db65d2
tools/direnv: fontify direnv stdlib keywords 2019-07-10 02:29:13 +02:00
Henrik Lissner
b6a469f13d
tools/direnv: update direnv on frame switch 2019-07-10 02:28:52 +02:00
Henrik Lissner
3a2f156acd
lang/sh: extract extra fontification into hook
So it can apply to sh-mode derivatives, like direnv-envrc-mode.
2019-07-10 02:28:01 +02:00
Henrik Lissner
e17e9a5c53
lang/sh: associate bin/[^/]$ files with sh-mode 2019-07-10 02:27:27 +02:00
Henrik Lissner
c2fe951062
Add direnv-envrc-mode file template 2019-07-10 02:27:13 +02:00
Henrik Lissner
468e630110
lang/org: refactor contrib modules
- Fix #1546
- Ensure contrib modules aren't included in byte-compilation/autoload
  generation if their requisite flags aren't enabled
2019-07-09 22:44:51 +02:00
Henrik Lissner
69ba8bb657
Fix +debugger/start for dap-mode
And fix variable name typo.
2019-07-09 21:33:02 +02:00
Henrik Lissner
95a6a2baaf
tools/debugger: add lldb & gdb dap debuggers
And refactors/reformats how dap modules are loaded.
2019-07-09 21:32:09 +02:00
Henrik Lissner
21d1844c6f
tools/debugger: fix broken variable reference 2019-07-09 21:11:27 +02:00
Henrik Lissner
7b04bee2de
lang/rust: add doctor checks for lsp servers 2019-07-09 20:35:09 +02:00
Henrik Lissner
2f86c01170
Add default popup rule for M-x calc 2019-07-09 19:55:37 +02:00
Henrik Lissner
31875b64f4
Set rustic-rls-pkg sooner
To give the user an opportunity to change it.
2019-07-09 19:29:08 +02:00
Henrik Lissner
a7a9951a50
lang/rust: fix void-function package-installed-p 2019-07-09 18:50:50 +02:00
Henrik Lissner
7f735bcafa
lang/rust: fix cannot load file t error with +lsp 2019-07-09 18:46:27 +02:00
Henrik Lissner
cc3a793407
Add rust docs to online lookup providers
If :lang rust is enabled.
2019-07-09 17:55:35 +02:00
Henrik Lissner
236c9ceeab
lang/rust: use rustic-mode instead on Emacs 26+ 2019-07-09 17:54:18 +02:00
Henrik Lissner
683683736d
Cancel previous company popup when invoking another
Enables uses to switch between backends, e.g. C-x C-s followed by C-x
C-n in insert mode.
2019-07-09 16:12:44 +02:00
Henrik Lissner
ef8cd55234
tools/direnv: fix direnv+flycheck integration
Also fixes direnv+flycheck for nix users by consulting direnv before
looking for flycheck executables.
2019-07-09 16:11:36 +02:00
Henrik Lissner
e146cba00e
Change g s / and g s SPC
The former searches the current window/buffer, the latter searches all
windows in the frame.

Removes g s ? (deemed not as useful as avy-goto-char-timer)
2019-07-09 02:34:24 +02:00
Henrik Lissner
7f964bfa65
Fix +1 space before closing comment delimiter in C languages 2019-07-09 02:19:35 +02:00
Henrik Lissner
b727b8fbe8
Add SPC p l = projectile-repeat-last-command 2019-07-09 02:19:35 +02:00
Henrik Lissner
1f0a5f04f2
lang/lua: improve moonscript & love2D support
- Fix moonscript-mode not highlighting/treating single-quoted strings as
  strings
- Fontify interpolated expressions in moonscript-mode strings (PR
  upstream?)
- Fix +lua-love-mode project detection
- Fix +lua/run-love-game love project root resolution
2019-07-09 02:19:35 +02:00
Henrik Lissner
74877edd5d
Adds SPC / O, rebinds SPC / o
SPC / o = search online w/ last provider (if none, you are prompted)
SPC / O = search online (always prompts for provider)
2019-07-09 02:19:35 +02:00