Commit Graph

1220 Commits

Author SHA1 Message Date
e28fea3777 Fix clj-refactor bindings 2018-09-08 03:55:11 +03:00
10b22b9750 Merge rjsx-mode pretty-symbols with pre-existing 2018-09-03 23:56:25 +02:00
37b920f461 adds common js pretty symbols for rjsx-mode 2018-09-03 16:38:11 +02:00
b697ad982e lang/web: more sensible html-tidy formatter config
+ No longer inserts html/body tags unless they're detected in the buffer
+ Respect tab-width and indent-tab-mode
+ Don't auto-remove empty elements
2018-09-03 03:59:24 +02:00
3a23ff56cd General formatting & minor refactors 2018-09-02 17:20:19 +02:00
92cfcf3627 lang/elixir: conditionally install flycheck-credo
And register flycheck-credo after elixir-mode loads.
2018-09-01 16:17:52 +02:00
f52d76bccf Merge pull request #857 from qleguennec/npm-mode
adds npm-mode for javascript module
2018-09-01 13:40:02 +02:00
9bf90d4306 Merge pull request #853 from Strayer/add-flycheck-credo
Add flycheck-credo for lang/elixir
2018-09-01 13:21:38 +02:00
a188ba9a1e adds npm-mode for javascript module 2018-09-01 01:48:15 +02:00
0b64bc004f lang/nim: fix wrong-number-of-args error
Meant to use advice-add, not advice-remove
2018-08-31 16:07:33 +02:00
f30a210428 Add flycheck-credo for lang/elixir 2018-08-31 11:28:28 +02:00
3ff5c801a9 Merge pull request #822 from patrl/idris
:lang idris
2018-08-31 03:48:54 +02:00
cdb6c9077a Merge pull request #795 from hackeryarn/develop
added refactor shortcut to clojure
2018-08-31 03:44:15 +02:00
8dd33678bc Merge pull request #842 from myme/org-cal-nav
lang/org: Add evil-friendly calendar navigation
2018-08-31 03:35:11 +02:00
dd2e7c63a5 Merge pull request #838 from patrl/coqTweaks
Company-coq tweaks
2018-08-31 03:32:51 +02:00
f75381ae51 when not => unless 2018-08-31 03:32:25 +02:00
f95623989d lang/coq: remove unnecessary after!
For setting a variable, an after! block is overkill
2018-08-31 03:31:58 +02:00
a1a66f5445 lang/javascript: improve project file detection
+javascript-npm-mode now uses a better search for package.json, making
extra sure that your local node_modules folder is added to exec-path.
2018-08-31 02:53:50 +02:00
0cf9d1f2f2 Minor refactor & revision across the board 2018-08-31 02:53:50 +02:00
fd8f8c5108 feature/lookup: rewrite dash docset integration
+ Uses alist variable to store config, rather than hooks
+ Added check for installed docsets in +lookup/documentation
+ Set docsets for various language modules (c-mode, c++-mode, css-mode,
  scss-mode, sass-mode, web-mode, go-mode, racket-mode, emacs-lisp-mode,
  js2-mode, rjsx-mode, typescript-mode, rust-mode, and php-mode)
+ Made *eww* popups for dash docsets larger
+ Renamed set-docset! => set-docsets! (set-docset! is aliased to
  set-docsets!)
+ New +lookup/install-docset alias
2018-08-31 02:49:48 +02:00
2df2622329 lang/web/autoload/css: escape braces
Prevents auto-formatting of braces by tools like parinfer.
2018-08-31 02:40:15 +02:00
147fa794d3 lang/nim: fix invalid chars in nimsuggest tmp path 2018-08-30 23:36:32 +02:00
bfe7b9f1c4 lang/nim: fix invalid argument errors
The nimsuggest plugin tries to build a unique path for temporary files
for its flycheck checker. This path contains /tmp/emacs-nim-mode/A/B,
where A is the frame ID and B is the full path to the file being checked.

