Commit Graph

8036 Commits

Author SHA1 Message Date
bef0f39535 lang/clojure: conform command to naming convention
Interactive commands in doom follow the `+module/name` naming convention. `+module|name` is used for hook functions.
2018-10-16 02:07:00 -04:00
8971e0bf23 Merge pull request #964 from syvanpera/add-vala-mode
Add vala-mode
2018-10-16 02:04:20 -04:00
4fc7de442e lang/clojure: group & update evil integration
Also removes evil-normalize-keymaps on cider-repl-mode-hook, because cider-repl-mode isn't a minor mode. The purpose of evil-normalize-keymaps is to ensure evil is aware of evil keybinds in minor-mode keymaps when it is first enabled.
2018-10-16 02:03:23 -04:00
a25257d8da lang/clojure: remove fuzzy completion for company
I prefer that fuzzy search is disabled by default, for consistency and performance. Fuzzy search tends to be much significantly slower, and no other company backend offers a fuzzy search mechanism (or should).

Fuzzy search is usually gated behind variables and flags, but since opting in here is a trivial one-liner, I don't think it needs one.
2018-10-16 01:55:38 -04:00
90140f1ab5 Add vala-mode 2018-10-16 06:22:34 +03:00
bd1f2ec4d6 lang/clojure: More changes
- Add a popup rule for the history buffer, since we want to see the REPL change while it's open
- Add hooks to enable company fuzzy completion
- Add more cider configuration options
- Configure Shift-Return to insert a newline and indent in the REPL without submitting the result
- Bind normal state keybindings for the CIDER history buffer
2018-10-15 23:08:59 -04:00
76da5b44d1 Merge pull request #905 from edwintorok/ocaml
OCaml module improvements
2018-10-15 22:45:39 -04:00
8577804a03 Merge pull request #945 from patrl/capture-tweaks
Capture template tweaks
2018-10-15 22:44:52 -04:00
53cf2b4e2b Restore space in personal todo checkbox 2018-10-15 22:44:39 -04:00
9e1cba0957 Merge pull request #950 from theSuess/feature-terraform
Added feature terraform
2018-10-15 22:43:49 -04:00
0ea5ba5f68 Merge pull request #961 from mfiano/develop
lang/clojure: add binding to switch/set namespace
2018-10-15 22:42:52 -04:00
5ad27da2f1 lang/clojure: add binding to switch/set namespace
Add a local leader keybinding to both switch to the CIDER REPL buffer and set the namespace according to the file buffer.
2018-10-15 18:43:56 -04:00
8a2b241b0b Merge pull request #1 from hlissner/develop
Develop
2018-10-15 18:22:33 -04:00
f2de08d799 lang/common-lisp: move mrepl history file
To doom-cache-dir.

Credit to @mfiano
2018-10-15 16:22:53 -04:00
db7632b2b6 lang/clojure: persist cider repl history
Credit to @mfiano
2018-10-15 16:22:53 -04:00
cade77e4a9 lang/clojure: bind cider-jack-in to clojure-mode
cider-quit kills cider-mode, rendering cider-mode-map keybinds
unavailable, so these commands have been moved to clojure-mode-map, to
ensure they're always available.

