Commit graph

3238 commits

Author SHA1 Message Date
Henrik Lissner
a2feac51b2
lang/crystal: add inf-crystal 2018-02-06 02:23:30 -05:00
Henrik Lissner
0780c16f92
lang/org: tie babel plugins to their respective lang modules 2018-02-06 02:23:30 -05:00
fuxialexander
31e2968d54 Add: ESS module 2018-02-06 02:18:49 +08:00
fuxialexander
0a655e4f52 Add: +skim as pdf viewer 2018-02-05 10:32:18 +08:00
Henrik Lissner
fb5fbf69dc
lang/csharp: clean up omnisharp server when killing last csharp-mode buffer 2018-02-04 05:32:43 -05:00
Henrik Lissner
64d0e28f80
lang/csharp: add bare bones readme 2018-02-04 05:20:28 -05:00
Henrik Lissner
36c8db67b4
lang/csharp: remove vestigial setup.sh 2018-02-04 05:05:40 -05:00
Henrik Lissner
6650dcf6e7
lang/csharp: fix omnisharp server integration 2018-02-04 05:05:40 -05:00
Henrik Lissner
169cd809bc
lang/org: add more org links & abbrevs
New org, doom, doom-module and doom-docs links, with completion and
non-existing file highlights.
2018-02-03 06:27:31 -05:00
Henrik Lissner
7e21d66bf7
lang/org: fix opening file links 2018-02-03 06:10:32 -05:00
Henrik Lissner
d714be0a16
lang/org: +org/insert-item: unhide if point lands in invisible region 2018-02-02 23:57:26 -05:00
Henrik Lissner
8c5286f2dc
lang/sh: silence indentation messages 2018-02-02 20:47:34 -05:00
Henrik Lissner
2d641bb059
lang/org: refresh ui settings when theme is changed 2018-02-02 20:47:33 -05:00
Henrik Lissner
11e2e1b55e
lang/org: toc-org-hrefify-default = org
gh-style links don't work in from within Emacs as well.
2018-02-02 20:47:33 -05:00
Henrik Lissner
eaeb495b18
lang/go: show annotations in code-completion popups 2018-02-02 20:47:32 -05:00
Henrik Lissner
ec7f20589a
lang/go: don't popup gofmt errors (use flycheck instead) 2018-02-02 03:00:57 -05:00
Henrik Lissner
5cb75da7e0
lang/org: fix +org/insert-item single-line buffer edge-case 2018-02-02 02:34:46 -05:00
Henrik Lissner
97d0ff0966
lang/org: fix cursor placement after M-RET in tables 2018-02-02 02:25:49 -05:00
Henrik Lissner
53b7297c6d
lang/org: fix M-RET not adjusting number bullets #390 2018-02-02 02:25:49 -05:00
Henrik Lissner
0fba37a1a1
lang/org: refactor +export; improve central export logic
Will use centralized export location only for exports that don't provide
an explicit export location.
2018-02-01 16:36:55 -05:00
Henrik Lissner
32754a6d07
lang/org: fix html export by installing htmlize package 2018-01-31 14:32:52 -05:00
Henrik Lissner
4dbca5b21f
lang/python: kill anaconda processes after killing last python buffer 2018-01-31 05:33:26 -05:00
Henrik Lissner
15da107e04
lang/php: basic :lookup support & don't warn about missing phpctags
Only adds :documentation support for now.
2018-01-28 21:36:48 -05:00
Henrik Lissner
45a490882f
lang/web: open templates/.+\.php$ in web-mode 2018-01-28 20:38:14 -05:00
Henrik Lissner
0cc3b34fa2
lang/org: fix errors lazy-loading mismatched babel libraries
The ob-C.el library takes care of C, C++ and D. This modifies the babel
lazy-loader to take this into account. Name => library mappings are
defined in +org-babel-mode-alist.
2018-01-28 17:20:28 -05:00
Henrik Lissner
78cb47a072
lang/org: lazy-load babel libraries
Removes +org-babel-languages and no longer eagerly loads babel
libraries. If an ob-*.el exists for the language, it will be loaded once
you execute its src block.

Warning: this may interfere with tangling. An unloaded library can't
register a language extension in org-babel-tangle-lang-exts (if any).
This means babel won't be able to figure out the correct file extension
for certain src blocks.