However, the original `nimsuggest--get-dirty-dir' incorrectly extracts
the frame ID from the string representation of `selected-frame' if
frame-title-format has been modified (which Doom has). The result is the
title of the frame, which can contain illegal path characters in
Windows, which in turn causes invalid argument errors when
`nimsuggest--make-tempdir' tries to use it.

This should really be reported upstream!
2018-08-30 22:35:25 +02:00
a7b87fe3de Add +emacs-lisp-enable-extra-fontification option 2018-08-30 20:41:54 +02:00
edc9bf70af Delete trailing whitespace, globally, by default
Also adds doom|disable-delete-trailing-whitespace hook, which can be
used to disable this behavior on a per-buffer basis. If you want to turn
off this global behavior:

  (remove-hook 'write-file-functions #'delete-trailing-whitespace)
2018-08-30 20:36:15 +02:00
fcf2a26329 lang/nim: fix blank nimsuggest-path stringp error 2018-08-30 19:42:57 +02:00
48948f725f Enable +javascript-npm-mode in rjsx-mode too 2018-08-29 17:17:01 +02:00
d24fce1dcd Fix void-variable org-capture-is-refiling error
In case org-capture.el isn't loaded when org-refile is used.
2018-08-29 16:45:09 +02:00
ee4d317293 lang/latex: improve smartparens compatiblity
Also fixes special quote insertion (mentionde in #485)
2018-08-28 01:27:56 +02:00
a4250afb49 lang/org: Add evil-friendly calendar navigation 2018-08-27 23:55:22 +02:00
953906ccdb Terminator triggers evaluation 2018-08-27 15:35:18 +02:00
f6e9b943fd Change ref function 2018-08-27 14:11:14 +02:00
5492315053 Added lookup handlers 2018-08-27 13:57:00 +02:00
d9f819dac4 Only make company features conditional 2018-08-27 12:57:07 +02:00
9b3442edae Removed hindent (included in format-all) 2018-08-27 12:05:03 +02:00
fb5d1ae739 Remove (unmaintained) helm-idris package 2018-08-25 16:22:04 +02:00
e64b8322a4 Added helm-idris 2018-08-25 15:35:06 +02:00
c514ad200a Remove web-beautify from javascript & web modules
Superceded by :editor format module, which uses prettier.
2018-08-25 00:06:13 +02:00
6a39b98f67 Trigger +javascript-npm-mode in json-mode too 2018-08-24 16:56:24 +02:00
c7abe743d1 lang/ruby: show messages when robe throws errors 2018-08-23 16:55:02 +02:00
f23960b919 lang/ruby: don't enable global-rbenv-mode
To be consistent with pyenv/virtualenvs; rbenv should be managed
manually, rather than trying to guess what the user wants.
2018-08-23 16:54:02 +02:00
742f9d23a2 Merge pull request #823 from patrl/moreCoq
Put company-coq behind conditional
2018-08-22 03:35:34 +02:00
c5334f61a3 Add lookup-handlers for idris-mode 2018-08-22 03:34:51 +02:00
f80b9bb8c5 Defer loading of idris-mode package 2018-08-22 03:33:12 +02:00
2694a42fdb lang/ledger: polish keybindings
Fixes #818
2018-08-22 02:35:55 +02:00
ecb01dbdfc lang/javascript: attempt more fontification 2018-08-22 02:20:25 +02:00
f51f2948af New :editor format module
Centralized code formatting with built-in support for a variety of
languages. Provides the set-formatter! function for defining your own.

Still experimental and needs more testing!
2018-08-22 02:20:11 +02:00
c7e6cb981b lang/cc: simplify add-hook! call 2018-08-21 23:15:54 +02:00
18a0b059d0 lang/ledger: fix S P C key sequence #818
Forgot to run doom-leader-key through kbd
2018-08-21 21:36:56 +02:00
dbca4eef12 Put company features behind conditional 2018-08-21 13:44:11 +02:00