Commit graph

10266 commits

Author SHA1 Message Date
smile13241324 9c2194434a Add missing entry to CHANGELOG.develop 2019-10-19 21:41:35 +02:00
duianto 75b266ff39 [javascript] Document layer var: javascript-fmt-on-save
Also mention prettier as the other formatter in the features section.
And wrap some long lines.
2019-10-19 21:32:42 +02:00
smile13241324 25dbbd1e5a [conda] Revise conda layer
Conda layer needed some additions to be spacemacs
conform. In detail I did:
* Add missing features block and TOC declaration in README
* Change bindings to extent the existing python bindings
  rather than adding new general bindings.
* Make conda layer require python layer
2019-10-19 21:06:57 +02:00
Zach Pearson b4ff40b941 Add conda layer (to work with anaconda environments) 2019-10-19 20:00:00 +02:00
duianto e96f0adfdd Fix C-k in company with tooltip
Got the idea for the fix from this comment:
https://github.com/expez/company-quickhelp/issues/17#issuecomment-526783169

I simplified it to only un/define C-k, since C-j worked without the fix.
2019-10-19 19:42:21 +02:00
Martin Račák 320504dfc1 Fix GNU Global install instructions for macOS
Original command throws error. Previously optional features are now enabled by
default.
2019-10-19 15:36:02 +02:00
kalium 1ee7a9a640 Update NixOS layer banner
The NixOS logo has changed since the NixOS layer was made. This commit
replaces the layers banner with the current official NixOS logo.

Source of the new logo: https://github.com/NixOS/nixos-artwork/tree/master/logo
2019-10-19 11:55:56 +02:00
Miloš Mošić b9f3ed61f4 [elixir] Enable evil-matchit in elixir mode 2019-10-19 10:47:28 +02:00
duianto a1db805e5a Update changelog.develop 2019-10-19 00:48:28 +02:00
Gia Thanh Vuong 18715b872b bind c-ret to cider-repl-newline-and-indent in repl
For evil insert mode
2019-10-19 00:32:51 +02:00
Hong Xu 301d867aff tags-table-mode should be in spacemacs-large-file-modes-list
It is light-weight and it is common that tags are large.
2019-10-19 00:20:21 +02:00
alex argunov 92b7b65d13 Add available formatters to typescript readme 2019-10-18 22:39:44 +02:00
Tianyi Wang 8d474b1e10 [spotify] Add notes for ivy search 2019-10-18 22:27:31 +02:00
Zach Pearson ef1cecce01 Add a way to start an EIN Jupyter server from Spacemacs's UI 2019-10-18 20:59:09 +02:00
Aaron Jensen 1bd3777006 Fix tide with tsx files
This was broken in
ac30247811
if you do not specify a backend explicitly
2019-10-18 20:36:05 +02:00
Tianyao Chou 06786b4e66 Add company-box and basic setup
add auto-completion-enable-help-tooltip support

add auto-completion-use-company-box option and update document

add company-box config source url, remove empty line and join single line parenthesis

hide company-box mode line

update CHANGELOG.develop

hide doc popup when selection changed

add all-the-icon in auto-completion-packages

