Commit Graph

5734 Commits

Author SHA1 Message Date
Henrik Lissner
26f9e2cdeb
lang/python: load anaconda-mode a little sooner
So its hooks take effect in the first buffer.
2019-07-28 02:38:27 +02:00
Henrik Lissner
aee1c851fc
Refactor git-timemachine-show-commit fix
As per https://gitlab.com/pidu/git-timemachine/issues/77
2019-07-28 02:32:25 +02:00
Henrik Lissner
059030be49
lang/python: ensure anaconda-mode in first python buffer 2019-07-28 02:32:25 +02:00
Henrik Lissner
afc22e4265
lang/python: fix dont-auto-install-server advice
The function being overriden takes no arguments.
2019-07-28 02:32:25 +02:00
Henrik Lissner
19dd4e8db8
Correct more inline hook defuns 2019-07-28 02:32:25 +02:00
Henrik Lissner
0a05fd09c3
Merge pull request #1603 from nelson-liu/patch-1
Update list of lang/python considered conda homes
2019-07-27 23:43:32 +02:00
Henrik Lissner
87ce335f1a
Merge pull request #1604 from rgrinberg/unique-lines-complete
Uniquify completion candidates of whole lines
2019-07-27 23:42:53 +02:00
Rudi Grinberg
7c523f2c15 Uniquify completion candidates of whole lines
If the same line is present more than once in the buffer, it will be
offered more than once as a candidate. This commit deletes duplicate
lines from the completion list.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-07-28 01:19:45 +07:00
Nelson Liu
fa0f876076
Add new homebrew cask anaconda install path 2019-07-27 11:11:47 -07:00
Henrik Lissner
04166d6562
ui/popup: larger WoMan popups, by default 2019-07-27 19:40:31 +02:00
Henrik Lissner
3313212f90
ui/workspaces: correct inline defun hooks
And add-to-list -> add-hook, because its a tiny bit faster (and fewer
characters).
2019-07-27 17:08:56 +02:00
Henrik Lissner
ead0b1ce15
lang/org: correct paths in comment headers 2019-07-27 17:06:55 +02:00
Henrik Lissner
94d5b73b45
lang/python: lazy load lsp-python-ms
And comment on the hack.
2019-07-27 13:53:38 +02:00
Henrik Lissner
063703bbd6
Merge pull request #1510 from filalex77/lang/elixir-readme
Add README for lang/elixir
2019-07-27 13:14:15 +02:00
Henrik Lissner
bc044ae3c0
Merge pull request #1578 from jdemilledt/patch-1
Remove flycheck-rust since it is no longer used.
2019-07-27 13:13:46 +02:00
Henrik Lissner
2487a76852
Merge pull request #1602 from jdemilledt/patch-2
Adding lsp-python-ms with patch so it doesn't force itself to be installed
2019-07-27 13:13:08 +02:00
Henrik Lissner
5b1d7459bc
Merge branch 'develop' into straight 2019-07-27 13:09:42 +02:00
Henrik Lissner
7c6e871035
lang/emacs-lisp: add buttercup-run-project command
And replace non-interactive buttercup-run-discover.
2019-07-27 13:06:43 +02:00
Nelson Liu
bf151916cb
Update list of lang/python considered conda homes
For several years, the default location for a miniconda install has been `~/miniconda3` (`~/miniconda2` if using the python 2 version). This PR adds this path to the list considered by the conda package.
2019-07-26 22:29:33 -07:00
Julian DeMille
850c0bbb61
Adding lsp-python-ms with patch so it doesn't force itself to be installed. 2019-07-26 22:32:17 -04:00
Henrik Lissner
49afaa8bd1
Merge pull request #1599 from tchajed/racket-jump-to-definition
lang/racket: set lookup handler to find definition
2019-07-27 03:31:39 +02:00
Henrik Lissner
66c50ceb51
Merge pull request #1576 from Emiller88/feature/mu4e-docs
Add NixOS example
2019-07-27 03:27:36 +02:00
Henrik Lissner
60a87b444c
Merge pull request #1601 from filalex77/elixir-ls
Add support for Elixir LSP via elixir-ls
2019-07-27 03:24:39 +02:00
Henrik Lissner
3e357c2e88
Return real version string from fake org-release fn 2019-07-27 02:46:50 +02:00
Henrik Lissner
09d13fd60d
Use add-hook! for inline hook defuns 2019-07-27 02:46:49 +02:00
Oleksii Filonenko
887a36aacf
Add support for Elixir LSP via elixir-ls
- Document Elixir with LSP via elixir-ls
- Add ~+lsp~ flag to ~:lang elixir~
2019-07-26 22:17:01 +03:00
Oleksii Filonenko
32fd0162a0
Document +lsp flag for :lang elixir 2019-07-26 22:14:07 +03:00
Tej Chajed
592bb13496
lang/racket: set lookup handler to find definition 2019-07-26 14:43:57 -04:00
Henrik Lissner
05f7565a57
Merge pull request #1597 from ar1a/straight-lsp-company
tools/lsp: cache company candidates automagically
2019-07-26 20:33:28 +02:00
Aria Edmonds
21f1a50436
tools/lsp: cache company candidates automatically 2019-07-27 04:28:22 +10:00
Oleksii Filonenko
1fb5891f6d
lang/elixir: finish README.org 2019-07-26 21:23:32 +03:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
Henrik Lissner
6a9a127b0f
lang/emacs-lisp: add popup rule for buttercup results 2019-07-26 13:59:52 +02:00
Henrik Lissner
ca295e4c79
Refactor evil-collection initialization
- Update comments
- Add code for easily refreshing evil-collection-mode-list
- Load evil-collection-term for multi-term
- Fix buffer-menu, image-mode, elisp and occur modules not loading
2019-07-26 03:12:07 +02:00
Henrik Lissner
02f2ad1e8d
lang/common-lisp: conform to new conventions 2019-07-26 03:12:07 +02:00
Henrik Lissner
a47351c58f
lang/emacs-lisp: add test localleader keys for buttercup 2019-07-26 03:12:06 +02:00
Henrik Lissner
5cc0e92a48
lang/sh: append "/bin/*" rule in auto-mode-alist
It's too aggressive. Rather, it should be a fallback.
2019-07-26 03:12:06 +02:00
Henrik Lissner
b24d7506e6
lang/sh: conform to new hook conventions 2019-07-26 03:12:05 +02:00
Henrik Lissner
b1b2eba984
ui/tabbar: set variables sooner
Giving the using a chance to customize them before centaur-tabs-mode is
activated.
2019-07-25 01:49:15 +02:00
Henrik Lissner
017aa6a9f7
editor/rotate-text: conform to hook conventions
And add it<->xit and describe<->xdescribe rotate-text patterns (for
buttercup tests).
2019-07-24 22:13:19 +02:00
Henrik Lissner
f25ec72253
lang/cc: fix stringp errors when loading rtags
Binary checks for rtags expect rtags-rc-binary-name and
rtags-rdm-binary-name to always be non-nil.
2019-07-24 15:25:42 +02:00
Henrik Lissner
650e9049f0
Autoload hl-fill-column-mode
Because the package doesn't, for some reason.
2019-07-24 15:25:24 +02:00
Henrik Lissner
629249aa43
Enable git-gutter on find-file-hook and org-mode
And disable it in pdf-view-mode. Perhaps this is too comprehensive?
2019-07-23 20:43:35 +02:00
Henrik Lissner
302ec4e97a
lang/org: fix and autoload org-release hack
- Lazy load all the things.
- Now org-release return a sane version string, which should address
  packages using it to version check org.
2019-07-23 18:36:18 +02:00
Henrik Lissner
fec53f7b1d
Fix git-gutter not updating when whole file is staged
But we don't want it triggering on git-gutter:*-hunk, because they do
their own refreshing work.
2019-07-23 18:18:43 +02:00
Elais Player
224eafa830 Add version to README 2019-07-23 11:12:55 -05:00
Elais Player
3cc7066063 Uncomment closing parenthesis in scheme config
Accidentally commented out a closing parenthesis in the scheme module
config, fixed in this commit.
2019-07-23 11:08:29 -05:00
Elais Player
0659675ade Add scheme module README
The README.org has the prereqs as well as links to geiser and the
various scheme implementations.
2019-07-23 11:08:29 -05:00
Elais Player
db8d541fbe Add scheme module
Adds scheme module with geiser.
2019-07-23 11:08:29 -05:00
Henrik Lissner
3b9838ed41
lang/org: prevent circular refs in nconc'ed list 2019-07-23 18:05:28 +02:00