Commit Graph

10070 Commits

Author SHA1 Message Date
1cb9dbb2de Add evil-switch-to-windows-last-buffer keybinds
SPC ` and SPC b l
2019-08-28 12:40:59 -04:00
16b1456192 lang/org: fix new filepath defaults
...if org is loaded before the module.
2019-08-28 12:40:59 -04:00
464ebabc2a Add warning to doom/reload (SPC h R) 2019-08-28 12:40:59 -04:00
cbd3a3b252 Fix #1697: use 2.0 branch for ensime package 2019-08-28 00:40:50 -04:00
96e2a7726d ui/doom: remove 'append in doom-load-theme-hook 2019-08-28 00:40:50 -04:00
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
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
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
880c581c0d tools/direnv: add README 2019-08-27 12:50:10 -04:00
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
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
d29431d10f Fix keybinding for agda's auto
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-27 14:12:05 +07:00
b3c9abfc39 Add :editor word-wrap to modules/README.org 2019-08-27 02:33:57 -04:00
e498a7e2cb Merge branch 'straight' into develop 2019-08-27 02:01:13 -04:00
9d716dd13d Merge pull request #1709 from flatwhatson/word-wrap
Add :editor word-wrap module
2019-08-27 01:06:54 -04:00
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
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
08dd489a93 lang/org: correct/expand keybinding comments 2019-08-27 00:13:04 -04:00
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
a9b5640d1f tools/direnv: remove redundant focus-in hook
It's redundant with doom-switch-frame-hook
2019-08-27 00:09:50 -04:00
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
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
af26a14230 lang/cc: decouple lsp init from ccls package 2019-08-27 00:05:13 -04:00
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
43ebba886f lang/javascript: fix eldoc in tide-mode 2019-08-27 00:05:12 -04:00
a5096ff86b Add ELPA packages to doom info output 2019-08-27 00:05:12 -04:00
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
a567e2f85e Remove pushmany! macro
It is redundant with prependq!, appendq! and pushnew!.
2019-08-27 00:05:12 -04:00
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
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
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
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
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
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
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
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
6c734ab039 ui/doom-dashboard: use fancy-splash-image variable 2019-08-23 01:56:44 -04:00
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
9d0966e94a Forcibly refresh doom after 'doom upgrade'
Ensures autoloads files are regenerated.
2019-08-23 01:56:43 -04:00
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
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
8f01abebfc Conform set-repeater! to naming conventions 2019-08-22 18:57:18 -04:00
6bd2eaf2c8 completion/helm: remove obsolete advice
Doesn't appear to be needed anymore.
2019-08-22 18:56:25 -04:00
6a67572e1d Fix 'no such live buffer' errors from helm +childframe 2019-08-22 18:54:30 -04:00
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
e502031412 Fix 'doom purge' not regrafting all repos on first use 2019-08-22 16:12:22 -04:00
243d69bb6d ui/workspaces: don't register filtered buffers
May indirectly address #1525
2019-08-22 14:45:40 -04:00
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
aff5cc5b28 Move file-exists-p! to core/autoload/files.el 2019-08-22 13:03:12 -04:00
eb567f51c8 Handle git submodules from 'doom update' 2019-08-22 13:02:24 -04:00