Commit graph

15825 commits

Author SHA1 Message Date
Henrik Lissner
925ddc3bc7
Merge pull request #5103 from fosskers/colin/rust-doc-open
lang/rust: Binding for `cargo doc`
2021-05-27 23:04:15 -04:00
Henrik Lissner
18d5ea5ad6
Merge pull request #5102 from fosskers/colin/doctor-tidy
doctor: Check for missing `tidy`
2021-05-27 23:02:59 -04:00
Henrik Lissner
e18a6679b7
Merge pull request #5107 from SebastianKeller/patch-1
Fix schemes README.md
2021-05-27 23:02:27 -04:00
Henrik Lissner
005a71e467 Fix #5104 (again): void-function +format-lsp-enable-on-save-maybe-h 2021-05-27 19:32:56 -04:00
Sebsatian Keller
8beb5674b5
Fix schemes README.md
Fix a small copy / paste error on geiser-chibi
2021-05-27 21:31:52 +02:00
Henrik Lissner
c97df46f5b Fix #5105: void-variable org-brain-polymode-map 2021-05-27 12:54:06 -04:00
Henrik Lissner
c9653ba8ae Fix #5104: void-function +format-lsp-enable-on-save-maybe-h 2021-05-27 12:51:56 -04:00
Henrik Lissner
a7d5d97b34 Fix #4899: wrong-type-arg arrayp error on org-brain init 2021-05-27 03:53:43 -04:00
Colin Woodbury
4cb498e3a1
lang/rust: Differentiate doc building bindings
`cargo doc --open` (the previous binding of `SPC m b d`) always opens a
new browser tab. For "doc-driven development" this isn't so nice, since
we'd like to stay in the same tab and just refresh its contents after
editing. That's what `cargo doc` (without `--open`) does, which is
called by `#'rustic-carg-build-doc`.

This commit introduces a binding for the latter behaviour, but asigns it
to the old `SPC m b d`, with the "open" variant as `SPC m b D`. This
matches Spacemacs and follows the usual pattern of "the capital letter
variant is the one you use less often".
2021-05-26 21:57:05 -07:00
Colin Woodbury
1a6ea2fb44
doctor: Warn about missing tidy when using web 2021-05-26 21:46:17 -07:00
Henrik Lissner
6e7a19a2f4 Enable formatter if LSP formatter is available
The :editor format module uses either the formatter available through an
LSP server or a formatter that the format-all package supports.  With
:editor (format +onsave), this formatter is triggered when a file is
saved. However, if no format-all formatter is available, this on-save
behavior is disabled, even if an LSP formatter is available. This fixes
that.
2021-05-26 21:45:00 -04:00
Henrik Lissner
68bee5043c Fix 'typescript-tide is not a valid syntax checker' error 2021-05-26 17:04:06 -04:00
Henrik Lissner
9be837402c
Merge pull request #5101 from Zetagon/develop
Advice lispyville-end-of-defun to go past defuns
2021-05-26 16:30:54 -04:00
Henrik Lissner
67425f0b61
Merge pull request #5098 from daanturo/prescient-dont-sort-counsel-org-goto
Add :not counsel-org-goto to ivy-prescient-sort-commands
2021-05-26 16:30:18 -04:00
Henrik Lissner
d99a102a6b rainbow-delimiters-max-face-count = 4 2021-05-26 16:19:07 -04:00
Henrik Lissner
fa643513cf lang/org: add orgit-forge
Closes #5100
2021-05-26 16:19:07 -04:00
Henrik Lissner
1f918ba638 Remove braces from issue form placeholders
I added these to make the title input harder to miss, but now I'm
getting issues entitled {{{ <summary of issue> }}}.

There's no winning this game...
2021-05-26 16:19:07 -04:00
Henrik Lissner
9bd0be17e3 Enable solaire-mode in popups, transient, which-key 2021-05-26 16:19:07 -04:00
Henrik Lissner
657b326e92 lang/javascript: redesign module around rjsx-mode
+ Use rjsx-mode for all javascript files. It degrades gracefully and is
  less maintenance.
