Commit Graph

10068 Commits

Author SHA1 Message Date
Henrik Lissner
464ebabc2a
Add warning to doom/reload (SPC h R) 2019-08-28 12:40:59 -04:00
Henrik Lissner
cbd3a3b252
Fix #1697: use 2.0 branch for ensime package 2019-08-28 00:40:50 -04:00
Henrik Lissner
96e2a7726d
ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
Henrik Lissner
78d951bdb0
bin/doom-doctor: resolve symlinks in parent dir
As mentioned in #1718, this fixes an error loading autoload/format when
doom-doctor is called from outside EMACSDIR/bin (e.g. if it is
symlinked).
2019-08-28 00:40:50 -04:00
Henrik Lissner
29614a3187
Merge pull request #1693 from emil-r-petersen/fixup-shortcut
Add leader keybinds for magit-commit-fixup
2019-08-27 16:31:24 -04:00
Henrik Lissner
611786dd01
Merge pull request #1713 from rgrinberg/fix-agda
lang/agda: fix 'SPC m a' keybind (agda2-auto)
2019-08-27 16:28:54 -04:00
Henrik Lissner
880c581c0d
tools/direnv: add README 2019-08-27 12:50:10 -04:00
Henrik Lissner
8ee474889f
bin/doom-doctor: set default-directory
This prevents file errors when running the doctor from directories that
don't exist or you don't have permissions for.
2019-08-27 12:37:38 -04:00
Henrik Lissner
e6c3a012e8
bin/doom: set user-emacs-directory
Fixes an issue where bin/doom wasn't running from the emacs config it
was located in.
2019-08-27 12:36:58 -04:00
Rudi Grinberg
d29431d10f Fix keybinding for agda's auto
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-27 14:12:05 +07:00
Henrik Lissner
b3c9abfc39
Add :editor word-wrap to modules/README.org 2019-08-27 02:33:57 -04:00
Henrik Lissner
e498a7e2cb
Merge branch 'straight' into develop 2019-08-27 02:01:13 -04:00
Henrik Lissner
9d716dd13d
Merge pull request #1709 from flatwhatson/word-wrap
Add :editor word-wrap module
2019-08-27 01:06:54 -04:00
Andrew Whatson
6381a5c0ae Add :editor word-wrap module
Defines a new minor-mode `+word-wrap-mode` which configures
adaptive-wrap-prefix-mode and visual-line-mode for smart soft-wrapping
of code.

Evil users can toggle it with `SPC t w`.

Enable globally with `+global-word-wrap-mode`.

See the README for more details!
2019-08-27 15:04:38 +10:00
Alexander Fu Xi
6c4d8cd408 tools/pdf: display retina images on Emacs NS-port #1667
* Advice pdf-tools to display retina image on Mac
* Apply to other functions
* hotfix
* remove redundant advice
2019-08-27 00:36:20 -04:00
Henrik Lissner
08dd489a93
lang/org: correct/expand keybinding comments 2019-08-27 00:13:04 -04:00
Henrik Lissner
3fae411918
lang/latex: refactor default viewer resolution
And add evince to list of auto-detected viewers.

This should fix an issue where preview-pane was used regardless of what
viewer(s) were available.
2019-08-27 00:11:52 -04:00
Henrik Lissner
a9b5640d1f
tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
2019-08-27 00:09:50 -04:00
Henrik Lissner
8cb1fe1874
Add setq! macro
A convenient alternative to setq where you don't have to care about load
order (no need for after! blocks).
2019-08-27 00:08:22 -04:00
Henrik Lissner
aad0b2f842
Change how unit tests are set up and run
Moves init.test.el to core/test/init.el and initializes the test
environment from within the current session, rather than through a bash
script middle man.

TODO: don't buffer the unit test results
2019-08-27 00:07:01 -04:00
Henrik Lissner
af26a14230
lang/cc: decouple lsp init from ccls package 2019-08-27 00:05:13 -04:00
Henrik Lissner
8766499b0d
Fix some file permissions errors
Occurs when deferred packages are loaded while in an unreadable or
non-existent directory.
2019-08-27 00:05:12 -04:00
Henrik Lissner
43ebba886f
lang/javascript: fix eldoc in tide-mode 2019-08-27 00:05:12 -04:00
Henrik Lissner
a5096ff86b
Add ELPA packages to doom info output 2019-08-27 00:05:12 -04:00
Henrik Lissner
ca574c60b0
Fix pushnew! inserting duplicates of complex types
Because it was using #'eql for comparison, which is insufficient for
compound datatypes, like strings.
2019-08-27 00:05:12 -04:00
Henrik Lissner
a567e2f85e
Remove pushmany! macro
It is redundant with prependq!, appendq! and pushnew!.
2019-08-27 00:05:12 -04:00
Henrik Lissner
3d1569515b
emacs/vc: minor reformatting
And fix ;;;###package cookies. They aren't necessary for after! or
use-package! blocks.
2019-08-27 00:05:12 -04:00
Henrik Lissner
8ac1e1a781
Refactor doom init process
- Refactors doom-initialize
- Moves doom-initialize-modules call to init.el, to more easily isolate
  it during unit testing.
