Commit graph

1486 commits

Author SHA1 Message Date
Henrik Lissner
9dd88e5924
Move c electric disabler to config/default
Because it is tied to the smartparens config, and we'll want this
behavior to extend to all C-derived modes (like csharp and php modes).
2019-02-18 15:36:44 -05:00
Henrik Lissner
94b16cba6c
Standardize REPL commands & improve SPC o r
- SPC o r now prompts for a REPL to open when none was found for the
  current buffer.
- REPL handlers must now follow the naming convention "*/open*-repl".
  e.g. +python/open-ipython-repl, +emacs-lisp/open-repl, etc.
- +eval/open-repl has been split in two:
  - +eval/open-repl-other-window
  - +eval/open-repl-same-window
2019-02-18 01:59:56 -05:00
Henrik Lissner
ec55884aae
General, minor reformatting & refactor 2019-02-18 00:47:46 -05:00
Henrik Lissner
3b1305b66f
lang/lua: lazy load lua-mode 2019-02-16 19:03:45 -05:00
Henrik Lissner
a9f2aadd94
Merge pull request #1142 from gsnewmark/add-descriptions-to-clojure-mode-map
Add descriptions for clojure-mode map
2019-02-16 01:21:44 -05:00
Henrik Lissner
4064d399d6
Merge pull request #1143 from gsnewmark/fix-clojure-mode-lookup-handlers
Fix Clojure mode lookup handlers
2019-02-16 01:19:35 -05:00
Henrik Lissner
81e30dc13c
lang/ess: add basic evil support to ess-help-mode 2019-02-15 20:32:37 -05:00
Henrik Lissner
2d0f250241
lang/ess: fix keymaps prefixes
They may not be loaded when bound.
2019-02-15 20:25:21 -05:00
Henrik Lissner
0edeafadcf
lang/julia: operator highlights for ess-julia-mode
And adjust REPL handler to return the repl buffer.
2019-02-15 19:43:13 -05:00
Henrik Lissner
4c4c0a451f
lang/ess: remove redundant line-number display hook
`display-line-numbers-mode` is already in prog-mode-hook and ess-mode is
derived from prog-mode.
2019-02-15 19:43:13 -05:00
Henrik Lissner
a246a90565
lang/ess: fix repl & doc lookup in ESS R/Julia
Also moves history files into doom-cache-dir
2019-02-15 19:43:13 -05:00
Henrik Lissner
2054f6b35a
lang/php: include composer files with phpactor 2019-02-14 00:40:19 -05:00
Henrik Lissner
60df01714e
lang/cc: more type safety when reading compile options #1168
It was possible that +cc-default-compiler-options and/or
irony--compile-options could contain a nil, causing stringp type errors.
2019-02-14 00:40:19 -05:00
Henrik Lissner
01a166d5f0
lang/rust: fix async docs lookup handler #1155 2019-02-11 14:42:28 -05:00
Henrik Lissner
c13fd6eddc
lang/org: fix C/s-RET keybinds for evil users 2019-02-11 14:11:52 -05:00
James Conroy-Finn
c166f075a3
Add missing variable name
This enables compilation of the Ruby module where previously the
following error would cause a breaking error.

    ../../../lang/ruby/autoload.el:48:45:Error: &rest without variable name
    ✕ Failed to compile modules/lang/ruby/autoload.el