move icons config to auto-completion/init-all-the-icons according to duianto's advice
2019-10-18 13:20:55 +02:00
Hong Xu d35e7b85bf Allow users to enable treemacs-tag-follow-mode as initial setup. 2019-10-17 09:34:12 +02:00
Hong Xu e37b70cfa3 Bound counsel-git to gff and move magit-find-file to gfF.
counsel-git find a file in the current git repository. "gff" is
currently bound to magit-find-file. While counsel-git seemingly performs the
same functionality as magit-find-file, they are substantially different:
magit-find-file is not intended to find a file, contrary to what the
name indicates. See https://github.com/magit/magit/issues/3967 for
explanation. This is why we need another key binding for counsel-git.
2019-10-16 22:03:42 +02:00
wenpin a45948c759 fix typo
There are two `dap-firefox-setup` while `dap-chrome-setup` never show up
2019-10-16 21:04:14 +02:00
duianto b255261495
.travis.yml Install libgnutls-dev 2nd attempt 2019-10-15 10:01:17 +02:00
Boris Buliga 5785f1788f [python] update jedi instructions
Following 150390968b
2019-10-14 22:18:11 +02:00
Miciah Masters 8d6f736209 Delete old git-link and git-timemachine code
Delete integration code for git-link and git-timemachine, which is
superseded by upstream changes to git-link committed in August 2016:
433ba1dba7

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/git/funcs.el (spacemacs/git-link-copy-url-only):
Replace call to spacemacs/git-link with a call to git-link.
(spacemacs/git-link-commit-copy-url-only): Replace call to
spacemacs/git-link-commit with a call to git-link-commit.
(spacemacs/git-link, spacemacs/git-link-commit): Delete functions.
* layers/+source-control/git/packages.el (git/init-git-link): Replace
binding to spacemacs/git-link with a binding to git-link.
2019-10-14 18:18:49 +02:00
duianto 98e7bf38ad [ivy] Rename counsel-more-chars to ivy-more-chars
counsel-more-chars was renamed to ivy-more-chars a year ago:
Move counsel-more-chars-alist and counsel-more-chars to ivy.el.
4461ef302a

with an alias to counsel-more-chars.

The alias was removed 2 days ago:
ivy.el: Clean up obsolete aliases
1a9002bf4b
2019-10-14 10:34:19 +02:00
duianto 441c5653ca
.travis.yml Install libgnutls-dev 2019-10-14 08:53:20 +02:00
Thijs Vermeir f753076772 fix documentation in markdown layer 2019-10-13 16:22:44 +02:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Miciah Masters 991aa5a6e5 [search-engine] Fix typo of "Hoogle" as "Hoggle"
* layers/+web-services/search-engine/packages.el
(search-engine/init-engine-mode): Fix typo "Hoggle" for the name of the
Hoogle search engine.
2019-10-13 11:31:33 +02:00
Miciah Masters 7db8815ee5 Simplify loading logic for eshell-z
* layers/+tools/shell/packages.el (shell/init-eshell-z): Replace use of
with-eval-after-load by using use-package's :after keyword to load eshell-z
when eshell is loaded.
2019-10-13 11:15:46 +02:00
Miciah Masters c7516a84c6 Fix documentation for key bindings
* layers/+lang/mercury-layer/README.org: Fix key bindings.
2019-10-13 10:46:45 +02:00
Miciah Masters ec0a535b27 Show conflicts in smerge ts hint
Use a dynamic hint for the smerge transient state in order to show the
current and total numbers of conflicts, and make the full hint toggleable.

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/version-control/config.el
(spacemacs--smerge-ts-full-hint-toggle): New variable.
* layers/+source-control/version-control/funcs.el
(spacemacs//smerge-ts-hint): New function.  Return a string indicating the
index of the current conflict and the total number of conflicts detected by
smerge-mode.  If spacemacs--smerge-ts-full-hint-toggle is true, append the
smerge transient state's full hint.
(spacemacs//smerge-ts-toggle-hint): Toggle showing the full hint for the
smerge transient state.
* layers/+source-control/version-control/packages.el
(version-control/init-smerge-mode): Define the transient state in :init so
we can use spacemacs|transient-state-format-hint.  Use
spacemacs//smerge-ts-hint to display a dynamic hint.  Bind the ? key to
spacemacs//smerge-ts-toggle-hint.
2019-10-13 10:09:42 +02:00
Miciah Masters e8cdaac8d3 Unique defvar for each ts full-hint toggle
Instead of using a single variable for all transient states' full-hint
toggle functions, define a unique variable for each toggle function so that
toggling the full hint for one transient state does not affect the others.

* CHANGELOG.develop: Add an entry for this change.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs--window-manipulation-ts-full-hint-toggle): New variable.
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint): Replace
spacemacs--ts-full-hint-toggle with
spacemacs--window-manipulation-ts-full-hint-toggle.
* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Delete variable.
(spacemacs--layouts-ts-full-hint-toggle)
(spacemacs--workspaces-ts-full-hint-toggle): New variables.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint): Replace
spacemacs--ts-full-hint-toggle with spacemacs--layouts-ts-full-hint-toggle.
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace spacemacs--ts-full-hint-toggle with
spacemacs--workspaces-ts-full-hint-toggle.
2019-10-13 10:09:42 +02:00
Miciah Masters 7be37a2aed Use truth values for spacemacs--ts-full-hint
Use nil and t instead of 0 and 1 for spacemacs--ts-full-hint values.

* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Define with an initial value of nil.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint):
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint)
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace (logxor ... 1) and (equal 1 ...) with (not ...) and a simple truth
check.
2019-10-13 10:09:42 +02:00
Martin Račák 1fec4ec135 Fix conditional backend setup
* Use spacemacs//python-backend to check which backend is being used
* Set leader keys for anaconda in :config to avoid overwriting by tags layer
2019-10-12 15:21:40 +02:00
Martin Račák c95534ace5 Revert "Use anaconda-mode-find-definition for SPC-m-g-g"
This reverts commit 9bafd3f561.
2019-10-12 15:21:40 +02:00
Rakan Alhneiti 9bafd3f561 Use anaconda-mode-find-definition for SPC-m-g-g 2019-10-11 22:03:59 +02:00
Sergio Morales 4ab684bd58 Update README.md
fix documentation to install fonts
2019-10-11 21:31:58 +02:00
Som Poddar 283ede755d Updated read-me
- Added brew specific commands for symlinking app on Mac
- Removed trailing white space chars
2019-10-11 14:42:20 +02:00
duianto 276b6e44ae Update changelog.develop
Key bindings:
Fixed indentation
Moved a key from the end of the org section to the key bindings section.
2019-10-10 21:22:56 +02:00
Lorenzo Manacorda 4b810795ea org-mode: Document more insertion bindings
`C-RET` and `C-S-RET`, from https://orgmode.org/manual/Structure-editing.html.
2019-10-10 21:21:28 +02:00
Tommy Groshong 59c95e7da2 Make react layer respect js fmt on save
The react layer relies on the javascript layer and uses multiple values
from it including definition of a formatter. However, the react layer
does not respect the javascript layer setting for formatting a file on
save.

This patch configures the react layer to add a before save hook that
calls the javascript layer formatting function when the
'javascript-fmt-on-save variable is enabled.
2019-10-09 18:29:23 +02:00
duianto 6e1ba5d1ad Update changelog.develop 2019-10-09 15:36:42 +02:00
Thanh Vuong ba1fba2455 add lsp for html buffer 2019-10-09 15:29:29 +02:00
Daniel Caixinha 7dd4118820 Add instructions to PlantUML README to set exec-mode accordingly 2019-10-06 21:16:05 +02:00
Matthew Leach d3cb959e36 [gnus] add gnus perspective
Configure the gnus layer to add a gnus perspective, similar to the erc layout.
2019-10-06 17:09:15 +02:00
Roman Gonzalez 28f3b6289d Add spacemacs/git-permalink functionality
Context:

When using org files, one normally tends to add Github code links to an
algorithm/bug explanation so that readers are able to follow along with a PR
change.

The current `<SPC> g l L` command gets us the URL to the current branch; given
the code is in flux, the link becomes non-sensical rather quickly, loosing value
when trying to build a document with explanations about the code.

This PR allows us to get the Permalink (e.g. link associated to the commit, not
the branch); using this, the URL contents will never change with new commits
submitted to the repository.

Changes:

  * Add two new functions with associated keybindings:

    - `<SPC> g l p` maps to `spacemacs/git-permalink`

    - `<SPC> g l P` maps to `spacemacs/git-permalink-copy-url-only`

  * The above changes rely on mechanisms of `git-link`, so no new code needs to
    be introduced
2019-10-05 19:19:41 +02:00
ahanwadi 98473c2a2d Fixed a typo
share the buffer -> the buffers
2019-10-05 19:03:29 +02:00
Hong Xu 50bb8a6dc1 Add document for option treemacs-use-git-mode
This option has been implemented but was not documented.
2019-10-05 18:51:36 +02:00
syl20bnr fdd38eec9b [shell] Add instruction to install cmake on MacOS 2019-09-30 02:29:50 -04:00
syl20bnr 996da0505f [dap] Fix errors in README.org 2019-09-30 02:25:48 -04:00