Commit graph

4045 commits

Author SHA1 Message Date
Tommi Komulainen
895308aecb
json: tell prettier content is to be parsed as json
In json-mode tell prettier the content is always to be parsed as json.
Fixes formatting in orgmode `#+BEGIN_SRC json` blocks as prettier
otherwise expects content as javascript.

Fixes: #11343
2018-11-07 08:27:47 +02:00
cormacc
18eacf48a2 Configure preference for lsp-ui-peek or xref/lsp navigation
<<Amendment 1 21/09/18>>
Added functions to facilitate keybindings in derived layers consistent
with navigation style preference.

<<Amendment 2 24/09/18>>
Incorporated feedback from yyoncho
Corrected error in peek binding extension definition

<<Amendment 3 24/09/18>>
Moved 'heirarchy' prefix/keybindings from 'SPC m h' to 'SPC m <g/p> h' for
consistency with navigation style preference selections.
Added 'members' prefix under 'SPC m <g/p> m'
Moved 'lsp-ui-imenu' from 'SPC m g m' to 'SPC m g M'

<<Amendment 4 20/10/18>>
Rebased. Updated README formatting for consistency with norms.

<<Amendment 5 25/10/18>>
Rebased. Moved 'peek' keybindings from 'SPC m p' to 'SPC m G'

<<Amendment 6 01/11/18>>
Reased. Updated for compatibility with upstream changes in lsp-ui.

<<Amendment 7 02/11/18>>
Corrected oversight -- was still binding some peek funcs under 'p'
rather than 'G'. Moved backend keybindings to 'b' (for backend)
rather than 'l' (for lsp)

<<Amendment 8 06/11/18>>
Documentation corrections -- based on feedback from sdwolfz
2018-11-06 22:18:43 +00:00
Justin
f70ebe6f9e Add: rust-lsp
Add rust lsp completion with company and bindings
2018-11-05 22:58:28 +00:00
deb0ch
4036556fb5 fix binding conflicts between evil-mc, magit and treemacs 2018-11-05 22:14:32 +00:00
deb0ch
1402b1bacc formatting 2018-11-05 22:14:32 +00:00
d12frosted
152d41e7cf
update haskell backends selection flow to match changes in 74fdbb67 2018-11-04 19:12:55 +02:00
Sergio Ugalde
2dc7102c90
Fixed haskell documentation about REPL 2018-11-04 18:57:56 +02:00
Nick Anderson
bd4e0815c5
Key cfengine3 support when org layer used instead of package 2018-11-02 08:49:25 +02:00
Nick Anderson
e09414c2b5
Fixes #11527 - Error opening org file when cfengine and org layers enabled
This change fixes the cfengine support for org-babel-load-languages when the
cfengine layer sees the org layer is used
2018-11-02 08:46:08 +02:00
Bjarke Vad Andersen
cb4a156087 'magit-blame' renamed to 'magit-blame-addition' 2018-11-01 00:53:13 +02:00
cipharius
7c3aa2a43c Fix broken leader key binding for inferior shell 2018-10-31 22:47:49 +00:00
Boris Buliga
69a1e056ff
support directories in spacemacs/rename-file
1. Fix `short-name` for directories. Previously it was empty string.
2. Remove redundant check for existing buffer:
   1. `(get-buffer new-name)` always return `nil`, because `new-name` is a path
      to file, not a file name.
   2. `(find-file new-name)` handles this situation.
   3. `dired-rename-file` handles this situation as well.
3. Use `dired-rename-file` to do the dirty stuff.
   1. Renames files and directories.
   2. All associated buffers are updated. If you rename a directory, all buffers
      that were visiting files from that directory now visit files from new
      directory.
4. Properly handle recentf list update for directories - all files from the
   renamed directory are removed from recentf list and the same files but from
   new directory are added back.
