Commit graph

4166 commits

Author SHA1 Message Date
Timo Freiberg 978df8a70e [clojure] call cider-test-* functions interactively 2019-04-04 16:18:46 +02:00
timor 7b5ce34e65 [factor] Misc fixes for factor version 0.98
Since factor 0.98, `fuel-edit-word` has been removed, since
`fuel-edit-word-at-point` has the same behavior when point is not on a symbol.
Also adjust the jump-handler definition.

factor: choose correct name for the `fuel` package

The package is called `fuel`, not `factor-mode`.

This does not make a difference for the layer itself, since it is using the
`site` pseudo-location, and thus never deals with the package files.

Now, any `post-init-fuel` functions defined somewhere else should work
correctly.

factor-layer: add missing refactor command binding, fix initial modes
2019-04-04 13:16:05 +02:00
Grant Shangreaux 71a06c8b99 update docs for Chicken 5 changes 2019-04-04 12:52:09 +02:00
Tim Heckman e84bd90262 Set lsp-prefer-flymake to :none when Go layer is using LSP
When switching the Go layer to use the LSP backend with `golangci-lint`, I
noticed that none of my linter errors were being rendered with my source code.
Digging in further, I eventually learned it was due to `lsp-prefer-flymake`
being set to `nil` and not `:none`.

This change updates the Go layer, when using LSP and golangci-lint, to set
`lsp-prefer-flymake` to `:none`. If this is not set, the golangci-lint errors
will not be reported.

This is an alternative to #12043.

Fixes #11680

Signed-off-by: Tim Heckman <t@heckman.io>
2019-04-04 12:46:49 +02:00
Eric Zhang a4801bec7b Fix magit conflicting with golden-ratio 2019-04-04 12:41:01 +02:00
Loys Ollivier 7667df6319 python: add diminish for importmagic
importmangic does not have a diminish character.
Add diminish characters to make the modeline nice(r).

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2019-04-04 12:33:57 +02:00
Magnus Therning 9e3340b8c3 Replace ox-reveal with org-re-reveal
Adressing #11935

Just a naive `s/ox-reveal/org-re-reveal`, but it seems to work.
2019-04-04 12:25:24 +02:00
Enze Chi 004d407908 Add toggle control for verbose go test output 2019-04-04 12:17:53 +02:00
cjay c47b53abbe Fix haskell jump handler for dante
Analog to d6b1d1674f50a85246eceda32866fd9f93d955d6 which was for intero
2019-04-04 12:14:14 +02:00
Lareb Syed b90bd6a856 [Finance] Prevent auto-complete from adding a space 2019-04-04 11:53:01 +02:00
duianto 95c2488c66 Show magit-log-select and diff in two windows 2019-04-03 22:35:26 +02:00
duianto f8ed4739fe Load helm before read-file-name and completing-read
Fixes helm not being loaded before calls to:
read-file-name and completing-read.

These are some commands that call either of those two functions:
spacemacs/rename-current-buffer-file (SPC f R)

In a Treemacs window:
treemacs-add-project-to-workspace (C-c C-p a)

In a Magit buffer:
magit-checkout (b b)

Thanks Miciah for a more elegant solution.

This commit also reverts:
Fix helm loading for layouts transient state #11705
because it's not needed anymore.