Either load the package explicitly or provide a filename + extension for
the TARGET-FILE argument:

  (require 'ob-rust)
  (org-babel-tangle-file "notes.org")
  ;; or
  (org-babel-tangle-file "notes.org" "notes.rs")
2018-01-28 15:45:31 -05:00
Henrik Lissner
01a5e9a1d7
lang/org: fix uninstallable centered-window-mode package
Turns out centered-window-mode isn't in any ELPA repo. Was it removed?
I'm not sure, so it's now fetched directly from its github repo.
2018-01-28 15:44:58 -05:00
Henrik Lissner
294f858875
lang/data: enable flycheck-mode for json-mode 2018-01-28 04:29:10 -05:00
Henrik Lissner
acb77c8407
lang/web: conditionally define js sub-modes 2018-01-28 04:28:15 -05:00
Henrik Lissner
ac825754c6
lang/python: move :lookup setting to anaconda-mode block 2018-01-24 03:16:36 -05:00
Henrik Lissner
12ac162276
lang/python: set :company-backend sooner #369
company-anaconda was added to company-backends too late, causing
code completion not to work in first-time python buffers.
2018-01-24 03:15:49 -05:00
Henrik Lissner
0e392372df
lang/org: fix relative file attachments #370
Affected non-image files having one-too-many ../ in its path.
2018-01-24 02:20:31 -05:00
Henrik Lissner
6b164a6103
lang/csharp: adapt to :lookup 2018-01-19 04:17:19 -05:00
Henrik Lissner
2bfb4accf2
Merge pull request #348 from UndeadKernel/rtags-fix
Correctly report when rtags's client or server are not found.
2018-01-11 13:11:47 -05:00
UndeadKernel
c59f584444 Correctly report when rtags's client or server are not found. 2018-01-11 15:49:50 +01:00
Henrik Lissner
2b98e550e8
Reverse load-path to fix precedence issues
Originally, I built the load-path with site-lisp paths first, then
packages. There was a modest ~10% startup boost doing this, because
there were considerably more site packages loaded at startup than
plugins.

However, this meant built-in packages would get precedence over plugins,
which is undesirable. In org's case, I simply modified the load-path
in lang/org/init.el. However, this issue has cropped up again in #340.

Evidently, that 10% boost may not be worth the risk it imposes, so I've
rearranged the load-path with packages first.
2018-01-10 22:47:35 -05:00
Henrik Lissner
669b3cbbb0
lang/cc: fix void-function irony-mode error #341 2018-01-10 22:25:09 -05:00
Henrik Lissner
e571060063
Merge pull request #332 from UndeadKernel/latex_module
Latex module revamped
2018-01-10 04:16:27 -05:00
Henrik Lissner
4a8825e91d
Merge pull request #336 from Dragnucs/patch-1
Add Vue file to web mode
2018-01-10 04:15:46 -05:00
UndeadKernel
56a3c81778 Correct def-setting and use string-empty-p.
Change default ivy-bibtex behavior to insert bibliography.
2018-01-09 14:19:02 +01:00
Dragnucs
32c3dd847e
Add Vue file to web mode
Support `.vue` Vue.js files in web-mode.
2018-01-09 11:27:48 +00:00
Henrik Lissner
3dbf994871
lang/org: close agenda buffers after org-agenda
Experimental. Running org-agenda would leave leftover open buffers, this
hook cleans them up.
2018-01-08 20:42:43 -05:00
Henrik Lissner
6853196017
lang/org: general refactor; split init into hooks
lang/org's initialization process is now split up into hooks on
org-load-hook. This approach is cleaner and easier to customize. I also
removed the escape binding in org-agenda-mode-map, as the popup system
makes it redundant.
2018-01-08 20:41:56 -05:00
Henrik Lissner
d443aed25c
feature/eval: improve compatibility with feature/popups
This makes quickrun, *doom eval* and *Pp Eval Output* buffers behave
better.

Eval output buffers should a) shrink themselves to the size of their
output (within reason), b) *not* grab focus, and c) be easy to close
from afar with C-g/Escape.

Gotchas:

1. Quickrun gets output asynchronously, so we shrink it on
   quickrun-after-run-hook, not in the popup rule.
2. *doom eval* and *Pp Eval Output* opens with its output ready, so the
   popup system may shrink those to fit.
3. *doom eval* and *Pp Eval Output* handle window selection themselves.
   Let them by setting the select window parameter to #'ignore.
2018-01-08 17:30:54 -05:00
Undead Kernel
e91cb11243 Latex module revamped
Latex language module with previews, latexmk, reftex, bibtex and others.
Completion with company mode.
Selection of bibliography using Ivy or Helm.
Later preview panel or okular as viewers.
LatexMk for compiling code.
Prettified indentation with adaptive-wrap along with good indentation of environments.
Additional fontification of common commands.
2018-01-08 19:18:37 +01:00
Henrik Lissner
35594f0729
lang/org: fix todo(t) capture target (incorrect path) 2018-01-07 22:20:11 -05:00
Henrik Lissner
4024437cfb
lang/latex: don't forcibly hide modeline 2018-01-07 00:35:59 -05:00
Henrik Lissner
c0680e6fa3
lang/org: refactor load-path mods & don't forget it
Previously, Doom would forget lang/org's modification of the load-path
if you call doom//reload-load-path (which is called when you do package
management with an open Emacs session).

No more!
2018-01-07 00:15:58 -05:00
Henrik Lissner
31a4244686
Rethink what Doom loads at startup and manually
Better to simply load what we need, when we need it, rather than set up
autoloads for every litte thing.
2018-01-07 00:15:57 -05:00
Henrik Lissner
d738a8d13a
lang/org: fix unit test 2018-01-06 04:15:40 -05:00