2018-10-31 20:56:28 +02:00
Binbin Ye
ff86c724b2
fix bm as bm-load-and-restore removed in upstream 2018-10-31 20:54:15 +02:00
Ivan Yonchovski
95abd6ce67
Update lsp-java README according to latest lsp-java 2018-10-31 20:52:02 +02:00
duianto
a16cf09dde Hide helm modeline indicator text 2018-10-27 20:53:43 +02:00
Codruț Constantin Gușoi
f5243bb69a Document sublime inspired keybindings 2018-10-27 14:52:03 +03:00
emacspace
d7bb91520d documentation formatting: Sat Oct 27 11:38:50 UTC 2018 2018-10-27 12:44:12 +01:00
Codruț Constantin Gușoi
25e76bff8e Documentation for multiple cursors 2018-10-27 14:34:08 +03:00
Codruț Constantin Gușoi
debf872c06 Renames the multiple cursors paste functions 2018-10-27 14:33:51 +03:00
Codruț Constantin Gușoi
5c6057226e Encapsulates multiple cursors functionality in a layer 2018-10-27 14:33:42 +03:00
deb0ch
a23055b6cd add magit buffers to useless buffers 2018-10-26 10:46:53 +01:00
Alistair Bush
2715b2de7a Add new test binding + improve documentation 2018-10-24 21:47:56 +01:00
Fangrui Song
e8196ce33e c-c++: remove c-c++-enable-c++11 2018-10-24 21:33:03 +01:00
kyoncho
20c621c5ce Reenable lsp mode lighter
- The lsp modeline is used to provide information about the server status so it
should not be be hidden.
2018-10-24 23:15:58 +03:00
emacspace
901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Dieter Komendera
8f30ba8390
Allow to send input to the repl via RET in normal mode 2018-10-23 07:27:31 +03:00
Boris Buliga
a0db651fc5
mention new python debugging option in readme 2018-10-23 07:18:24 +03:00
boris
554b3d9622
python3.7 comes with a builtin breakpoint() function (PEP 553) 2018-10-23 07:16:38 +03:00
duianto
cca3021bb5
Fix packages.el formatting
Join trailing parentheses
Fix indentation
Limit line length to 80 chars
Fix missing newline warning
Remove empty line in a function
2018-10-23 07:13:53 +03:00
Boris Buliga
5d4b80bbad
set load-prefer-newer to t 2018-10-23 07:11:47 +03:00
JAremko
2eca814a5b Fix code blocks 2018-10-20 16:06:40 +03:00
JimmyG
bf2bf86269 anaconda-mode-go-back is replaced with xref-pop-marker-stack 2018-10-20 09:38:32 +03:00
emacspace
58a58ddee3 documentation fixes: Fri Oct 19 15:57:15 UTC 2018 2018-10-19 19:06:36 +03:00
Boris Buliga
633ff1dfa3
minor improvements for Julia readme file 2018-10-18 19:56:35 +03:00
Adam Beckmeyer
3d9c40b01d
Add warning that lsp doesn't work with Julia 1.0 yet 2018-10-18 19:53:20 +03:00
Juuso Valkeejärvi
50eda6a897
Fix autocompletion of file names in js2-mode when lsp is used
Do transformation only when completions are returned by lsp.
2018-10-18 19:42:59 +03:00
duianto
0f1c461a5c
Fix missing newline warning
problem:
`'face 'minibuffer-prompt` and `new-name` are shown with an orange color,
and `describe-char` shows that they have the face: `font-lock-warning-face`

solution:
adding a newline before them removes the orange warning color
2018-10-18 19:34:15 +03:00
Boris Buliga
ecce0197f8
add actions to open funcs.el and layers.el from layers help 2018-10-18 19:33:29 +03:00
emacspace
0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
Boris Buliga
4024b60757
do not use xor 2018-10-17 06:56:40 +03:00
Boris Buliga
d81e75584e
bump year in the copyright headers
Folks, this time of year has come. We can bump year in the copyright headers.
Let's celebrate!
2018-10-16 20:27:05 +03:00
Boris Buliga
53f5121a03
allow dynamic width lock setup for treemacs
Following #11384