+ Rethink flycheck + JS integration. You should get eslint and tslint
  support in web-mode, typescript-mode, and typescript-tsx-mode now (as
  well as rjsx-mode, of course).
2021-05-26 16:19:04 -04:00
Leo Okawa Ericson
3b18153ea7 Advice lispyville-end-of-defun to go past defuns
`lispyville-end-of-defun' doesn't go to the next defun when point is
already at the end of a defun, whereas `lispyville-beginning-of-defun'
does. This commit fixes this inconsistency by matching
`lispyville-end-of-defun''s behaviour with `lispyville-beginning-of-defun'.

`line-end-position' isn't enough because it never returns `t' in normal
mode (in normal mode the point can't reach the true end of a line).
2021-05-26 18:51:55 +02:00
Daanturo
18a149b3e3 Add :not counsel-org-goto to ivy-prescient-sort-commands 2021-05-26 16:46:24 +07:00
Henrik Lissner
6c2ff3791a Reformat issue forms
Using a field's description makes the important preamble too small and
easy to skim over.
2021-05-25 22:39:29 -04:00
Henrik Lissner
79df2f875a Fix bug_report & feature_request issue forms 2021-05-25 22:30:59 -04:00
Henrik Lissner
108f9877fe Revise issue forms
The dream:
+ Fewer "X doesn't work" / "X stopped working" issue
+ Fewer "Briefly summarize your issue here" issues
2021-05-25 14:20:08 -04:00
Henrik Lissner
4563f13ef9 Reduce verbosity of first-time install 2021-05-25 14:17:00 -04:00
Henrik Lissner
b0741336d1 Throw error if git < 2.28
To prevent issues like #5096.
2021-05-25 14:16:38 -04:00
Henrik Lissner
364e74a96b Bump :emacs vc :tools magit
magit/forge@37aa4e4 -> magit/forge@551e515
magit/git-modes@14adca2 -> magit/git-modes@7678ead
magit/magit@e378827 -> magit/magit@b68a760
rmuslimov/browse-at-remote@fadf99d -> rmuslimov/browse-at-remote@e02ad21

Fixes #5095: breakage due to upstream refactors
2021-05-25 13:39:26 -04:00
Henrik Lissner
f604ce6d01 Minor refactors & reformatting 2021-05-25 10:35:21 -04:00
Henrik Lissner
7b5baf319b Fix #5093: git version doctor check on macOS
git version's output is formatted differently on macOS (because of
course it is), so I use a more flexible check.
2021-05-25 10:35:21 -04:00
Henrik Lissner
daa50557a4 tools/pdf: leave it to user to build epdfinfo
Trying to do this automatically is buggy to the point of insanity. It's
not reliable enough to use as a :post-build target for the pdf-tools
package.

Better to fail gracefully, let the user know what they must do, and let
them do it at their own discretion.
2021-05-25 00:11:58 -04:00
Henrik Lissner
8424e0a780 config/literate: simplify tangle process
This removes expansion of #+INCLUDE directives at tangle time because
it's too much trouble to maintain a workflow that org doesn't support,
without modifying the user's files, which goes against Doom's "your
system your rules" mantra. The tangling process is just too brittle to
hack without compounding edge cases.

