Commit Graph

13030 Commits

Author SHA1 Message Date
cd3f1399af Fontify latex blocks natively 2020-01-05 19:08:11 -05:00
ee4358a243 Simplify org-format-latex-options setting
Due to changes upstream, all that isn't necessary anymore.
2020-01-05 17:47:29 -05:00
e8cd89e451 Remove mention of the_silver_searcher from README
And mention emacs/ripgrep deps in quickstart instructions.
2020-01-05 16:06:02 -05:00
dce7e1c5fb Fix name of solarized package 2020-01-05 15:58:18 +00:00
326035199b Typo 2020-01-05 12:52:14 +01:00
02a4f6b573 Suppress delete-window in org related functions
- If there's only one other window, delete-window would be called,
  instead of delete-other-windows
- when there is only one window other than the popup, this other window
  is the main window in this frame, delete it would raise an error:
  `delete-window: Attempt to delete main window of frame <frame name>`
2020-01-05 11:52:39 +08:00
f26b148b2b Use my fork of ws-butler 2020-01-04 18:11:10 -05:00
cf04a44ca7 Refactor comment/string check in autoloads generator 2020-01-04 17:13:05 -05:00
1c237106aa Don't pollute module help warnings with text props 2020-01-04 17:12:49 -05:00
8c7aaa6468 scroll-conservatively = 101 #2217 2020-01-04 17:12:09 -05:00
ae5cf1889b Move custom-file to {doom-local-dir}/custom.el 2020-01-04 17:10:56 -05:00
a2eee97c9d undo-tree-{visualizer,auto-save-history} = t 2020-01-04 16:26:28 -05:00
e6638b82a1 Autoload forge-create-{pullreq,issue} 2020-01-04 15:42:04 -05:00
61f6e7f430 editor/evil: fix: outdated log 2020-01-05 03:40:41 +08:00
8bed16eb72 fix message 2020-01-04 12:49:43 +01:00
13be4fa178 Fix doom/sudo-save-buffer
Trying to open a buffer named after the filename, rather than opening
the file and returning a buffer.
2020-01-04 04:57:58 -05:00
e0b8b4f190 Fix set-pretty-symbols! not merging properties w/ old rules
This removes the :merge property, as merging is now its default
behavior.
2020-01-04 04:55:57 -05:00
d1beb47e90 Fix invalid-function 116 when formatting with tidy
Due to refactor upstream: lassik/emacs-format-all-the-code@4f458bd
2020-01-04 03:33:42 -05:00
8818f2f7e8 cli: Handle --help without an argument 2020-01-04 11:32:14 +05:30
f9b3ad2bb1 Fix typo in env.el 2020-01-03 21:42:14 +01:00
580de0be1f Fix source code highlighting when using marked.js
I'm currently experiencing problems getting the source code highlighting to work with https://github.com/markedjs/marked

The reason is that Marked outputs the following structure:

```html
<pre><code class="language-js">const hello = 'world';</code></pre>
```

and the current selector expects the `pre` tag to have a `lang` attribute. 