Right now treemacs-lock-width variable affects width lock only during treemacs
initialisation. Any later modifications have no effect on treemacs behaviour.
This commit changes it by moving evaluation of treemacs-lock-width to the
treemacs-mode-hook.
2018-10-16 20:25:07 +03:00
Josh Greenwood
b8d5555340
fixes typo. s/with/wish 2018-10-16 09:20:16 +03:00
Stéphane Bisinger
8db682fc6d
Fix the rename file and organize import key binding for typescript 2018-10-16 09:19:24 +03:00
emacspace
cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
JAremko
12b4fdb1fe fix sayid url 2018-10-13 23:56:28 +03:00
Boris Buliga
0ba3fb479e
use a global key binding for helm-org-rifle
Fixes #11420
2018-10-13 19:25:35 +03:00
Stéphane Bisinger
c68c526fd6
Add keybings to rename the file and organize imports in typescript 2018-10-13 19:24:32 +03:00
Boris Buliga
4929f62a70
add instructions for setting shell for multi-term
Fixes #5818
2018-10-13 19:23:14 +03:00
Matt Kramer
5f27eee072
Fix global toggles for aggressive-indent and smartparens
Previously the global toggles acted on the local instead of global mode
2018-10-13 19:22:23 +03:00
Daniel Rivas Perez
b860fd760c Fixed shell popup broken on macOS
Shell popup was broken, removing the '.' fixed it.
2018-10-13 11:05:27 +01:00
cipharius
79fe37c8b2
Wrap 'shell' command to start in current buffer 2018-10-12 18:29:04 +03:00
deb0ch
2e0f495c47
treemacs layer: make treemacs resizable by default 2018-10-11 19:57:12 +03:00
Matt Kramer
df6d744b86
Put magic-latex-buffer in TeX-update-style-hook instead of LaTeX-mode-hook
See https://github.com/zk-phi/magic-latex-buffer/issues/36
2018-10-11 09:12:58 +03:00
Boris Buliga
58cb7257d2
load helm-org-rifle only when helm layer is used 2018-10-11 08:59:27 +03:00
Langston Barrett
ff9fd1bcc3
org layer: add helm-org-rifle, bind to SPC m r 2018-10-11 08:54:41 +03:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Robert O'Connor
aabe2817df
java layer: Fix typo in README 2018-10-10 22:08:55 +03:00
Daniel Molina
c60072cd2c
Fix: add prefix to org-mode clock options. 2018-10-10 08:06:00 +03:00
Colin Woodbury
6ea44f6205 pact: reference flycheck-pact as found on MELPA 2018-10-09 22:35:49 +01:00
Colin Woodbury
43e3faca4f pact: Fixed README formatting 2018-10-09 22:35:49 +01:00
Colin Woodbury
122571ef8d pact: Add a README 2018-10-09 22:35:49 +01:00
Colin Woodbury
0ae0c2580f pact: Flycheck compatibility 2018-10-09 22:35:49 +01:00
Colin Woodbury
2df43d5ecf pact: silence some warnings 2018-10-09 22:35:49 +01:00
Colin Woodbury
3241347981 pact: attempt to activate flycheck 2018-10-09 22:35:49 +01:00
Colin Woodbury
4819cd41be pact: Enable repl loading 2018-10-09 22:35:49 +01:00
Colin Woodbury
7cfae1539f pact: first pass
- This works! We can get syntax highlighting in `.pact` files.
2018-10-09 22:35:49 +01:00
Xiang Ji
b10dd39154 Julia: Add instructions for compiling language server. Fix typo. 2018-10-09 22:22:53 +01:00
Arne Brasseur
80baa130cf Make clj-refactor off by default, update Clojure README
Document how to use the newly introduced variables to enable sayid and
clj-refactor.

