Commit Graph

10057 Commits

Author SHA1 Message Date
b7a98cc788 Add openSUSE prerequisite instructions
These instructions were tested on openSUSE Tumbleweed and openSUSE Leap
15.1. There are some modules left that are not documented yet, but this
already improves the sitution for common openSUSE users.
2019-10-03 16:01:35 +02: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
8f1de7c998 Fix #1694: wrong-type-arg stringp errors on some files 2019-08-21 21:17:42 -04:00
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
94ba098e43 Normalize package before checks in 'doom update'
This reduces the likelihood that straight will throw up invisible
popups, blocking the update process indefinitely.
2019-08-21 18:34:55 -04:00
464e7f8bbd lang/common-lisp: remove obsolete advice 2019-08-21 15:02:53 -04:00
3b9701161a Fix build date in doom/version
When it is called interactively from a file outside of ~/.emacs.d
2019-08-21 12:17:32 -04:00
f4a11fd437 Fix #1679: newline-and-indent advice not deleting trailing whitespace 2019-08-21 00:29:12 -04:00
879f3a660a Use new straight-base-dir variable
We can't phase out doom--straight-use-local-dir-a until I fix the issue
with straight not reinstalling packages when their recipes change.
2019-08-21 00:29:12 -04:00
9b1c49149c New fix for #1525: 'selecting deleted buffer' error 2019-08-21 00:29:02 -04:00
40e6a37652 Expand on doom-module-load-path's docstring
Mention that value in the returned list is always doom-private-dir.
2019-08-21 00:10:24 -04:00
0b2b5d1c6c Install & track from straight.el's develop branch 2019-08-21 00:09:44 -04:00
18cefa0167 Use evil-avy-goto-char-timer #1690 2019-08-20 22:23:59 -04:00
d0f0d31a5c Remove :collab from modules/README.org 2019-08-20 10:48:53 -04:00