This PR splits the forwarding of the `lang` attribute to a class and the code that initialise the highlighting for each block. It will try to initialise the highlighting for every `code` block that is inside a `pre` tag.
2020-01-03 17:19:44 +01:00
6523f6a12e Move cpp-mode{,-map} aliases to autoloads
They don't need to be in config.el
2020-01-03 05:49:43 -05:00
11676b0153 Fix #2299: void-function sp-point-in-string during 'doom refresh'
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
63d42c97bc Pass POS to sp-point-in-string
And doom-point-in-string-or-comment-p is no longer side-effect-free, due
to sp-point-in-* caching syntax-ppss.
2020-01-03 05:22:10 -05:00
5495922a20 Resolve symlinks in doomdir slot for doom/info 2020-01-03 05:22:10 -05:00
b825c399a3 Merge pull request #2296 from Foldex/develop
ui/doom-dashboard: de-hardcode dashboard faces
2020-01-03 05:08:35 -05:00
8ff15c2aeb Optimize doom-point-in-*-p functions
Since we won't be dumping smartparens just yet, use it for now.
2020-01-03 02:44:29 -05:00
8857dc1a5e Add doom-point-in-{comment,string}-functions
Fixes #2297
2020-01-03 02:40:50 -05:00
27bf3c85b5 Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
760aa50c44 ui/doom-dashboard: De-hardcode dashboard faces 2020-01-02 23:18:19 -05:00
d426349f21 ui/zen: add +zen-text-scale variable 2020-01-02 21:54:28 -05:00
ec7a067109 Enable ligatures on emacs-mac if pretty-code is enabled
No longer necessary to enable a font ligature flag for it.
2020-01-02 21:16:02 -05:00
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
10f7c9fbcc ispell-dictionary = en_US
Set a default so we at least don't get stringp errors on startup.
2020-01-02 21:16:02 -05:00
7f654f1566 Bind SPC s {t,T} for dictionary/thesaurus lookups 2020-01-02 21:16:01 -05:00
8f6161f480 Generalize lookup thing-at-pt fn; fix dict/synonym commands 2020-01-02 21:16:01 -05:00
6938f8b97d Fix references to old dictionary/thesaurus lookup commands
And pass word explicitly to powerthesaurus.
2020-01-02 20:04:20 -05:00
f313c77ac7 Merge pull request #2289 from r-darwish/lsp-code-action
Add evil binding to lsp-execute-code-action
2020-01-02 19:57:15 -05:00
39fcf6be78 Merge pull request #2292 from howsiwei/smartparens
Enable smartparens-mode in pp-eval-expression
2020-01-02 19:56:49 -05:00
7f8ad38372 Merge pull request #2295 from seanfarley/patch-1
irc: fix logic for creating a workspace
2020-01-02 19:56:29 -05:00
5fe658e583 Rename synonym/dictionary definition lookup commands 2020-01-02 19:53:49 -05:00
56ef4d8800 Use powerthesaurus-lookup-word-dwim in +lookup/word-synonyms 2020-01-02 19:52:10 -05:00
dca166f79c irc: fix logic for creating a workspace
The `+workspace-switch` logic takes care of the check, so let's remove
it.
2020-01-02 15:51:05 -08:00
a9763fe76b Fix vestigial reference to +org-attach/uri 2020-01-02 16:22:52 -05:00
91665df40b bindings: default emacs up to the state of the art
Added `toggle` (C-c t), `code` (C-c c), `open` (C-c o) and `insert` (C-c i) bindings.
Moved org bindings from the `C-c o` to the `C-c n` prefix.
Updated the `file` (C-c f) and `quit` (C-c q) bindings.
Removed the `terminal` bindings, now under `open` (C-c o).
Removed standalone bindings for the REPL (now under `open` (C-c o)).
2020-01-02 18:32:20 +01:00
da8bce53bc Enable smartparens-mode during pp-eval-expression 2020-01-03 00:21:01 +08:00
37ba1d8864 Bind 'SPC b {m,M}' & 'SPC s m' to bookmarks
And move former 'SPC s m' (evil-show-marks) to 'SPC s r', since it is
slightly less useful do to evil having native keys for jumping to marks:
` ' and :marks
2020-01-02 04:52:30 -05:00
647750c18c Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
13e2eefae1 Move org-id-locations-file to org-directory
It makes more sense to store this file where you keep your org files,
rather than in Doom's .local files, which could be deleted for
debugging, or local only to a specific machine.

Also make ID links relative to org-directory, in case you use the same
org library on a different system with different filesystem
layout/system of symlinks.
2020-01-02 04:52:30 -05:00
3661406e74 Add evil binding to lsp-execute-code-action 2020-01-02 11:36:10 +02:00