nam3less
18c50cbe1c
Added evil integration to haskell-mode
...
Overwrite the 'o' and 'O' normal mode commands to correctly indent
new lines.
Code was adapted from: https://github.com/haskell/haskell-mode/issues/1265
2020-01-11 00:42:18 +01:00
Henrik Lissner
24652f26de
Bind s-RET/s-S-RET/s-M-RET for mac users
2020-01-10 05:00:08 -05:00
Henrik Lissner
4acd60aba3
Update lsp-python-ms config to reflect changes upstream
...
mspyls should be installed with M-x lsp-install-server from now on.
2020-01-10 04:59:01 -05:00
Henrik Lissner
cffa3caac4
Fix 'SPC m r O' keybind in org-mode
2020-01-09 22:56:26 -05:00
Henrik Lissner
558e906b2b
Add 'SPC m r f' for refiling to specific org file
2020-01-09 15:59:58 -05:00
Henrik Lissner
3c1eda7da2
Merge pull request #2318 from jcf/cider-refresh
...
Use newer cider-ns-refresh in Clojure bindings
2020-01-08 00:36:42 -05:00
Henrik Lissner
a0172fcee0
Merge pull request #2324 from dinkonin/develop
...
lang/sh: add +lsp feature
2020-01-08 00:36:14 -05:00
Edmund Miller
90096239af
fix: use org-capture-projects-file
2020-01-07 16:06:51 -06:00
Dinko
3530f19ef5
Add lsp support to sh-mode.
2020-01-07 14:50:13 +02:00
Henrik Lissner
062cc4aea5
Notify straight that package was modified
...
When you edit its files.
2020-01-06 22:49:54 -05:00
Henrik Lissner
b7c5152f3a
lang/org: C-M-RET = org-insert-subheading
2020-01-06 16:21:22 -05:00
James Conroy-Finn
21c55b0c43
Use newer cider-ns-refresh in Clojure bindings
...
Cider deprecated `cider-refresh` in favour of `cider-ns-refresh` in
version 0.18.
https://github.com/clojure-emacs/cider/blob/master/CHANGELOG.md#changes-6
2020-01-06 16:57:26 +00:00
Henrik Lissner
14552bc66b
Fontify latex script & entities in org-mode
2020-01-05 21:17:34 -05:00
Henrik Lissner
d18e298a9e
Merge pull request #2300 from sunesimonsen/patch-1
...
Fix source code highlighting when using marked.js
2020-01-05 20:10:51 -05:00
Henrik Lissner
55d9df3c39
Merge pull request #2306 from brotzeit/fix-message
...
Fix typo in rustic setup message
2020-01-05 20:09:57 -05:00
Henrik Lissner
cd3f1399af
Fontify latex blocks natively
2020-01-05 19:08:11 -05:00
Henrik Lissner
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
brotzeit
8bed16eb72
fix message
2020-01-04 12:49:43 +01:00
Sune Simonsen
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
Henrik Lissner
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
Henrik Lissner
195dfda045
Minor refactors & comment revision
2020-01-02 21:16:02 -05:00
Henrik Lissner
a9763fe76b
Fix vestigial reference to +org-attach/uri
2020-01-02 16:22:52 -05:00
Henrik Lissner
647750c18c
Add org heading support to bookmark.el
2020-01-02 04:52:30 -05:00
Henrik Lissner
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
Henrik Lissner
d84df72364
Dumb indent on TAB when in middle of subtree
2020-01-01 21:19:22 -05:00
Henrik Lissner
07823d00a7
Fix yasnippet expansion in org src blocks
...
This is hacky, and causes weirdness with org-bullets-mode, but it works.
2020-01-01 21:19:22 -05:00
Henrik Lissner
5929e5b75a
Add undefadvice! macro for rotate-text convenience
2020-01-01 19:34:33 -05:00
Henrik Lissner
33701ea407
Prevent packages from pulling in org
...
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
Henrik Lissner
960d756b47
General, minor refactors
2019-12-30 18:23:56 -05:00
Henrik Lissner
b9f90b3a1a
lang/org: clear src block results on TAB
...
When cursor is inside a src block. e.g.
#+BEGIN_SRC elisp <-- not here
(message "hi") <-- in here
#+END_SRC <-- not here
2019-12-30 00:07:19 -05:00
Henrik Lissner
db9bc763ef
Remove redundant straight-fix-org setting
...
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
Henrik Lissner
14cf97e594
lang/org: use org-attach instead of custom system
...
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
attached)
- org-attach-use-inheritance = t (inherit attachment properties from
parent nodes)
2019-12-29 16:31:25 -05:00
Henrik Lissner
dafa4deef4
lang/python: autoload lsp-python-ms setup/update commands
...
And set lsp-python-ms-python-executable-cmd a little sooner, to make it
easier for folks to change.
2019-12-28 13:52:15 -05:00
Henrik Lissner
566d54d984
Disable continue-comments-on-RET in ess-r-mode & coq-mode
...
Fixes #2081 , #2233
2019-12-27 13:32:24 -05:00
Henrik Lissner
e5fa19ea2d
lang/emacs-lisp: fix wrong-num-args error on doc lookup
2019-12-27 04:44:20 -05:00
Henrik Lissner
0be4972257
Merge pull request #2254 from r-darwish/java-workspace
...
lang/java: move lsp-java-workspace-dir to doom-etc-dir
2019-12-26 15:11:02 -05:00
Henrik Lissner
5c45a9eff9
Fall back to typescript-mode for *.tsx #2252
2019-12-26 15:00:44 -05:00
Roey Darwish Dror
1c7ba9d2cb
Set the directory for the Java LSP workspace
2019-12-26 14:31:51 +02:00
Henrik Lissner
fe1642e854
Add special goto def/docs support in doom! blocks
...
- Pressing gd on a module in your doom! block will now browse that
module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
within that module's documenation.
- This is now explained in init.example.el
Closes #2249
2019-12-26 01:41:45 -05:00
Henrik Lissner
44fcbb52dc
Change format of doom-large-file-size-alist
...
Instead of mapping major modes to file size thresholds, it maps file
regexps (like auto-mode-alist) since the major mode cannot be known
before set-auto-mode is called (in after-find-file).
2019-12-25 02:13:53 -05:00
Henrik Lissner
14c87e6943
lang/org: fix some ob packages not loading #2241
2019-12-24 16:40:57 -05:00
Henrik Lissner
4d5459699a
Merge pull request #2232 from ashiklom/ess-cleanup
...
lang/ess: fix deprecated variables
2019-12-24 14:35:33 -05:00
Henrik Lissner
a28de332fc
lang/kotlin: add basic README #1166
2019-12-24 13:09:14 -05:00
Alexey Shiklomanov
29905c1496
Fix deprecated ESS variables
...
- `ess-smart-S-assign-key` and `ess-expression-offset` are deprecated variables
- `ess-default-style` has been replaced with `ess-style`
2019-12-23 16:34:43 -05:00
Henrik Lissner
5ecf206681
lang/org: remove select-frame-set-input-focus hack
...
Thanks to 3583e1f2e
, this is no longer necessary.
2019-12-22 23:53:04 -05:00
Henrik Lissner
213a6fda86
General refactors & reformatting
2019-12-22 23:53:04 -05:00
Henrik Lissner
327d359fd3
lang/python: silence errors when python isn't present
2019-12-22 23:53:04 -05:00
Henrik Lissner
56ccb0dbef
lang/org: load jupyter.el & add jupyter-* to org-src-lang-modes #2198
2019-12-22 00:02:26 -05:00
Henrik Lissner
a0425d0df7
lang/rust: add eglot docs & inhibit package.el usage #2195
2019-12-21 14:15:20 -05:00
Henrik Lissner
a15ab4a3f2
lang/web: add bang to :enhtml & :dehtml
...
BANG = copy result to clipboard instead of inserting into buffer.
2019-12-20 23:04:07 -05:00