2019-08-27 00:05:12 -04:00
Henrik Lissner
465122320d
Byte-compile Doom in the correct order
That is, modules should be byte-compiled in the order they're in in your
doom! block.
2019-08-23 20:30:39 -04:00
Henrik Lissner
5b656ec56c
emacs/vc: refactor enforcement of git-commit conventions
To make it easier for users to customize.
2019-08-23 20:29:35 -04:00
Henrik Lissner
ea34b11194
Merge pull request #1704 from Oreodave/omnisharp-unit-test-keybinds
Fixing up csharp mode's keybinds (mostly unit-test ones)
2019-08-23 18:57:57 -04:00
oreodave
ff1b210469 lang/csharp: Fix code issues keybind does not work
<localleader>ri : omnisharp-fix-code-issue-at-point
This function does not exist, thus the keybind doesn't work
2019-08-23 23:29:46 +01:00
oreodave
c35c704de8 lang/csharp: updated bindings
Specifically:
- `t-a` -> `t-s` ("unit test all" is now "unit test buffer")
- `t-r` -> `t-l` ("unit test ?" is now "unit test last")
- `t-s` is the same (couldn't think of anything better)
2019-08-23 23:28:50 +01:00
oreodave
da0f3afb12 lang/csharp: -Remove old bindings
These bindings use older omnisharp functions that no longer work. Should
be replaced by new omnisharp functions
2019-08-23 23:28:28 +01:00
Henrik Lissner
6c734ab039
ui/doom-dashboard: use fancy-splash-image variable 2019-08-23 01:56:44 -04:00
Henrik Lissner
205bf453de
Fix void-function doom--resolve-path-forms error
By using project-file-exists-p! macro instead.
2019-08-23 01:56:43 -04:00
Henrik Lissner
9d0966e94a
Forcibly refresh doom after 'doom upgrade'
Ensures autoloads files are regenerated.
2019-08-23 01:56:43 -04:00
Henrik Lissner
e38dad13c6
lang/lua: fix +lua-love-project-root
Its former logic would only return a correct path if both
main.{lua,moon} and src/main.{lua,moon} exist within the same project,
which is very unlikely.
2019-08-23 01:56:43 -04:00
Henrik Lissner
ee81d0533a
lang/lua: set default indent width to 2
As per the official lua style guide:
http://lua-users.org/wiki/LuaStyleGuide
2019-08-23 01:04:41 -04:00
Henrik Lissner
8f01abebfc
Conform set-repeater! to naming conventions 2019-08-22 18:57:18 -04:00
Henrik Lissner
6bd2eaf2c8
completion/helm: remove obsolete advice
Doesn't appear to be needed anymore.
2019-08-22 18:56:25 -04:00
Henrik Lissner
6a67572e1d
Fix 'no such live buffer' errors from helm +childframe 2019-08-22 18:54:30 -04:00
Henrik Lissner
025a4c3d26
Properly reset packages on 'doom update'
Prevents some cases of infinite hanging while updating certain packages.
2019-08-22 16:13:23 -04:00
Henrik Lissner
e502031412
Fix 'doom purge' not regrafting all repos on first use 2019-08-22 16:12:22 -04:00
Henrik Lissner
243d69bb6d
ui/workspaces: don't register filtered buffers
May indirectly address #1525
2019-08-22 14:45:40 -04:00
Henrik Lissner
2485123164
term/{eshell,vterm}: remove already in * buffer check
Allows users to spawn additional eshell/vterm buffers, if they like.
2019-08-22 14:44:14 -04:00
Henrik Lissner
aff5cc5b28
Move file-exists-p! to core/autoload/files.el 2019-08-22 13:03:12 -04:00
Henrik Lissner
eb567f51c8
Handle git submodules from 'doom update' 2019-08-22 13:02:24 -04:00
Henrik Lissner
8f1de7c998
Fix #1694: wrong-type-arg stringp errors on some files 2019-08-21 21:17:42 -04:00
Henrik Lissner
970a31fc56
Enable ns-auto-titlebar-mode for mac users
ns-auto-titlebar-mode needs to be enabled for
ns-auto-titlebar-set-all-frames and ns-auto-tilebar-set-frame to work.
2019-08-21 21:12:52 -04:00