2019-02-10 21:57:47 +00:00
Edmund Miller
faf217b0de
Require solidity packages
They're on Melpa individually for whatever reason though they're in the
solidity-mode repo.
2019-02-06 19:56:22 -06:00
Henrik Lissner
b461c99d86
lang/org: fix C-RET/s-RET in org-mode #1146 2019-02-03 18:51:55 -05:00
Ivan Kryvoruchko
bab37d3047
Fix Clojure def/doc lookup handlers, add references one 2019-01-26 15:34:32 +02:00
Ivan Kryvoruchko
6750c84af5
Add descriptions for clojure-mode map 2019-01-26 15:06:14 +02:00
Henrik Lissner
7ca2b42d2b
lang/lua: set default indent = tab-width
Because it's original default was 3. Madness.
2019-01-25 03:10:28 -05:00
Henrik Lissner
a337c1bd4e
lang/org: generalize newline keys
To make them available to both emacs/evil users.
2019-01-22 19:29:13 -05:00
Henrik Lissner
24b4d24d18
Fix #1127: errant entry in org-structure-template-alist
Caused an error when org-insert-structure-template is called in
org-mode.
2019-01-21 22:35:49 -05:00
Henrik Lissner
6bbc095694
Merge pull request #1128 from ar1a/nix-indent
set nix-indent-function to #'nix-indent-line
2019-01-21 22:24:34 -05:00
Aria Edmonds
8e4635bdc8 set nix-indent-function to #'nix-indent-line 2019-01-22 10:44:05 +11:00
Henrik Lissner
99e916348a
lang/java: fix java namespace resolution #1098
Now uses slightly more sophisticated namespace resolution when
populating the *.java file template.
2019-01-21 17:39:39 -05:00
Henrik Lissner
ed26b59e1d
Merge pull request #1126 from ar1a/dante
lang/haskell: fix dante completion
2019-01-20 15:24:07 -05:00
Henrik Lissner
d46eaeddbf
Merge pull request #1100 from mbger/doc/cc
lang/cc Add known issues with bear to readme
2019-01-20 14:23:00 -05:00
Henrik Lissner
7251b50b35
Make bear-macos issue a sub-tree
Since it is directly relevant to the project-compile-settings section.
2019-01-20 14:22:45 -05:00
Aria Edmonds
d68ecb7636 lang/haskell: fix dante completion 2019-01-21 06:21:09 +11:00
Henrik Lissner
4b62f1215e
Merge pull request #1104 from UndeadKernel/fix-ipython_async
org: let ob-async ignore ob-ipython
2019-01-20 14:16:38 -05:00
Henrik Lissner
9a8f3070a6
Merge pull request #1119 from mfiano/patch-3
common-lisp module: Added keybind to quit sly-xref-mode windows
2019-01-20 14:10:51 -05:00
Henrik Lissner
195212f71c
Merge pull request #1118 from mfiano/patch-2
common-lisp module: Fix sly-db button binding
2019-01-20 14:10:16 -05:00
Henrik Lissner
2f42d93988
Merge pull request #1117 from mfiano/patch-1
common-lisp module sly-db-quit fix
2019-01-20 14:10:08 -05:00
Michael Fiano
a183fcddf5
common-lisp module: Added keybind to quit sly-xref-mode windows 2019-01-14 20:48:03 -05:00
Michael Fiano
ddc0c1fc21
common-lisp module: Fix sly-db button binding 2019-01-14 20:07:41 -05:00
Michael Fiano
b7de17aecd
common-lisp module sly-db-quit fix
The `q` binding for `sly-popup-buffer-mode-map` was overriding `sly-db-mode`'s binding, causing lots of issues.
2019-01-14 19:54:17 -05:00
Henrik Lissner
d7f10cbcbd
lang/cc: fix brace-list argument block indentation
Should be

fn({
    ...
})

Instead of

fn({
        ...
    })
2019-01-14 00:50:33 -05:00
Henrik Lissner
957aa9c63e
lang/cc: make ffap aware of irony include paths 2019-01-14 00:49:58 -05:00
UndeadKernel
5d4dec996f org: let ob-async ignore ob-ipython
ipython implements its own `async` keyword. As ob-async is loaded now by
default, we need to explicitly tell ob-async not to touch ob-ipython blocks.
2019-01-09 14:14:39 +01:00
Henrik Lissner
069c196330
Appease byte-compiler senpai
Please notice me
2019-01-08 20:54:03 -05:00
Henrik Lissner
7645f843ac
lang/javascript: mode-name = JS2
A shorter name looks nicer in the modeline.
2019-01-08 00:38:05 -05:00
Henrik Lissner
37cb0e178c
Make set-lookup-handlers! additive
Consecutive calls to set-lookup-handlers! would redefine *all* lookup
handlers, unsetting unspecified ones, so you were forced to redefine all
handlers, even if you only wanted to change one. No more. Its side
effects are now additive.

Also adds :async handler support, however, due to their nature, they
cannot fall back to other handlers (there's no reliable way to detect
they worked or not).

To get around this, write a blocking wrapper around the old async method
and register it as a non-async handler.
2019-01-08 00:33:38 -05:00
mbger
e02cde1195 :lang cc Add known issues section for macOS 2019-01-07 19:28:59 +01:00
Henrik Lissner
9916025d5c
lang/cc: rewrite README 2019-01-05 19:46:14 -05:00
Henrik Lissner
681145e6b5
Defer tide-mode init until file exists
This ensures that tide-mode won't activate for file-less JS buffers,
which are error prone. But once the file is saved, it will consider
activating itself.
2019-01-05 17:49:04 -05:00
Henrik Lissner
b56639e31b
Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
Henrik Lissner
9f249de569
lang/latex: remove +latex-bibtex-file
An unnecessary layer of abstraction on top of two straight-forward
variables, reftex-default-bibliography and
bibtex-completion-bibliography.
2019-01-05 17:46:37 -05:00
Henrik Lissner
c3c9c01bad
lang/latex: rewrite README 2019-01-05 17:45:42 -05:00
Henrik Lissner
379a45978c
lang/clojure: remove :n from cjr-help-menu hydra
They're ignored anyhow.
2019-01-05 15:05:49 -05:00