Commit Graph

2386 Commits

Author SHA1 Message Date
33701ea407 Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
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
db9bc763ef Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
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
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
566d54d984 Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
2019-12-27 13:32:24 -05:00
e5fa19ea2d lang/emacs-lisp: fix wrong-num-args error on doc lookup 2019-12-27 04:44:20 -05:00
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
5c45a9eff9 Fall back to typescript-mode for *.tsx #2252 2019-12-26 15:00:44 -05:00
1c7ba9d2cb Set the directory for the Java LSP workspace 2019-12-26 14:31:51 +02:00
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
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
14c87e6943 lang/org: fix some ob packages not loading #2241 2019-12-24 16:40:57 -05:00
4d5459699a Merge pull request #2232 from ashiklom/ess-cleanup
lang/ess: fix deprecated variables
2019-12-24 14:35:33 -05:00
a28de332fc lang/kotlin: add basic README #1166 2019-12-24 13:09:14 -05:00
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
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
213a6fda86 General refactors & reformatting 2019-12-22 23:53:04 -05:00
327d359fd3 lang/python: silence errors when python isn't present 2019-12-22 23:53:04 -05:00
56ccb0dbef lang/org: load jupyter.el & add jupyter-* to org-src-lang-modes #2198 2019-12-22 00:02:26 -05:00
a0425d0df7 lang/rust: add eglot docs & inhibit package.el usage #2195 2019-12-21 14:15:20 -05:00
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
27cabea6b6 Fix gs in org-mode #2218
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
2019-12-20 13:40:06 -05:00
494e431f04 lang/org: install org-brain
Whoops!
2019-12-20 02:44:20 -05:00
73d975de6c lang/org: make C-RET create headings instead of error 2019-12-20 02:13:11 -05:00
322bca710a General refactors & reformatting 2019-12-20 00:59:52 -05:00
f561abff64 Merge pull request #2205 from niklascarlsson/update_doctor_prescription
lang/plantuml: update doctor prescription
2019-12-19 18:47:00 -05:00
52f04619a4 Merge pull request #2210 from jhacksworth/clojuredocs
lang/clojure: grimoire -> ClojureDocs
2019-12-19 18:46:03 -05:00
9647cb0a49 lang/org: add +brain feature
No keybinding yet.
2019-12-19 18:42:37 -05:00
95e80b00da lang/org: also require jupyter-* libs w/ ob-jupyter
Relevant to #2198
2019-12-19 18:42:05 -05:00
c81b8445c4 lang/org: activate ob-ammonite on amm blocks
Instead of scala blocks.
2019-12-19 15:04:05 -05:00
bc44ae0beb lang/org: add ob-ammonite 2019-12-19 14:51:34 -05:00
af948ca390 lang/org: refactor babel loaders & fix jupyter loader #2198 2019-12-19 14:48:13 -05:00
f7acdc43f4 lang/clojure: Update to cider-clojuredocs
CIDER removed `cider-grimoire-web` as Grimoire is no longer available,
and now uses ClojureDocs:
- https://metaredux.com/posts/2019/06/29/farewell-grimoire.html
- https://github.com/clojure-emacs/cider/issues/2663
2019-12-18 15:25:35 -05:00
c483a7f7bd lang/agda: load agda2 if +local #2203 2019-12-18 10:12:41 -05:00
bad4dfcd61 Update plantuml doctor prescription
This patch changes the recommendation from +plantuml/install to
plantuml-dowload-jar, when the plantuml.jar can't be found. The command
+plantuml/install has been removed in a previous patch.
2019-12-18 15:33:26 +01:00
74d4e120c1 lang/org: fix & alphabetize flags in readme & module list 2019-12-18 09:23:21 -05:00
f95ab47239 lang/agda: add +local flag & :nonrecursive to recipes
Relevant to #2203
2019-12-17 15:28:34 -05:00
17d0833af1 lang/org: fix jupyter babel loader #2198 2019-12-17 15:28:34 -05:00
e782ef1d97 lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default

Relevant to #2198
2019-12-16 19:25:50 -05:00
3b2a37d9a1 lang/org: noop org-babel-do-load-languages
It's redundant with Doom's lazy loader. Remove
+org-init-babel-lazy-loader-h from org-load-hook if you want to use it.
2019-12-16 17:05:11 -05:00
9e7cdd04da fix doc for enabling rust analyzer 2019-12-16 18:32:09 +01:00
98e2fecf43 Merge pull request #2180 from rakanalh/python-isort
lang/python: add py-isort, remove pyimpsort
2019-12-15 23:42:54 -05:00
ea632fc530 lang/rust: use lsp-rust instead of rustic-lsp
lsp-rust is supposedly superior, and doesn't assume anything about our
package management system like rustic does.

Relevant to #2195
2019-12-15 22:48:52 -05:00
c522ca4fc0 Minor refactors & cleanup 2019-12-15 15:53:28 -05:00
304af70000 Update optimize import to use py-isort 2019-12-15 16:50:31 +01:00
a64b3bdceb Add an entry in the readme for the isort prequisite 2019-12-15 16:50:31 +01:00
eeafec2df0 Make isort default python import sorting package 2019-12-15 16:50:30 +01:00
7d09921a29 Add isort feature to readme 2019-12-15 16:50:24 +01:00