Commit graph

693 commits

Author SHA1 Message Date
Henrik Lissner
c034bfdc87
tools/lsp: minor refactor & comment variables
Also moves lsp-fsharp-server-install-dir to
~/.emacs.d/.local/etc/lsp-fsharp
2019-10-21 19:01:06 -04:00
Henrik Lissner
8dfc4b3033
tools/lsp: prompt for project if one can't be guessed #1928
And don't recognize $HOME as a valid project root.
2019-10-21 18:29:11 -04:00
Henrik Lissner
0cca037448
tools/lsp: log project root when starting lsp #1928 2019-10-21 18:28:45 -04:00
Henrik Lissner
2b43558445
tools/flycheck: display popups a little faster 2019-10-20 19:57:46 -04:00
Henrik Lissner
6fab07a2e7
tools/editorconfig: detect elisp & js shell scripts
(And sort +editorconfig-mode-alist alphabetically)
2019-10-20 19:57:28 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Henrik Lissner
7f0ca974e9
tools/magit: free up 0-4 keys for evil & bind g=
- Replaces 0 with g= (magit-diff-default-context)
- Unbinds 1-4 keys so you can use numbered motions in magit buffers
  again
2019-10-20 10:58:52 -04:00
Henrik Lissner
ad677433ef
tools/flycheck: inhibit popups when company is in use
Should only appear if in normal mode or, if evil is disabled, when
company isn't active.
2019-10-20 10:58:44 -04:00
Henrik Lissner
8b5b3deaba
tools/flycheck: only check on file save/open 2019-10-19 22:22:50 -04:00
Henrik Lissner
c6121b98b5
tools/flyspell: enable flyspell-mode in text modes 2019-10-19 14:03:32 -04:00
Henrik Lissner
4860bb86ce
tools/direnv: only update on major mode change
Rather than on buffer-switch. This makes switching windows much faster,
but introduces a (low) risk of a stale environment. Needs more testing.
2019-10-18 22:34:41 -04:00
Henrik Lissner
2d2413d293
tools/lsp: defer lsp init until buffer is visible 2019-10-18 21:10:56 -04:00
Henrik Lissner
8407af98fd
tools/magit: disable magit-todos by default
This plugin is a source of slowness and occasional bugs. Instead of
enabling it by default, we keep it around for magit-todos-list, which
could replace +ivy/tasks.
2019-10-17 02:53:44 -04:00
Henrik Lissner
957e1dd080
Fix (set-lookup-handlers! MODES nil) syntax 2019-10-15 22:24:57 -04:00
Akhil Wali
8129112e59 Check if evil-emacs-state-local-map is bound 2019-10-10 22:35:26 +13:00
Henrik Lissner
3181933ed1
Minor refactoring and reformatting 2019-10-08 17:42:36 -04:00
Henrik Lissner
bb71f591f8
tools/eval: fix void-variable term-raw-map errors 2019-10-08 17:42:36 -04:00
Henrik Lissner
286024a48c
modules/README: update links & alphabetize
And correct minor issues in lang/{elixir,ein}/README.org
2019-10-07 17:09:52 -04:00
Henrik Lissner
1aae5c9242
tools/eval: fix extra newlines in term-char-mode REPLs #1836 2019-10-07 12:58:05 -04:00
Henrik Lissner
33998bdaff
tools/flycheck: inhibit popups in insert/replace modes 2019-10-05 12:47:31 -04:00
Henrik Lissner
daee52d358
Fix duplicate backends in +lookup prompts
When running a +lookup/* command with the prefix arg, you are prompted
for which backend to use, which could contain duplicates if the current
buffer has no local backends.
2019-10-03 17:16:06 -04:00
Henrik Lissner
19bfb1285d
Fix #1852: magit not restoring wconf when quitting 2019-10-03 16:43:49 -04:00
Henrik Lissner
0e6c015d60
tools/magit: init forge after building emacsql 2019-10-03 11:42:22 -04:00
Henrik Lissner
9026efcf5a
tools/lsp: enable flymake or flycheck, not both
And only enable flycheck if it is installed.
2019-09-30 12:50:26 -04:00
Henrik Lissner
7c8badc8fe
tools/flycheck: speed up buffer-wide flyspell checks 2019-09-28 12:47:21 -04:00
Henrik Lissner
ac17c468d2
tools/pdf: revise comments 2019-09-27 12:05:48 -04:00
Henrik Lissner
62711489df
tools/pdf: run pdf-tools-install-noverify after init 2019-09-26 15:04:25 -04:00
Henrik Lissner
364cec34e0
tools/lsp: revert lsp-eldoc-enable-hover to default (t) 2019-09-26 14:26:48 -04:00
Henrik Lissner
737407dcec
tools/flyspell: remove +flycheck-immediately #1824 2019-09-26 14:26:47 -04:00
Henrik Lissner
a940f56fb4
tools/pdf: fix 1826
Error occurs if pdf-annot is never loaded before kill-buffer hook runs.
2019-09-26 14:26:47 -04:00
Henrik Lissner
ece174d9ed
tools/pdf: document pdf-tools-install hackery 2019-09-26 14:26:47 -04:00
Henrik Lissner
2dfa690f83
Autoload new locate-command default
This makes it much easier to customize, since it will always be set early in the startup process, rather than unpredictably, whenever this autoloads file is loaded.
2019-09-23 13:39:53 -04:00
Rudi Grinberg
212bdf8ae5 Set locate-command in tools macos
It should be mdfind since spot light is on by default

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-23 17:47:58 +09:00
Henrik Lissner
efbc57a519
tools/direnv: update lorri overlay #1808 2019-09-22 11:57:40 -04:00
Henrik Lissner
86928e425b
lang/pdf: fix wrong-num-of-args error for MacOS users 2019-09-21 14:19:56 -04:00
Henrik Lissner
bad0dba1fc
tools/magit: refactor magit-version advice
Not strictly necessary, but more correct.
2019-09-20 17:18:16 -04:00
Henrik Lissner
fccafff291
tools/pdf: install epdfinfo on load #1788
Reverses 4f7bf8b
2019-09-20 01:19:40 -04:00
Henrik Lissner
d5ecfd3429
Move pdf-tools popup rules to tools/pdf 2019-09-19 18:55:44 -04:00
Henrik Lissner
a0826447f5
tools/pdf: refactor retina support advice #1667 2019-09-19 18:39:09 -04:00
Henrik Lissner
4f7bf8b976
tools/pdf: don't install pdf-tools on load
Now that pdf-tools-install compiles epdfinfo asynchronously, pdf files
are loaded before it is finished, yielding errors while pdf-view-mode
initializes. There is currently no effective workaround;
pdf-tools-install must be executed manually.
2019-09-15 16:16:46 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
d0e3bc3455
Fix #1765: enabling tide when lsp is active 2019-09-08 19:20:42 -04:00
Henrik Lissner
70c60e6583
tools/magit: re-enable magit-todos over tramp
Reverts 9ab49be. TRAMP support was added in
alphapapa/magit-todos@a80dace
2019-09-07 19:57:58 -04:00
Henrik Lissner
92c839be02
tools/magit: warn if emacsql fails to build #1751 2019-09-03 15:47:38 -04:00
Henrik Lissner
e996216714
Have lsp! return non-nil if successful
And fix an issue where +javascript-init-lsp-or-tide-maybe-h would
reference lsp-mode in the rare case where lsp-mode isn't defined (likely
because the user forgot to run `doom refresh` after enabling the :tools
lsp module).
2019-09-02 21:43:12 -04:00
Henrik Lissner
abc80e43ae
tools/magit: disable magit-todos over TRAMP 2019-09-02 13:14:52 -04:00
Henrik Lissner
ccaf92b0d3
tools/magit: don't kill all magit buffers when quitting one
And mark all outdated buffers, rather than just the ones in the current
workgroup.
2019-08-28 15:22:14 -04:00
Henrik Lissner
880c581c0d
tools/direnv: add README 2019-08-27 12:50:10 -04:00
Alexander Fu Xi
6c4d8cd408 tools/pdf: display retina images on Emacs NS-port #1667
* Advice pdf-tools to display retina image on Mac
* Apply to other functions
* hotfix
* remove redundant advice
2019-08-27 00:36:20 -04:00
Henrik Lissner
a9b5640d1f
tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
2019-08-27 00:09:50 -04:00