Also update the documentation on adding CIDER-related dependencies. CIDER 0.10
is three years old now, so I think the case where cider middleware isn't
injected automatically is getting rare. However there is still a good use case
for running your Clojure process outside of Emacs/CIDER, meaning you don't get
to benefit from `cider-jack-in`'s magic insjections, so I have focused more on
that case, adding information for clj-refactor's and sayid's middleware, as well
as CIDER's.
2018-10-09 22:18:51 +01:00
Alexander Wingård
07a7776b6f Override read-only when capturing clear in shell
When shell layer intercepts the clear commands and tries to replace it with
erase-buffer, this fails with 'Text is read-only'.
Work around this by using inhibit-read-only.
2018-10-09 00:16:20 +03:00
Langston Barrett
ad8eb85960 layers/+emacs/org: more clock keybindings, more consistency
Previously org-clock-related keybindings lived under "aok" (when not
in org-mode) and "mC" (in org-mode). This changes "aok" to "aoC",
adds more keybindings under both, and makes them more consistent
overall.
2018-10-08 22:11:31 +01:00
Daniel Caixinha
1c166c279e
Add docker-compose keybinding to Docker layer
After merging [this PR](https://github.com/Silex/docker.el/pull/39), the
`docker.el` package now supports integration with `docker-compose`. This
commit adds a keybinding for `docker-compose`, which allows us to
interact with compose files for the current project.
2018-10-07 13:16:41 +03:00
deb0ch
2ac7ee8f9b
magit: enable colors in magit-log 2018-10-06 09:47:11 +03:00
Boris Buliga
39e4f1ab7c
update to flyspell-correct v0.5
`flyspell-correct-word-generic` and `flyspell-correct-previous-word-generic` are
deprecated and replaced by `flyspell-correct-at-point` and
`flyspell-correct-wrapper` respectively.

`flyspell-correct-wrapper` has a so-called 'rapid' mode, where you can correct
multiple words in a single run.
2018-10-05 09:38:59 +03:00
syl20bnr
9865e77313 Fix header typo 2018-09-11 15:08:53 -04:00
syl20bnr
9f8b867af1 Add SPC f y n and SPC f y N to copy the name of a file 2018-09-11 15:04:19 -04:00
Kalle Lindqvist
ba93316939 treemacs: create and bind toggle project function 2018-09-11 00:44:48 +03:00
Deepu Mohan Puthrote
afa6f0ba66 Review comments: shorter prefix name and :commands above :init 2018-09-10 22:30:41 +01:00
Deepu Mohan Puthrote
d68af4833f Remove post-init and use :commands to optimise loading of counsel-spotify 2018-09-10 22:30:41 +01:00
mjkramer
b8ca9f80d4 Add multi-term' to shell-default-shell' doc 2018-09-10 22:28:37 +01:00
Matt Kramer
b4eeda6cb6 Add 'prettier to error msg of spacemacs/typescript-format 2018-09-10 22:28:03 +01:00
Kalle Lindqvist
67165df30c notmuch: use melpa for counsel-notmuch 2018-09-11 00:18:27 +03:00
Kalle Lindqvist
4d75af3e89 pass: add ivy-pass 2018-09-11 00:18:27 +03:00
duianto
d40d45c256 [treemacs] give names to which-key +prefix entries
problem:
Which-key subgroups get the default name `+prefix`. The subgroup has to be
opened to find out which keys it contains.

solution:
Add more descriptive names:
```
c      treemacs-create
o      treemacs-visit-node
oa     treemacs-visit-node-ace
t      treemacs-toggles
y      treemacs-copy
C-p    treemacs-projects
C-p c  treemacs-projects-collapse
```
2018-09-10 22:06:26 +01:00
Codruț Constantin Gușoi
be93ed91a0 Fixes spotify documentation formatting 2018-09-07 00:42:09 +03:00
bmag
044237139b Fix regression: void function helm-current-directory on C-x C-f
Invoking C-x C-f (spacemacs/helm-find-files) right after startup, before helm is
loaded, caused a void function error for helm-current-directory. This fixes it.
2018-09-06 10:57:27 +03:00
WarFox (Deepu Mohan Puthrote)
534785ad3d Documentation and keybindigs 2018-09-06 02:09:49 +03:00
Yuki Yoshioka
74bee3e6db add counsel-spotify to spotify layer for ivy users 2018-09-06 02:05:00 +03:00
Magnus Therning
ca8aa4e9b9 org: re-arrange sync keys and add sync for cards
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
Magnus Therning
ab3b4c30ec org: move org-trello keys to "SPC m m"
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
syl20bnr
e641e6c6e6 Add doom-emacs mode-line theme
Set dotspacemacs-mode-line-theme to 'doom to enjoy this great minimalistic
mode-line.
2018-09-04 14:53:39 -04:00
syl20bnr
79d9b2ea4b ledger: simplify use-package configuration 2018-09-04 14:53:39 -04:00
James Wang
a226c78ea1 Ivy: Add keybinding for counsel-minibuffer-history 2018-09-03 22:15:27 +01:00
Seong Yong-ju
ce1cd872f9 Prefer eslint_d to eslint 2018-09-03 22:13:38 +01:00
Evan Klitzke
95f276bd21 Add helm-git-grep to the git layer 2018-09-04 00:06:03 +03:00
Miciah Masters
7852c3b36e Delete compilation finish hook
Before this commit, Spacemacs assigned an anonymous function to the
compilation-finish-function variable.  This variable was deprecated
in Emacs 22.1 and removed in Emacs 27.1 in favor of the
compilation-finish-functions hook.  Consequently, the assignment has
no practical effect in Emacs 27.1.

Although we could add the Spacemacs function to the new
compilation-finish-functions hook, the function serves little purpose; it
prints a generic message when compilation succeeds:

    compilation ok.

and it prints the key binding for spacemacs/next-error when compilation
fails:

    There were errors. Use SPC e n to visit.

However Emacs already prints messages to indicate success or failure,
respectively:

    Compilation finished

or (for example)

    Compilation exited abnormally with code 1

Because the Spacemacs function prints its "There were errors" message
immediately after Emacs prints its "Compilation exited abnormally" message,
the latter was obscured.  Because the exit code in Emacs's message could be
useful and the added value of the Spacemacs function's message is minimal,
we can simply delete the Spacemacs function.

* layers/+spacemacs/spacemacs-defaults/funcs.el
(compilation-finish-function): Delete the assignment and anonymous
function.
2018-09-03 21:29:53 +01:00
Kalle Lindqvist
3784b752b6 treemacs: remove unneeded pound symbols 2018-09-03 22:54:20 +03:00
Alexander Eberspächer
77afc63da8 Fix pyenv using system Python
Check the case of "pyenv which" returning "system". In this case, find the
Python executable using default "executable-find".
2018-09-03 20:21:05 +01:00
Jeremy Bi
955b2a19d6 proof-general is added in MELPA 2018-09-03 20:18:28 +01:00
Seong Yong-ju
de346e33c6 Fix issues in ruby layer
Add a prefix for rake and refactor/RuboCop/robe commands. Add test and toggle
prefix for enh-ruby-mode. Use enh-ruby-toggle-block in enh-ruby-mode, instead of
ruby-toggle-block. Remove the prefix in prefixes "ruby/".
2018-09-03 20:17:30 +01:00