Commit graph

4273 commits

Author SHA1 Message Date
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
duianto 438ad905da Update delete file messages
problems:
the delete file prompt doesn't show which file it's about to delete,
and when the deletion request is canceled, then the question remains in the
minibuffer (the text disappears when an action updates the minibuffer, like
moving the cursor, but it might be confusing to still be seeing the question
after it's been answered)

solution:
show the file name in the delete file prompt, and show a canceled message
2018-11-12 22:07:25 +00:00
Ag Ibragimov 27b2fb424a Keeps previous position on toggle-maximize-buffer 2018-11-12 22:01:56 +00:00
Dela Anthonio 5c91e6a39c [html] revert: set company min. prefix length to 0 for company-web backend
This commit reverts ab34cc2d9d. Setting
company-minimum-prefix-length to 0 causes issues indicated in issue #8222. While
the user is free to set company-minimum-prefix-length to 0 if they please, doing
so affects editing any files that also use web-mode such as jsx files.
Additionally, new users to Spacemacs may be confused by this behavior since no
other layer sets company-minimum-prefix-length to 0.
2018-11-12 21:51:21 +00:00
yuhan0 0596e90c3d Add 'z' recenter bindings for various transient states
By analogy with the "zz", "zb", "zt" vim / evil bindings, this adds an
additional key binding "z" for `recenter-top-bottom` to the following
transient states which navigate around the buffer in large jumps:
- auto-symbol-highlight
- error
- buffer
- vcs
- org-babel

This allows for repositioning of the buffer for visibility without having to
exit the transient state.

Minor updates are also made to documentation of other transient states.
2018-11-12 21:47:17 +00:00
yuhan0 75844c04c7 Add hy-mode to safe-structural-editing list 2018-11-12 21:43:30 +00:00
Guan Xipeng f054573c6c fix: lsp-ui-peek-find-definitions is an async jump handler 2018-11-12 21:39:37 +00:00
Carlos Andrés Rocha 67c1b9bdf2 ipython-notebook: remove spurious leader key 2018-11-12 21:27:11 +00:00
Alexander Dalshov 50f8eb40b8 [helm-make][helm-ctest] - add configuration sample with projectile 2018-11-12 21:10:42 +00:00
Fangrui Song d936802419 Some tweak to c-c++ layer
c-c++-enable-rtags-support has been removed in favor of c-c++-backend. Don't mention it in README

Delete .ccls from c-c++-adopt-subprojects
  as in ccls, .ccls-root is recommended for this purpose

Delete the extra parameter :levels 3 from $ccls/inheritance
  Finding the immediate bases is usually more desired

The parameters of refs-* in ccls are not in :context
2018-11-12 21:03:38 +00:00
syl20bnr f513df6250 plantuml: no automatic indentation on paste 2018-11-12 09:24:38 -05:00
syl20bnr e81aa032ce plantuml: add puml extension 2018-11-12 09:24:38 -05:00
Codruț Constantin Gușoi 48447a6f1b Removes remaning refference to c++11 arg 2018-11-11 18:30:06 +02:00
JAremko a3cac69fb4 Fix src blocks in c-c++ layer 2018-11-09 23:10:54 +02:00
Codruț Constantin Gușoi 9332115e8c Maybe @emacspace does not like block endings without language? 2018-11-09 22:08:34 +02:00
emacspace 63bf38217a documentation formatting: Fri Nov 9 18:25:27 UTC 2018 2018-11-09 22:01:35 +02:00
Codruț Constantin Gușoi aac242c2b7 Workaround for opening files from buffers without winum 2018-11-09 21:57:14 +02:00
Codruț Constantin Gușoi 9da5da1d2e Fixes raw link to the lsp layer documentation 2018-11-09 01:09:55 +02:00
cormacc 445f6af93f Added cquery and ccls backend support to c-c++ layer
<<Amendment 1 01/09/2018>>
Incorporated initial feedback from multiple sources (PR discussion)

<<Amendment 2 04/09/2018>>
Incorporated feedback from MaskRay.
Fixed projectile post-config hooks.
Added `c-c++-adopt-subprojects' layer option.

<<Amendment 3 07/09/18>>
Corrected cache section in README to describe new cache defaults introduced by
Amendment 2.

<<Amendment 4 13/09/18>>
Corrected config var names in readme.
Rebased on current develop branch tip.

<<Amendment 5 14/09/18>>
Minor adaptations for compatibility with upstream ccls changes.

<<Amendment 6 21/09/18>>
Bindings updated for consistency with lsp layer lsp-navigation config variable.

<<Amendment 7 1/11/18>>
Rebased

<<Amendment 8 06/11/18>>
Incorporated readme correction from svenihoney.

<<Amendment 9 06/11/18>>
Updated c-c++/refresh-index wrapper for ccls function renamed upstream.
Moved 2 bindings from 'l' to 'b' to reflect updated lsp-layer mnemonic
2018-11-09 01:02:21 +02:00
JAremko 141b6328e3 Reformat docs 2018-11-08 22:37:23 +02:00
JAremko d2f4cb7114 Add Features: list 2018-11-08 22:37:23 +02:00
Boris Buliga 1c4ad177f1
[json] minor improvements
1. mention prettier in readme summary
2. format code
3. use when instead of if
2018-11-07 08:30:42 +02:00
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
Fangrui Song 06d95490dc +tools/lsp: remove lsp-ui-peek-expand-by-default
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) https://github.com/emacs-lsp/lsp-ui/pull/148 . This is no longer needed.
2018-09-03 20:16:46 +01:00
Alexander Eberspächer fb078f724e Fix keybindings in documentation of spell checking transient state 2018-09-03 20:15:33 +01:00
Francesc Elies Henar c57dd4870a Adds spell checking transient state 2018-09-01 00:19:59 +03:00
Codruț Constantin Gușoi 4148d567d4 Fixes elm readme formatting 2018-09-01 00:13:04 +03:00
Ting Zhou 91bf157706 make spacemacs/counsel-search with proper highlighting 2018-09-01 00:13:03 +03:00
duianto f143f76393 [jsonnet] readme.org: fix keybinding table
problem: a space before the closing ~, breaks the formatting
solution: remove the space to hide the ~ signs

And remove a word: "to"
2018-08-31 22:07:25 +01:00
Juan Edi 2ecfc21e3a Add elm-test-runner to elm layer
The package adds some convenient commands to run elm-test on:

  - a file
  - a directory
  - a projects

It also provides a handy way to toggle between a test and its implementation.
2018-09-01 00:05:36 +03:00
Magnus Therning d29c783286 org: add a toggle for bringing in org-trello
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-08-31 23:45:10 +03:00
mpanarin ae00b1c70a Revert "Disable evil-ediff for now"
This reverts commit 4dbd5e6110.
2018-08-31 16:58:05 +03:00
JAremko cea81dd0ce [spacemacs-docker] clean .#recentf 2018-08-30 13:41:32 +03:00
bmag e3ad8d2a5f ivy-rich: update config for upstream changes
ivy-rich-switch-buffer-align-virtual-buffer has been made obsolete and doesn't
have a replacement.
2018-08-30 12:00:10 +03:00
Codruț Constantin Gușoi 816099aa2b Fixes keybinding conflict with fasd layer
The `SPC f a` keybinding was already used by the `fasd` layer so a
workaround had to be found for the newly introduced one.

Refs: c2e377c902
Refs: #11224

Thanks @agzam for pointing it out and investigating potential solutions.
2018-08-30 00:13:43 +03:00
JAremko 96d0fff00c [spacemacs-docker] up clojure installer 2018-08-29 23:12:02 +03:00
Ag Ibragimov ffc1617dd9 [mu4e] kill mu4e layout on app exit 2018-08-28 23:08:01 +01:00
cormacc 4ce0c259a0 lsp-layer core keybinding amendments
`m g a` typically used to switch between .c and .h files.
Rebound `goto-viewport-symbol` under `m g k`
Added missing bindings for lsp-ui-find-implementation under `m g l`

Incorporated some other feedback from @yyoncho and @sdwolfz
(See PR discussion for detail)
2018-08-28 22:48:48 +01:00
Benno Fünfstück 03b8f71997 fix typos 2018-08-28 22:37:08 +01:00
Benno Fünfstück f31bed7f52 python-mode: fix indent offset guessing for tab indentation 2018-08-28 22:37:08 +01:00
duianto 35b258cd51 [Haskell] Fix Readme.org typos, missing words 2018-08-28 22:13:14 +01:00
Andriy Senyshyn 24d5607b7b Update gocode repo
nsf/gocode is not maintained anymore. change to https://github.com/mdempsky/gocode
2018-08-28 21:59:29 +01:00
Miciah Masters 25ac434e83 Only disable eyebrowse advice if it exists
Fix issue #11207.

Only try to disable eyebrowse's advice on rename-buffer if we can find that
advice.  If eyebrowse is older than version 0.7.6 (2017-11-22), the advice
will not exist, and attempting to delete it will cause an error:

    ad-disable-advice: rename-buffer is not advised

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//activate-persp-mode): Only disable the
eyebrowse-fixup-window-configs advice for rename-buffer if the advice
exists.
2018-08-28 21:57:27 +01:00
Cormac Cannon c122eb6a05 lsp-layer configuration and building blocks for derived layers.
See README.org for details

<<amendment 1>>
Updated some keybindings based on CONVENTIONS doc
Corrected file headers
Incorporated some immediate feedback from MaskRay

<<amendment 2>>
Corrected keybindings in README.org

<<amendment 3>>
Eliminated stray org-mode tag at table foot in README.org
Eliminated new 'l' prefix and moved bindings under 'g'

<<amendment 4>>
Updated defaults in config.el based on feedback from sebastiencs (lsp/lsp-ui dev)
- lsp-ui-sideline enabled by default
- lsp-ui-peek-expand-by-default disabled

<<amendment 5 09/04/18>>
Removed 'spacemacs/' prefix from lsp-format-buffer binding

<<amendment 6 09/04/18>>
Moved lsp-ui-peek bindings under j (jump)
Added goto bindings for new lsp-mode functions goto type definition and goto implementation

<<amendment 7 31/05/18>>
Corrected layer title in file headers
Rebased on dev tip (390462e)

<<amendment 8 03/07/18>>
Added keybindings for lsp-describe-thing-at-point,
lsp-workspace-restart, lsp-execute-code-action suggested by Yyoncho (LSP
Java)
Added avy keyboard navigation function provided by MaskRay
Reverted lsp-ui-peek to expand by default after an upstream change that
restricts expansion to current document, addressing the previous
performance issue.

<<amendment 9 04/07/18>>
Corrected keybinding for lsp-describe-thing-at-point

<<amendment 10 19/07/18>>
Rebound lsp-restart-workspace under mlq
Declared 'lsp' prefix (myrgy)
Added evil-set-command-property fix suggested by Yyoncho
Moved lsp-c-c++ layer from private branch to this PR after spending too
many hours of my life rebasing after circle CI picks up a formatting
error :)

<<amendment 11 25/07/18>>
Rebased
Bound cquery-freshen-index under lf
Bound cquery-preprocess-file under lp

<<amendment 12 01/08/18>>
Rebased
(c-c++ layer) moved semantic refactor refactor-at-point binding from mr
to mrp to prevent key binding error when semantic layer enabled

<<amendment 13 17/08/18>>
Added option to select ccls or cquery backend based on work by myrgy
Rebased on current upstream develop

<<amendment 14 20/08/18>>
Incorporated feedback from myrgy and maskray.
Corrected some duplication/inconsistencies.
Rebased.

<<amendment 15 21/08/18>>
Reduced duplication in backend config

<<amendment 16 22/08/18>>
Removed lsp-c-c++ layer example -- to be merged with c-c++ layer once
this PR is sorted

<<amendment 17 23/08/18>>
Added CHANGELOG.develop entry as per updated contribution guidelines.

<<amendment 18 24/08/18>>
Moved some keybindings as per feedback from sdwolfz
2018-08-23 23:02:52 +01:00
Miciah Masters 31f4c2a005 Advise rename-buffer when persp-mode activated
Before this commit, spacemacs-layouts/init-eyebrowse advised rename-buffer
with spacemacs//fixup-window-config.  However, this advice causes problems
if persp-mode is not activated when a function tries to rename a buffer.

In particular, Spacemacs's CI uses Emacs's batch mode to run
spacemacs/publish-doc, which uses rename-buffer.  In batch mode, persp-mode
is not activated, and consequently spacemacs/publish-doc was failing:

    Publishing file /home/travis/.emacs.d/news/news01.org using ‘org-html-publish-to-html’
    Skipping check for new version (reason: dotfile)
    Wrong type argument: hash-table-p, nil
    Warning (emacs): recentf mode: Wrong type argument: hash-table-p, nil
    spacemacs/publish-doc failed

In order to avoid problems, this commit moves the advising of rename-buffer
from spacemacs-layouts/init-eyebrowse to spacemacs//activate-persp-mode.

* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Move advice from here...
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//activate-persp-mode): ...to here.
2018-08-23 10:29:37 +01:00
Seong Yong-ju 2c21d5098a Add prettier layer
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
John Lee 9d2a1085ee Fix key bindings for wgrep
The problem was not with the existing bindings, but rather:

1. C-x C-e (spacemacs//counsel-edit -- from an ivy completion session) would
land you in an ivy-occur buffer with wgrep enabled but in motion state.  This
meant the spacemacs key bindings for wgrep were not available.  In particular,
the usual routine is:

* (enter ivy completion session, e.g. with SPC s a P)
* C-c C-e
* edit the buffer as needed
* , , (wgrep-finish-edit)
* , s wgrep-save-all-buffers

2. That last binding (, s) was not there.

One issue is that , s is available before wgrep-finish-edit is called, which is
confusing because I don't think it has any useful function at that point in
time.
2018-08-21 23:52:22 +03:00
Miciah 4972855231 Fix updating buffer names in window configurations
Eyebrowse stores window configurations for workspaces in frame properties.
These window configurations reference buffers by name, which means that
these references must be updated when a buffer is renamed.  To this end,
eyebrowse advises rename-buffer.

Spacemacs integrates eyebrowse with persp-mode by saving the eyebrowse
workspaces for a perspective as a parameter for that perspective so that
Spacemacs can restore a perspective's workspaces when switching to that
perspective.  However, eyebrowse's advice for rename-buffer fails to update
inactive workspaces, for which the window configurations are stored in
perspective parameters and not frame properties.

This commit disables eyebrowse's advice and adds perspective-aware advice
to update buffer references in workspace window configurations.

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//fixup-window-configs): New.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Remove eyebrowse-fixup-window-configs
advice for rename-buffer and advise with spacemacs//fixup-window-configs
instead.
2018-08-21 23:27:31 +03:00
Arne Brasseur 77cf6a2a36 Clojure layer: make sayid optional 2018-08-21 22:42:17 +03:00
kyoncho 862d873fa8 LSP Java backend for the Java layer
Fixes #10654

Added new backend for the Java.
2018-08-21 20:36:06 +01:00
Lupco Kotev 25be8ecb62 Update documentation to include golangci-lint 2018-08-20 23:03:45 +01:00
Lupco Kotev 1d49cd7ed8 Add golangci-lint support 2018-08-20 23:03:45 +01:00
Masayuki Takemura c2e377c902 spacemacs-defaults: add a keybind to open a file and replace buffer with it
Define an alias and use it internally so that (1) the name of the command will
be better to understand what it does than the original name and (2) Helm or Ivy
interface is invoked instead of Ido.

These are suggested in PR #11115.
2018-08-21 00:55:37 +03:00
Langston Barrett ab5b171524 apply patch from @sdwolfz re: formatting 2018-08-20 22:42:23 +01:00
Langston Barrett 8fcf41cd54 coq: add keybindings for company-coq's documentation functions 2018-08-20 22:42:23 +01:00
Andrew Stevanus 1045185c9f Fix Elfeed not saving on quit
This binding is redundant since Elfeed already binds q to
elfeed-search-quit-window.
2018-08-20 22:40:53 +01:00
Xiang Ji 5c702863bf Add chinese-conv package to chinese layer.
[chinese-conv](https://github.com/gucong/emacs-chinese-conv/) performs
conversion between simplified and traditional Chinese texts
2018-08-21 00:27:37 +03:00
smile13241324 a9a9b701ac doc: fix various errors in gtags layer README 2018-08-20 22:13:48 +01:00
Miciah Masters 4408788799 github: Disable status, issues, and PRs by default
Try again to fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub): Disable
the GitHub project status, pull requests, and issues sections by default.
* layers/+source-control/github/README.org: Document that these sections
are all disabled by default, and how to enable them.
2018-08-18 15:06:26 -04:00
Miciah Masters 6659088dc5 github: Make Magithub offline by default
Fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub):
Configure Magithub to be offline by default.
* layers/+source-control/github/README.org: Add documentation about
Magithub's offline mode.
2018-08-18 13:22:37 +01:00
gdkrmr 71bea49e48 add key bindings julia layer evil-surround 2018-08-16 23:55:27 +01:00
Ljupcho Kotev 107833af16 Remove unnecessary company-go function 2018-08-16 12:01:38 +01:00
Ismael f1066ec66e Fixes React imports when using web beautify. 2018-08-16 00:55:32 +03:00
Ljupcho Kotev 81865e1ea2 Change backend name from default to go-mode 2018-08-16 00:39:17 +03:00
Lupco Kotev bb3e3b2103 Add lsp support for go 2018-08-16 00:39:17 +03:00
jpathy 13d0212c18 Associate nix-mode with .nix files 2018-08-16 00:19:11 +03:00
smile13241324 252c94a1ce doc: revise docs for auto-complete and syntax-checking layers
Syntax-checking and auto-complete layers should more
directly communicate that their function depends on
the installation of individual language layers to avoid
misunderstandings with new users who only install
syntax-checking or auto-complete and install the packages
manually.
2018-08-15 22:15:45 +01:00
smile13241324 c0afbd0ee5 search-engine: add ecosia and make each engine use https 2018-08-15 20:22:42 +02:00
Codruț Constantin Gușoi 6a724e416d Fixes formatting on ruby readme 2018-08-11 13:13:22 +03:00
Brandon Conway 6302748f99 Add seeing is believing 2018-08-11 12:53:50 +03:00
Wieland Hoffmann b18672d9d1 core: Add support for lazy installation of the systemd layer
The list of supported file extensions is taken from
401d71c2dd/systemd.el (L391-L392).
2018-08-11 11:56:29 +03:00
Adam Beckmeyer 42f9ad4290 Add dedicated julia layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer feee0844c5 Remove julia from major-modes layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer 36161b4d47 Remove julia from ess layer 2018-08-11 09:16:15 +01:00
gdkrmr 4af499588a fix java layer 2018-08-09 23:02:16 +01:00
gdkrmr 875d4a6afc remove explicit prog-mode-hooks for ess 2018-08-09 23:02:16 +01:00
gdkrmr 8b858abc6a fix for ess issue emacs-ess/ESS#589 2018-08-09 23:02:16 +01:00
gdkrmr bf23cb17dd keybindings for the repl 2018-08-09 23:02:16 +01:00
gdkrmr 3186da89bb add xref integration for ess 2018-08-09 23:02:16 +01:00
syl20bnr 3f47bf8e11 Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-08-09 23:02:16 +01:00
Kalle Lindqvist 0a81d5f4ad html: remove emmet TAB key binding for Emacs style
Allow to use TAB for indenting as usual.
2018-08-09 22:50:03 +01:00
Langston Barrett 178b0caeb8 lang/coq: more insertion keybindings 2018-08-09 22:49:01 +01:00
Miciah Masters 6058921a02 layouts: Add free buffers to current layout
This fixes issue #5776.

* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode):
Set persp-add-buffer-on-after-change-major-mode to 'free.
2018-08-09 22:43:11 +01:00
EMayej 17d9cbb86a docs(templates): template dir is set to private dir by default
templates directory under spacemacs.d won't be used anymore.
See commit 93dabc0bbc

Also see commit 04685e77ca for previous changes
2018-08-09 22:39:26 +01:00
EMayej ad9064fbf7 docs(templates): variable to disable emacs default templates
See commit 04685e77ca
2018-08-09 22:39:26 +01:00
lawr 591fe78eec go-layer: supoort set-tab-width equal nil to work with editorconfig 2018-08-10 00:36:46 +03:00
br3athein 72d2e7d09d Revert "Disable ac-ispell untill it's restored in melpa"
This reverts commit c290645261.
2018-08-09 22:28:27 +01:00
smile13241324 c20fe9a1ae doc: fix small typo in semantic feature block 2018-08-09 21:57:58 +01:00
Riley Levy 9af8e1564d Fix #1109: Escape argument for shell spacemacs/python-execute-file
Escape the filename before calling python on the filename in the shell in the
function `spacemacs/python-execute-file` by calling `shell-quote-argument`.
2018-08-04 10:51:49 -04:00
Miciah def07cbfa3 Fix smart-closing-parenthesis extra parenthesis
Fix issue #9477: spacemacs/smart-closing-parenthesis sometimes adds an
extra closing parenthesis.

spacemacs/smart-closing-parenthesis may call sp-up-sexp twice: first to
find the position of an existing closing delimiter or the position at which
one would be inserted, and second to insert a delimiter if necessary or
else move point after the existing closing delimiter.

The problem is that each call to sp-up-sexp may insert a delimiter, but
spacemacs/smart-closing-parenthesis is supposed to insert at most one.

The solution is to undo any edit performed by the first call to sp-up-sexp.

* layers/+spacemacs/spacemacs-editing/funcs.el: Undo any edit performed by
the first call to sp-up-sexp.
2018-08-04 10:48:00 -04:00
EMayej 6f9097e6f0 fix(python): index out of bound 2018-08-04 10:32:31 -04:00
Codruț Constantin Gușoi ca04186cfc Reverts js2-mode being forced on jsx files 2018-08-03 09:11:36 +01:00
Miciah 6d8be7b381 python: Initialize inferior-python-mode variables
Fix SPC m c c (spacemacs/python-execute-file) and SPC m c C
(spacemacs/python-execute-file-focus), which were causing
the following errors:

    save-current-buffer: Symbol’s value as variable is void: python-shell--interpreter
    error in process filter: python-shell-comint-end-of-output-p: Wrong type argument: arrayp, nil
    error in process filter: Wrong type argument: arrayp, nil

This commit also fixes issue #9070: spacemacs/python-execute-file-focus
does not change focus.

The problem is that spacemacs/python-execute-file-focus invokes
spacemacs/python-execute-file, spacemacs/python-execute-file invokes
inferior-python-mode, and inferior-python-mode uses the variables
python-shell--interpreter and python-shell--interpreter-args, which
the python package declares but does not initialize.

To resolve this problem, this commit initializes both variables to nil.

* layers/+lang/python/config.el: Initialize python-shell--interpreter and
python-shell--interpreter-args to nil.
2018-08-03 06:53:02 +03:00
Thomas de Beauchêne ce51206ff8 rjsx layer: match .jsx files as well 2018-08-03 01:58:45 +03:00
Thomas de Beauchêne 927a7c4566 javascript layer: open javascript files in js2-mode 2018-08-03 01:58:45 +03:00