Commit graph

644 commits

Author SHA1 Message Date
Henrik Lissner
c088aaeb1b
tools/editorconfig: remove editorconfig-lisp-use-default-indent
This is now its default value upstream.
2019-12-14 01:15:59 -05:00
Henrik Lissner
6ff31408ec
tools/docker: remove :ensure t in readme 2019-12-10 14:49:35 -05:00
Alan Brown
ec08acba1e Changed to correct default location
https://git-scm.com/docs/git-credential-cache
2019-12-09 11:45:57 +00:00
Edmund Miller
89f4f9d88f
fix(magit): add bindings for github-review 2019-12-08 13:35:18 -06:00
Edmund Miller
617e46152f
add github-review 2019-12-08 13:34:34 -06:00
Henrik Lissner
318754c4d2
Prevent eval results from consuming > half the frame 2019-12-05 20:48:53 -05:00
Henrik Lissner
5213a0b4f1
tools/flycheck: fix error list popup rule 2019-12-03 20:42:39 -05:00
Henrik Lissner
3743bc70ab
tools/direnv: fix async-shell-command 2019-12-01 15:42:05 -05:00
Gerry Agbobada
46d3d8d85c Fix dap-debug-template-conf.. void-variable
The variable changed name in
emacs-lsp/dap-mode@7768e145be
2019-11-26 00:54:51 +01:00
Henrik Lissner
9a93aa1df9
tools/debugger: fix invalid-function "..." error
...when invoking debugger, due to minibuffer-history being evaluated for
some reason.
2019-11-25 18:39:51 -05:00
Henrik Lissner
9bd3a988f1
Remove :tools wakatime module
Doesn't appear to be working anymore and it's OOTB setup/config is too
trivial to warrant its own module.
2019-11-25 02:10:11 -05:00
Henrik Lissner
44e22b7f80
tools/magit: replace +magit/clone w/ magit-clone
The former no longer works, since ghub's API has changed. Meanwhile, the
magit-clone command has grown in features to match (and surpass)
+magit/clone, so we'll just use that instead.
2019-11-23 01:21:25 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Henrik Lissner
2da91f9e47
Merge pull request #2099 from danlamanna/add-terraform-doctor
tools/terraform: add doctor dependency check
2019-11-21 16:14:09 -05:00
Dan LaManna
4aa4a26bc5 tools/terraform: add doctor dependency check 2019-11-21 16:10:43 -05:00
Dan LaManna
3a595b8864 tools/terraform: add readme file 2019-11-21 15:04:04 -05:00
Henrik Lissner
a66872fe25
Focus on ripgrep; remove ag, git-grep & grep support
We're focusing on ripgrep so we can iterate on search functionality in
Doom quicker. There is nothing the other search backends can do that
ripgrep can't. It is now a hard dependency for Doom.
2019-11-17 01:19:59 -05:00
Henrik Lissner
c30d0ab1b7
tools/eval: ensure final newline after repl input #2056
Fix an issue where the final line of send-to-repl input (via gr) isn't
consistently processed.
2019-11-17 01:15:51 -05:00
Henrik Lissner
f54d7a15cd
tools/eval: send to repl (via gr) by line #2056 2019-11-16 20:57:04 -05:00
Henrik Lissner
449ddb986c
Minor refactors & reformatting across the board 2019-11-15 22:17:31 -05:00
Henrik Lissner
c2db4a8708
tools/eval: add REPL support for +eval/buffer 2019-11-15 00:17:10 -05:00
Henrik Lissner
2a01a9dcdf
tools/ein: fix +ein/hydra autoload #2054 2019-11-14 01:45:40 -05:00
Henrik Lissner
d0a7cac3ad
Fix +eval:region sending whole buffer to REPL #1941 2019-11-12 20:22:38 -05:00
Henrik Lissner
58e674d8fb
tools/lsp: fix LSP prompting for project too often 2019-11-10 05:05:42 -05:00
Henrik Lissner
8e394ba3f0
tools/lookup: lazy load dash-docs 2019-11-08 16:02:07 -05:00
Henrik Lissner
bf8ee34c19
tools/lsp: fix +lsp-prompt-if-no-project-a #1928
Don't prompt for blacklisted folders, and don't refuse to recognize
$HOME (let the user decide whether to blacklist it or not).
2019-11-08 16:02:07 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
Henrik Lissner
16a17ad970
tools/lsp: start lsp server unconditionally
Part 2 of f6d3ee588, in order for server restarting to work, since
shutting down the server doesn't turn off lsp-mode.
2019-11-02 15:50:26 -04:00
Henrik Lissner
f6d3ee5889
tools/lsp: fix lsp-workspace-restart 2019-11-02 15:50:02 -04:00
Henrik Lissner
762c374198
Rename +eval-overlay-max-lines -> +eval-popup-min-lines
Generalize variable.
2019-10-29 18:19:02 -04:00
Henrik Lissner
5e6363f025
tools/magit: invalidate projectile cache on git checkout 2019-10-29 11:36:46 -04:00
Henrik Lissner
196c716c74
tools/lsp: fix void-function (setf lsp--workspace-shutdown-action)) #1965 2019-10-29 11:36:46 -04:00
Henrik Lissner
3c6f48f9ec
Move evil & corrective keybinds to respective modules
Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.

Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.
2019-10-26 23:44:28 -04:00
Henrik Lissner
c360f0dceb
Minor refactor & comment/docstring revision 2019-10-26 23:44:28 -04:00
Henrik Lissner
71e85b4d58
tools/lsp: update README 2019-10-26 04:05:34 -04:00
Henrik Lissner
d2fe021bd9
tools/eval: display in minibuffer if below threshold
If it's just a couple lines, display in minibuffer instead.
2019-10-26 03:54:09 -04:00
Henrik Lissner
36c9f7c333
tools/eval: fix popup when +overlay is disabled 2019-10-26 03:53:54 -04:00
Henrik Lissner
a78e89bbf8
tools/eval: update README 2019-10-26 02:12:58 -04:00
Henrik Lissner
84a063ca78
tools/eval: add +overlay feature
Now, inline evaluation will display results in an overlay next to the
cursor, rather than in the minibuffer (unless it gets too big, in which
case it'll use a popup buffer).
2019-10-26 02:12:58 -04:00
Henrik Lissner
187c9857c4
Don't clone editorconfig's submodules
They're only unit tests.
2019-10-26 00:35:47 -04:00
Henrik Lissner
54559d567a
tools/magit: hide modeline in magit-popups
Since magit-gitflow still uses the old magit-popups, rather than
transient.
2019-10-25 02:38:15 -04:00
Henrik Lissner
923a0a58b6
tools/flycheck: prevent flycheck popup buffer taking focus
When tooltip/childframe is off, long errors can spawn a popup window
that, by default, will steal input focus. No more!

Reported by @rgrinberg
2019-10-25 02:38:04 -04:00
Henrik Lissner
a940d07e4b
tools/eval: minor refactors 2019-10-24 19:23:17 -04:00
Henrik Lissner
bcdf5eb19a
tools/eval: gr now sends to REPL if one is open #1941
And polish other evil repl commands + add docstrings.
2019-10-24 16:56:53 -04:00
Henrik Lissner
1030f66c24
Revert 438caf276 (#1943)
This was fixed upstream in emacs-lsp/lsp-mode#1135
2019-10-24 13:31:08 -04:00
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Henrik Lissner
0b67251159
tools/eval: associate plist with repl handlers
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.

  (set-repl-handler! 'some-mode #'some-repl-handler :persist t)

Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
438caf276b
tools/lsp: fix lsp in js scripts w/ no file ext #1943 2019-10-23 18:29:30 -04:00
Henrik Lissner
cfcaad4bfc
tools/eval: don't select window after send-to-repl #1941
Also:

- Refactors REPL logic
- Open-repl commands now copy selection to new REPL and select
  them (without executing them).
- Send-to-repl now auto-executes by default. Prefix arg = don't auto
  execute
2019-10-23 14:08:15 -04:00
Henrik Lissner
b7e2c7509f
tools/lsp: deregister workspace shutdown action
...if workspace buffers are present during the deferred shutdown.
2019-10-23 00:51:09 -04:00