And the previously commented out transient hook minibuffer-setup-hook (it
doesn't seem to ever have been used) is removed because:
- It loads helm after a command is called that uses helm (instead of before)
- (spacemacs|hide-lighter helm-mode) has previously been moved to the
helm/init-helm :config section.
2019-04-03 21:27:08 +02:00
John Stevenson 074588475b Clojure Layer - Updated docs for Cider manual quick start
Updated documentation for Clojure layer to currently recommended versions of
build tools and `cider-nrepl`, ensuring that connecting to a manually run
Clojure REPL works correctly with the current version of CIDER.

Leiningen version 2.9.0
Boot version 2.8.2
`cider-nrepl` 0.21.1
2019-04-03 18:31:17 +02:00
Jason Walker 0becb67c21 Improve purescript keybinding discoverability & ergonomics.
Added prefix titles and removed some useless nesting.
2019-04-03 11:42:56 +02:00
Artur Juraszek 206ace5f51 [confluence] s/xlm/xml 2019-04-03 10:19:48 +02:00
jjzmajic 64154b1ba3 Declare missing prefixes for 'web-mode and 'css-mode. 2019-04-03 09:30:27 +02:00
Miciah Masters 17ec4da516 Delete helm-wikipedia-suggest key binding
Helm has removed the helm-wikipedia-suggest command, so delete Spacemacs's
key binding for the command.

4ef8299d78

* CHANGELOG.develop: Add entry.
* doc/DOCUMENTATION.org: Delete documentation for the key binding for
helm-wikipedia-suggest.
* layers/+completion/helm/packages.el (helm/init-helm): Delete the key
binding for helm-wikipedia-suggest.
2019-04-03 08:19:40 +02:00
Aaron Renner 9008a2ca1d Fix typo in multiple-cursors readme 2019-04-02 23:11:14 +02:00
syl20bnr b28f1a2aba github: add function to get repo for a forge notification error 2019-03-31 12:16:43 -04:00
duianto 4b195ddfc9 Ivy: Add SPC h d a counsel-apropos 2019-02-18 16:55:38 -05:00
duianto d55f39eed3 Change helm-apropos from SPC h d d to SPC h d a
Change the binding to be more mnemonic.

It calls helm-[a]propos and it pretty much describes [a]ll.
2019-02-18 16:42:12 -05:00
duianto 3de7081950 Cleanup which-key names
Moved:
- ("ai" "irc") to both the `erc` and `rcirc` layers. They don't have to be
  renamed until the layers are loaded.

- ("ay" "ipython notebook") to the `ipython-notebook` layer.

- ("p$" "projects/shell")
  ("'"  "open shell")
  ("as" "shells")
  to the `shell` layer.

- The commands with keybindings from spacemacs-bootstrap/packages.el to
  spacemacs-defaults/keybindings.el.

Removed:
- ("gd" "diff") it seems to be an old group name, there's no `SPC g d` group at
  the moment.

- ("Re" "elisp") and ("Rp" "pcre") because they have moved to:
  ("xr" "regular expressions")
  ("xre" "elisp")
  ("xrp" "pcre")

- ("xm" "move") seems to be an old move text group, the current keybindings are
  `SPC x J` and `SPC x K` which opens the Move Text Transient State.

- ("b" "persp-buffers") because `SPC b` is also renamed as ("b" "buffers") which
  is more general and not persp-mode specific.
2019-02-18 14:35:00 -05:00
bmag b364cd3c61 Transient and magit-svn fixes
- magit-svn-popup renamed to magit-svn (more fallout of Transient)
- more reliable placement of Transient cache files
2019-02-18 14:26:41 -05:00
syl20bnr f6a42ef790 Reenable magit-gitflow 2019-02-18 12:56:45 -05:00
syl20bnr 79279f434b Disable magithub, please move it to your private layer is used 2019-02-18 12:55:22 -05:00
syl20bnr dd59f30aae Temporarily disable magit-gitflow to be able to SPC g s 2019-02-18 11:31:38 -05:00
yuhan0 d325c5027c [git] Add init function for transient package 2019-02-18 11:17:32 -05:00
Marco Zucconelli 1e84ee25be Fixing incorrect shortcuts in README 2019-02-16 10:22:35 -05:00
syl20bnr 0bc5b54ebf Call magit-diff instead of magit-diff-buffer-file 2019-02-16 10:21:45 -05:00
bmag 99b355e2fa Adapt for Magit's move to Transient
Magit now uses Transient instead of magit-popup, and we must adapt. Also had to
replace the recently removed magit-diff-buffer-file-popup with
magit-diff-buffer-file (similar but doesn't offer a popup before displaying the
diff).

Note some upstream packages haven't adapted to this change, but when they do we
might need similar fixes:
- magithub
- magit-gitflow
- magit-svn
2019-02-16 10:21:45 -05:00
syl20bnr 63f9a92348 Revert "Mention breaking change for pull key binding with GitHub and forge"
This reverts commit 36c1291081.
2019-02-16 09:53:34 -05:00
syl20bnr 95422ae5d5 Second part of review and tweaks of release notes 2019-02-10 12:37:41 -05:00
syl20bnr 3dd753945f bootstrap: refactore which key replacement list
And enable multiple replacements.
2019-02-10 10:11:38 -05:00
syl20bnr 474f945709 defaults: add SPC T N key binding to cycle theme backward 2019-02-10 10:10:51 -05:00
syl20bnr 66f7b9dda1 Fix undefined function spacemacs-docker//load-env when SPC f e R 2019-02-09 17:31:27 -05:00
Daniel Cole 170bb98cb5 Fix lsp find-* functions using peek-navigation
With this fix lsp find-* functions correctly use xref (simple-navigation).

Fixes issue #11931.
2019-02-05 23:39:10 +02:00
Uros Perisic bd77a5df6e Replace company-capf with company-nimsuggest in nim-mode.
As described here: https://github.com/nim-lang/nim-mode/issues/159,
company-capf makes nim-mode unusable. I am replacing it with
company-nimsuggest as it is much more responsive. The reason I elected not to
leave company-capf in as a backup is that it would somehow still make it to the
car of company-backends, regardless of position at assignment, thus becoming the
default completion backend. Given that no functionality is lost this way, and
that nimsuggest is now part of the core nim installation
(https://github.com/nim-lang/nimsuggest), I do not think anything has been
sacrificed.
2019-02-03 23:53:50 +00:00
Grant Shangreaux 71ff09af82 [agda] Fix: typo in agda layer setup documentation 2019-01-29 00:20:42 +02:00
JAremko 24d875e193 Add transient state for centered buffer 2019-01-27 20:49:40 +02:00
JAremko e8a6bc2690 Load docker env vars via user config hook 2019-01-24 15:24:44 +02:00
Richard Kim a46b784e85 ported Info-find-file from emacs 27 by adding third argument 2019-01-22 00:00:42 +02:00
yuhan0 6737c8c8e5 Add ivy option to buffer transient state 2019-01-21 23:06:08 +02:00
Thanh Vuong f63009ae20 Fix keybindings overwritten by LSP
change prettier/web-beautify to `scp m = =` to avoid being
overridden by lsp
2019-01-21 22:59:56 +02:00
Robert O'Connor 0b5ae3ccbf Remove magit-gh-pulls as magithub is so much better! 2019-01-20 22:33:59 +02:00
yuhan0 b8a65e6ccb Use MELPA for perl6-mode package
The mentioned issue was resolved:
https://github.com/melpa/melpa/issues/5261
2019-01-20 21:53:14 +02:00
emacspace 1a87b0c644 documentation formatting: Sun Jan 20 15:51:53 UTC 2019 2019-01-20 15:53:57 +00:00
emacspace 03cb987c6d documentation formatting: Sun Jan 20 15:34:11 UTC 2019 2019-01-20 15:45:54 +00:00
gdkrmr 23f3d3c313 adapt layer to recent changes in ess 2019-01-20 17:41:06 +02:00
rgb-24bit c2a351cac7 Fix conflict between pipenv directory .venv and pyvenv file .venv 2019-01-20 17:28:43 +02:00
Jam Risser 89047e4707 Fixed typescript/jump-to-type-def when npm module 2019-01-20 17:22:04 +02:00
CharlesHD 52bbab6343 keyboard-layout: add undo-tree visualizer navigation keys 2019-01-20 17:15:49 +02:00
Voleking a8567cbed3 Fix diff-hl-highlight function is set to nil 2019-01-20 17:12:53 +02:00
JAremko 9509cf6bcf Clojure cheatsheet is now a part of CIDER 2019-01-20 16:59:48 +02:00
deb0ch b7dedb9bd6 layouts layer: fix helm loading 2019-01-20 16:24:11 +02:00
Anupam Jain 9ceeec0aea Add flag to allow adding node_modules/.bin path to exec-path.
This is needed to get psc-ide working without installing purescript
globally.
2019-01-20 15:55:31 +02:00
Alexander Miller ea96c525e9 Make sure treemacs' buffers are ignored by winum. 2019-01-20 15:44:43 +02:00
Anton-Latukha 059810f31d Fix magit-repository-directories documentation 2019-01-20 15:28:28 +02:00
Alexander Miller e7d13da61d Make treemacs the default file browser. 2019-01-20 14:31:36 +02:00
Justin Stone 79fed0f108 remove reference to fixed bug
According to org-projectile's repo, this bug has been fixed:

https://github.com/IvanMalison/org-projectile/issues/10

Recommending the reference be removed from the documentation.
2019-01-20 14:24:37 +02:00
JAremko 68a1b15ec8 Cleanup 2019-01-19 05:02:01 +02:00
emacspace 8aa7395fc5 documentation formatting: Thu Jan 17 23:18:48 UTC 2019 2019-01-18 17:22:07 +02:00
JAremko 460dc35fce Fix/improve dependency installers 2019-01-18 17:21:19 +02:00
JAremko 8bbf6b3f53 Update layers dependency installers 2019-01-18 01:13:22 +02:00
emacspace f2c17ba15f documentation formatting: Thu Jan 17 14:07:30 UTC 2019 2019-01-17 16:56:39 +02:00
syl20bnr 36c1291081 Mention breaking change for pull key binding with GitHub and forge 2019-01-17 09:01:12 -05:00
Miciah Masters 01e2db9c42 github: Update forge key bindings
Update the documentation for forge per upstream changes to key bindings in
evil-magit[1].

[1] 49978d07d3

* layers/+source-control/github/README.org: Update key bindings for forge.
2019-01-17 08:48:27 -05:00
Sergey Litovchuk 990290e245 Fix spacemacs/c-c++-tags-find-references-at-point
Rename the spacemacs/c-c++-tags-find-references-at-point and
rtags-find-references-at-point to fix the c-c++-modes key binding:
          "g," 'spacemacs/c-c++-tags-find-references-at-point
when c-c++-backend is set to 'rtags.

This changeset reverts some of the changes introduced by
the commit 445f6af93f.
2019-01-15 01:29:48 +02:00
Seong Yong-ju 4d5eadd6d6 Remove eslint_d support
Remove eslint_d support because eslint_d seems to support only older versions
like ESLint 4+, 5+.
2019-01-15 01:24:07 +02:00
Alexander Miller 3cf322943a [treemacs] Use deferred git-mode by default. 2019-01-14 23:21:41 +00:00
emacspace 7353d5670f documentation formatting: Mon Jan 14 23:15:53 UTC 2019 2019-01-14 23:19:02 +00:00
Marty Buchaus c754e5f86d update keybindings trying to copy from org. 2019-01-15 01:10:13 +02:00
Sam Pillsworth 6d9dbcf6bb Updates org-layer key bindings for Org 9.2 release 2019-01-15 01:00:53 +02:00
Miciah Masters 07aa9b01ed github: Add forge
Note that Forge binds the ' key to the Forge dispatch popup, but evil-magit
binds the ' key to the submodule dispatch popup (see
https://github.com/emacs-evil/evil-magit/issues/54), and evil-magit's key
binding takes precedence with the vim editing style.  Because Forge's key
binding does not always work, it is omitted from the README.

Note also that Magit binds the % key to its worktree dispatch popup, but
Spacemacs binds the % key to the magit-gitflow popup, and Spacemacs's key
binding takes precedence.  Because there is no available key binding for
the worktree dispatch popup, Forge's key binding under that dispatch popup
is omitted from the README.

* CHANGELOG.develop:
* layers/+source-control/github/README.org: Update.
* layers/+source-control/github/packages.el (github-packages): Add forge.
(github/init-forge): Load forge after magit. Configure forge to use
spacemacs-cache-directory.
(github/init-magithub): Disabling injecting issues and pull-requests
sections if forge is installed.
2019-01-15 00:48:48 +02:00
Justin f8bb6997a9 Remove lsp-javascript-typescript package for lsp built in.
Remove lsp-go package for lsp built in.
Changed go/react/typescript lsp-*-enable hooks to lsp
Update go/typescript/rust layer docs for lsp-mode installation command.
Remove unused rust layer variable
2019-01-15 00:41:30 +02:00
Cthulhu.Den 3a509fc0d9 Fix jump handlers conflict for haskell and intero 2019-01-15 00:36:30 +02:00
Aaron Jensen c9eacd1f7e typescript: Fix jump handlers in tsx 2019-01-15 00:32:46 +02:00
Guido Kraemer 2026b0e9e3 make julia layer work with new lsp-mode 2019-01-15 00:24:21 +02:00
Matthew Boston b431d353b6 Use non-fork of graphviz-dot-mode
- The upstream now has the added live preview merged aas of:
  https://github.com/ppareit/graphviz-dot-mode/pull/18
2019-01-15 00:18:48 +02:00
emacspace 0631e44895 documentation formatting: Sun Jan 13 19:53:55 UTC 2019 2019-01-13 21:57:17 +02:00
JAremko c5ae487b89 Fix links 2019-01-13 20:27:35 +02:00
syl20bnr 7cc06ce63e Update change logs
Thank you everybody for participating in #11741 in order to make this
possible!
2019-01-13 16:32:47 +02:00
Aaron Jensen 2c28c7d219 ivy: Fix counsel search
This function was renamed upstream:
58bf1b94c8
2018-12-28 15:20:29 +00:00
emacspace 8b3a30f240 documentation formatting: Sat Dec 22 11:04:49 UTC 2018 2018-12-22 11:12:10 +00:00
cormacc c375bc428f Flattened some cquery/ccls configuration
c-c++-lsp-initialization-options:
-> ccls-initialization-options
-> cquery-extra-init-params (cacheFormat set to "msgpack" by default)

c-c++-lsp-args:
-> ccls-args
-> cquery-extra-args

c-c++-lsp-cache-dir:
-> ccls: Appended to initialization-options
-> cquery-cache-dir

<<Amendment 1 21/12/18>>
Removing 'clangd' from list of lsp clients to squash per-file prompt for
language client.
Updated lsp/packages.el to reflect upstream lsp-mode function name changes.
Python layer -- added if guards to prevent anaconda package loading / keyboard
shortcut config when lsp backend selected.
2018-12-22 12:51:17 +02:00
Ivan Yonchovski f346ae0683 Fix java/python/javascript/rust lsp backends 2018-12-22 12:51:05 +02:00
cormacc aacf2a4cc1 Created core lsp minor mode keybindings
Replaced opt-in use of `spacemacs/lsp-bind-keys-for-mode` function with
keybindings for the lsp minor  mode, which should be enabled for all derived
layers.

<<Amendment 1 26/11/2018>>
Added call to (spacemacs//setup-lsp-jump-handler) to lsp-after-open-hook

<<Amendment 2 04/12/2018>>
Migrated to new lsp-mode package API.
Updated c-c++ layer accordingly.

<<Amendment 3 05/12/2018>>
Incorporated PR feedback / corrections from gessen

<<Amendment 4 05/12/2018>>
Incorporated further feedback / corrections from gessen
2018-12-22 12:50:21 +02:00
yuhan0 5b2e969b3b [git] Defer orgit package 2018-12-04 22:07:41 -05:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
JAremko 69a89cc412 Replace centered-buffer-mode with writeroom-mode 2018-11-26 11:14:04 -05:00
Ivan Yonchovski fc2d220b5e dap-layer implementation
- I had some issues related to finding the corresponding shortcuts for each of
the commands and I am looking for suggestions for improvements.

- updated the lsp-java readme since the server installation is now automatic. If
you already have jdt server installation, please run lsp-java-update-server
which will download the related dap-mode related stuff.

- Make sure that you have latest melpa versions of lsp-java, lsp-ui and dap-mode
since several issues related to the java integration were fixed lately.

- dap-mode is pretty young package and it is not extensively tested

- dap-hydra which will be used as a transient state for the breakpoints and
debugging, in general, is not synched with the shortcuts in the layer. I will sync
them once there is agreement on the shortcuts configuration. Also, I have not
updated lsp-java README.org with the corresponding shortcuts for the same
reason.

- The debug integration with the python lsp layer will be implemented in
separate PR.

- There will be few more functions that are going to be added to the dap-mode at
some point and they would require shortcuts too:
* suspend/kill thread I guess - "m d t s" "m d t k"?
* watches - "m d l w"
* exception breakpoints - I have to figure out how it will look like on emacs
  side.
* goto point "m d H"?
2018-11-25 23:03:08 +00:00
Miciah Masters e6811c8355 Add variable rcirc-enable-late-fix to rcirc layer
Add a configuration variable to enable the included rcirc-late-fix package
in the rcirc layer.  The package is still disabled by default.
2018-11-25 12:38:41 +00:00
Miciah Masters 6608d490ce rcirc-late-fix: Fix compiler warnings
Fix the following errors:

    rcirc-late-fix.el:49:12:Warning: ‘rcirc-print-hooks’ is an obsolete
        variable (as of 24.3); use ‘rcirc-print-functions’ instead.

    rcirc-late-fix.el:51:1:Warning: defface for ‘rcirc-late-fix-face’ fails
        to specify containing group

    In rcirc-late-fix-hook:
    rcirc-late-fix.el:79:82:Warning: (lambda (x) ...) quoted with ' rather
        than with #'

    In rcirc-late-fix-matching-buffer:
    rcirc-late-fix.el:85:34:Warning: function ‘find-if’ from cl package
        called at runtime
2018-11-25 12:38:41 +00:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
duianto 8c76fed136 Hide MMM mode-line indicator
problem: MMM is shown in the mode-line when a .md markdown file is opened.
solution: hide MMM when mmm-mode is configured.
2018-11-21 21:32:44 +00:00
duianto 2c8195752f Add missing layer file headers 2018-11-21 21:31:54 +00:00
Leonard Lausen 4dbe241aca Update ess-disable-underscore-assign for ESS 18.10 2018-11-21 10:20:21 +00:00
Aaron Jensen d52883fc56 typescript: Fix jump handling with multiple backends
Because the setup functions run after local vars are set, setting jump handlers
needs to happen directly. Otherwise setting them only applies to the next
typescript file that is opened, which may or may not even have the same backend.

Also prevents lsp jump handlers from being installed unless the backend is lsp.
2018-11-20 11:34:24 +00:00
emacspace db0dd6d945 documentation formatting: Fri Nov 16 19:57:10 UTC 2018 2018-11-16 20:21:32 +00:00
yuhan0 f13f99d967 Enable clojure-mode refactorings without clj-refactor
- Add clojure-mode refactorings and which-key prefixes in default layer
configuration.

- Improve discoverability of the refactoring features which are not enabled
by default. When clj-refactor is installed, "SPC mr?" runs
cljr-describe-refactoring

- Refactor out repeated dolist clauses into `forall-clojure-modes` macro
which executes body forms for all clojure derived modes, and adds missing
functionality of parinfer, fancify-symbols and evil-cleverparens to
cider-repl-mode and cider-clojure-interaction-mode.
2018-11-16 19:51:21 +00:00
emacspace 4912b54f24 documentation formatting: Mon Nov 12 22:12:39 UTC 2018 2018-11-12 22:24:27 +00:00