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
c99c184f85
Fix error in doom/help-packages for gnu packages
...
Due to validation checking for the wrong strings. Also extends support
for user-supplied archives (though the link may not be as helpful).
2019-07-09 23:30:59 +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
ed9d7feb36
projectile: persist projectile-projects-cache-time
...
This way, projectile caches won't expire when restarting Emacs, but
instead time + projectile-files-cache-expire seconds from the time it is
serialized.
2019-07-09 19:54:21 +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
c3c282f0a4
Add λ!! (lambda!!) macro
...
For quick inline commands for keybinds that simply call a
command (interactively) with a prefix argument.
2019-07-09 02:34:24 +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
d9f4b13d78
doctor: fix false positive missing packages #1544
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
cd9378bb9e
Fix set-project-type!
...
Reference to non-existent variable, when
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
Henrik Lissner
d748fe0cd2
Improve smartparens support for (* *) comment blocks
...
In tuareg-mode and fsharp-mode
2019-07-09 02:19:35 +02:00
Henrik Lissner
92dd66f736
lang/org: refactor & reformat
...
To ensure that users' after! blocks have precendence over org packages
in sub-modules.
2019-07-08 22:08:59 +02:00
Henrik Lissner
52dc5001bc
lang/ocaml: refactor & reformat
...
This ensures that users' after! blocks have precendence over ocaml
packages.
2019-07-08 22:08:59 +02:00
Henrik Lissner
56393420e5
lang/ocaml: ensure * in block comments are padded
...
(*
* <-- ensures there is at least one space here
*)
2019-07-08 22:08:59 +02:00
Henrik Lissner
c14a4c8818
Move newline-and-indent advice outside of after! smartparens
...
Makes it easier to disable.
2019-07-08 22:08:59 +02:00
Henrik Lissner
df56ea5c60
Fix projectile breakage in windows in git projects
...
Because projectile tries to use `tr`, which doesn't exist on windows.
2019-07-08 22:08:54 +02:00
Henrik Lissner
d0412b7f56
lang/ocaml: start lsp as late as possible
...
Gives the user more opportunity to customize lsp et co with
file/dir-local variables or mode hooks.
2019-07-08 21:24:36 +02:00
Henrik Lissner
17bd6e43c6
tools/direnv: consult direnv less frequently
...
By checking on doom-switch-{buffer,window}-hook and focus-in-hook, which
fires a lot less often than post-command-hook.
2019-07-08 21:23:49 +02:00
Henrik Lissner
c5cd29ef74
ui/workspaces: refactor restoration of indirect buffers
2019-07-08 21:21:02 +02:00
Henrik Lissner
e645185907
Set org-crypt vars sooner
...
In :init rather than :config, so users' (after! org-crypt ...) blocks
take precedence.
2019-07-08 21:17:04 +02:00
Henrik Lissner
5662b2c4b3
Add shell.nix file-template
2019-07-08 14:36:38 +02:00
Henrik Lissner
d45b9348c0
Update evil-collection-mode-list #1543
2019-07-08 13:51:11 +02:00
Henrik Lissner
d2991930ae
lang/org: minor refactor
...
- Set file variables sooner
- Change org-tags-exclude-from-inheritance additively, rather than
destructively
2019-07-08 11:58:58 +02:00
Henrik Lissner
096a3b96cc
Update & refactor tools/debugger
...
- Polish dap-mode support
- Fix realgud autoloads
- Add +debugger/start and +debugger/quit
- Move dap-breakpoints file into doom-etc-dir
- Fix SPC o d
- Add popup rule for realgud:pdb debugger
- Update display-in-popup advice to reflect changes upstream
- Realgud command buffer is auto-killed (and popup closed) when quitting
the debugger.
- (evil users) Add :debug ex command
2019-07-07 22:01:24 +02:00
Henrik Lissner
f09a2b60c4
lang/rust: move lsp! to local-vars hook
...
i.e. start lsp-mode as late as possible
2019-07-07 17:39:19 +02:00
Henrik Lissner
71d505b893
Cache doom-modules on doom refresh
2019-07-07 14:10:21 +02:00
Henrik Lissner
b58b5e1d64
Fix auto-removal of builtin-preferred packges
2019-07-07 14:07:41 +02:00
Henrik Lissner
faeefc1775
Add FLAG argument to doom-module-p
2019-07-07 14:07:11 +02:00
Henrik Lissner
ebd53e5664
Allow expansion of stage-restricted forms
...
The package! family of macros will throw an error if used in the wrong
files. This same check would prevent macroexpand from expanding them, or
prevent them from being evaluated inline.
2019-07-07 13:29:22 +02:00
Henrik Lissner
dd4c70fe93
Add doom/reload-autoloads
2019-07-07 13:20:25 +02:00