Fixes #5089
2021-05-24 17:52:27 -04:00
Henrik Lissner
df3c221c73 cli: don't repeat "Executing..." line on restart 2021-05-24 17:32:46 -04:00
Henrik Lissner
7ec9221957 docs/getting_started: update ubuntu install instructions
To include git 2.28 install instructions (see #5088).

Also update version tags (to push 27.x over 26.x).
2021-05-24 15:08:42 -04:00
Henrik Lissner
592116cece cli/doctor: add git and git 2.28 check
Also:
+ Refactors hard dependency checks
+ Improve warnings for 26.x and 28.x users

Mentioned in #5088
2021-05-24 14:54:33 -04:00
Henrik Lissner
2d8342ca5f docs: bump minimum git version: 2.23 -> 2.28 #5088
And bump recommended Emacs: 27.1 -> 27.2
2021-05-24 14:41:16 -04:00
Henrik Lissner
ab1000c8d0 Fix #5088: failure to install straight.el 2021-05-24 14:33:12 -04:00
Henrik Lissner
3d19fab59c Don't build vterm-module in noninteractive sessions
Fixes 'doom compile' when :term vterm is enabled.

Mentioned in #5086
2021-05-24 13:54:13 -04:00
Henrik Lissner
8841011a95 Return buffer on +vterm/{here,toggle} commands 2021-05-24 13:53:51 -04:00
j3010
3a1aaacbad
Add ranger documentation to dired README (#5085)
* added documentation on the command to switch betwee minimal ranger and full ranger

* added link to ranger section in dired README.org

* Move ranger tip to Keybindings section

Co-authored-by: Henrik Lissner <accounts+github@v0.io>
2021-05-24 13:49:32 -04:00
Henrik Lissner
853fa4c473
Merge pull request #5083 from fuzzycode/qt/documentation
Add qt module documentation
2021-05-24 13:49:15 -04:00
Henrik Lissner
7864082c30
Merge pull request #5079 from jgrey4296/develop
define-localleader-key's featurep -> featurep!
2021-05-24 13:49:07 -04:00
Henrik Lissner
b518ff67e0
Merge pull request #5078 from daanturo/docsets-in-js-repl
:lang javascript Enable Dash docsets in nodejs-repl-mode
2021-05-24 13:48:52 -04:00
Henrik Lissner
6424b14b29
Merge pull request #5037 from sggutier/vterm-project-root
Fix +vterm-toggle not changing directory to project root
2021-05-24 13:48:12 -04:00
Henrik Lissner
bba8196d94
Merge pull request #4933 from pickfire/fcitx5
Add note for fcitx5 usage
2021-05-24 13:47:39 -04:00
Jeetaditya Chatterjee
1eb3da9fcb
doc: adding treemacs readme (#4797)
* fix: rebase readme too combine lsp settings

* doc:finish Sections of the README (now with +lsp!)

* fix: punctuation and wording.

Sentences should now be punctuated and the sentence at the start of
configuration now is a little easier to understand IMO

* Revert "fix: punctuation and wording."

This reverts commit b0155b02b0dd83519e192ba6951dc5eecee8130a.

* Revert "Revert "fix: punctuation and wording.""

This reverts commit 3933660c9d1c2074ac303bd5db472f315676b3dc.
2021-05-24 13:47:20 -04:00
Henrik Lissner
eb9b7b0bbc tools/pdf: build epdfinfo when pdf-tools is built
This fixes a number of UX issues with pdf-tools trying to eagerly build
epdfinfo at the least appropriate times, e.g. when org-mode processes
org-pdf-tools links.

Mentioned in #5086
2021-05-24 13:34:24 -04:00
Henrik Lissner
6321b3a249 straight: clone --single-branch by default
And compute autoload prefixes; which assist the describe-* (and
helpful-*) libraries.
2021-05-24 13:34:24 -04:00
Henrik Lissner
4b90f28e08 Default eshell-term-name to eterm-color
Fixes #4688
2021-05-24 13:34:24 -04:00
Henrik Lissner
e5b52e2a50 Remove "fix" for projectile + $HOME git repos
There are legitimate reasons why a user would want to treat $HOME as a
project. 'doom doctor' now complains about this case in greater detail.
I'll leave it to users to deal with this edge case.
2021-05-23 22:09:07 -04:00
Henrik Lissner
3a0bf17f2f lsp-ui-doc-enable = nil
Disabling this by default until emacs-lsp/lsp-ui#613 is addressed.
2021-05-23 22:09:07 -04:00