Reported by @mfiano
2018-10-15 16:22:53 -04:00
064579e33e Improve ocaml language support
See README.org.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-15 20:37:58 +01:00
7cb1e489dc Revert personal TODO back to checkbox in capture template 2018-10-15 13:39:24 +02:00
476782e6d4 Merge pull request #959 from theSuess/develop
Updated documentation to use better gocode fork (again)
2018-10-15 03:29:08 -04:00
12ea77f937 Updated to prefered gocode fork (again) 2018-10-15 09:26:47 +02:00
6e057d53d8 autoload company-terraform 2018-10-15 09:19:21 +02:00
9a3e48d65a added company-terraform 2018-10-15 09:12:01 +02:00
0a1f42e25d Merge pull request #915 from myme/develop
Haskell + PureScript module improvements
2018-10-15 01:05:29 -04:00
afb883409a Merge pull request #896 from wildsebastian/develop
Deactivate expansion of abbreviations (ProofGeneral/Coq)
2018-10-15 01:03:54 -04:00
63a5c4239a lang/javascript: update tide project resolution
To match projectile changes upstream. Fixes an error when opening an
arbitrary JS file in a non-project root.
2018-10-15 00:50:39 -04:00
1c847402c4 lang/clojure: fix eldoc support in clojure-mode 2018-10-15 00:50:39 -04:00
b143d6c9f6 Merge pull request #937 from mfiano/develop
Some small additions to the common-lisp and clojure lang modules.
2018-10-15 00:25:52 -04:00
950f1bf53a Merge pull request #933 from theSuess/develop
Updated documentation to use better gocode fork (supports Go 1.11+)
2018-10-15 00:25:26 -04:00
3155fb27c0 Merge pull request #939 from zaiste/fix-deadgrep-fold
Allow `deadgreap` folding in normal mode
2018-10-15 00:24:48 -04:00
efed58fcc8 Merge pull request #948 from patrl/org-pdfview
Open org links with `pdf-view-mode` (with `:tools pdf`)
2018-10-15 00:15:20 -04:00
b1f249afab lang/org: lazyload & refactor org-pdfview 2018-10-15 00:14:27 -04:00
e9608ab939 doom-project-find-file: unset projectile-project-root
Instead of setting it default-directory, which can cause symlink
resolution issues.
2018-10-14 23:59:26 -04:00
0bb06f052e Fix dashboard hiding files opened via emacsclient 2018-10-13 13:28:13 -04:00
ce6e34aff0 completion/ivy: fix +helm/grep* commands
They weren't being defined, since grep is not in
+ivy-project-search-engines.
2018-10-13 13:26:59 -04:00
752b92570d lang/latex: defconst -> defvar #955
Allow +latex-viewers to be set sooner.
2018-10-12 14:20:45 -04:00
0ebf526e01 Fix doom/info omitting first module in each category
Discovered in #941
2018-10-12 14:07:25 -04:00
765ca10a92 Fix set-pretty-symbols! with multiple modes
(set-pretty-symbols! '(c-mode c++-mode objc-mode) RULES*)

This fixes a logic bug that prevented RULES from applying to any but the
first mode in the list (e.g. only c-mode will be affected).
2018-10-11 16:06:25 -04:00
73f99a1a26 Added keybinds 2018-10-11 17:32:54 +02:00
9fd5b7d0ed Added terraform mode 2018-10-11 17:19:35 +02:00
623195e312 Checkboxes -> TODOs 2018-10-11 10:41:39 +02:00
251e9c0244 When :tools pdf is enabled, open org links to pdfs with pdf-view-mode 2018-10-10 22:00:30 +02:00
b59a27a160 Built-in capture templates add a link to the file from where capture was initiated 2018-10-10 17:36:25 +02:00
b4f0d60894 fix: allow deadgreap folding in normal mode 2018-10-08 18:37:13 +02:00
215ef4595c Added cider config and key bindings 2018-10-07 22:20:18 -04:00
5735a994e0 Do not display debugger or inspector buffers in a popup window. 2018-10-07 21:50:46 -04:00
cdf745e72a map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
f0465f22cc tools/magit: fix +magit/quit & default display fn
When used with magit-display-buffer-traditional, q wouldn't close the
window, just kill the buffer inside.
2018-10-07 11:12:51 -04:00
b89fcd8726 Replace Coq-Mode abbreviations with yasnippet
Since ProofGenerals abbreviation usage interfers with
evil-mode, this empties the abbreviation table of coq-mode.
The abbreviations got transformed into yasnippet snippets
and put into hlissner/emacs-snippets#4.
2018-10-07 09:18:25 +02:00
a078e3f4b2 lang/common-lisp: fix sly-mode localleader keys
This fixes a bug that caused evil keybinds on sly-mode-map to be
inaccessible until you switched states.
2018-10-07 00:47:14 -04:00
ba93402dcc lang/python: fix typo in +python-version
Thanks to @ztlevi
2018-10-07 00:46:50 -04:00