Commit graph

316 commits

Author SHA1 Message Date
syl20bnr f26f0db8ae Lazy load helm-ctest 2018-06-11 01:49:19 -04:00
syl20bnr 49b1659a18 Lazy load lsp-mode 2018-06-11 00:28:11 -04:00
syl20bnr 699c1da30f Lazy load lsp-ui 2018-06-10 23:25:45 -04:00
syl20bnr 76981cda26 New layer category +readers, move layers:
dash
deft
elfeed
epub
pdf
speed-reading
2018-06-06 00:36:10 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Codruț Constantin Gușoi b68bd33a16 Fixes shell readme format 2018-05-28 00:50:16 +03:00
David Balatero 4ad2f719fa Add shell-default-width configuration option for left/right side 2018-05-27 23:58:03 +03:00
Codruț Constantin Gușoi 20d4443352 Declares the pandoc prefix 2018-05-27 23:29:07 +03:00
martian-f 71ce9ac3ed Fix run-pandoc resetting settings
When using spacemacs/run-pandoc to open the pandoc hydra, pandoc-mode
is called each time, which will overwrite any previous changes the user
might have done to pandoc--local-settings.

Fix this by calling pandoc-mode only when it is not yet enabled.
2018-05-27 23:19:06 +03:00
Evan Klitzke f98519c154 Add helm-pass to pass layer 2018-05-25 01:05:36 +03:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
Jonas Jelten 6d7c22c65c cmake: fix cmake-ide mode hook function name 2018-05-23 23:12:56 +03:00
Miciah Dashiel Butler Masters c18317ad05 shell: Restore correct value for company-idle-delay (#10728)
* shell: Restore correct value for company-idle-delay

In spacemacs//toggle-shell-auto-completion-based-on-path, re-enable
automatic suggestions by restoring company-idle-delay to the value of
auto-completion-idle-delay rather than to a hardcoded value.

* Document how to disable automatic suggestions

Document how to disable automatic suggestions, and mention that the Tab key
will still perform completion even with automatic suggestions disabled.
2018-05-23 00:27:08 -04:00
syl20bnr 8267b501dd web-beautify: rename spacemacs-web-beautify--modes 2018-05-20 00:41:17 -04:00
JAremko 958d2e95a5 Format documentation. 2018-05-20 02:15:51 +03:00
syl20bnr b97ad90c92 web-beautify: fix definition of web-beautify key bindings
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
Juuso Valkeejärvi 4deb56ca57 web-beutify: fix error when resyncing configuration 2018-05-19 01:48:52 -04:00
Juuso Valkeejärvi fa64eb3246 tern: fix issues when loading layer 2018-05-19 00:11:39 -04:00
syl20bnr 5f75e617a3 Fix documentation formating 2018-05-18 01:58:00 -04:00
syl20bnr 542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
Ting Zhou 8616f07b86 Add: use rjsx-mode for react framework
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
syl20bnr abf3df4ad7 New layer tern extracted from javascript layer 2018-05-18 01:25:29 -04:00
Codruț Constantin Gușoi a3debe1570 Fixes ansible key errors 2018-05-16 19:44:47 +01:00
Alexander Baier 5b70ac5009 Remove key-bindings pointing to removed commands
The ledger-mode maintainers removed ledger-set-month and ledger-set-year to fix
https://github.com/ledger/ledger-mode/issues/36. This was done in commit
782014ae.

The finance layer still had key-bindings pointing to these functions, that are
no longer defined, leading to errors when executing one of those bindings. This
simply removes the bindings to avoid confusion.
2018-05-15 00:45:24 +03:00
syl20bnr 0a32d339f5 debug: fix doc for eval variable and sort key bindings 2018-05-13 00:09:34 -04:00
syl20bnr 5cdc1ed056 Sort packages alphabetically and add spacemacs function prefix 2018-05-12 23:59:50 -04:00
CeleritasCelery 6e684739cb create debug layer 2018-05-12 23:46:18 -04:00
Alex Palaistras 70c1737c44 xclipboard: Fix keybindings for copy and page
This commit switches the keybindings for `xclipboard-copy` and `xclipboard-paste` to `SPC x y` and
`SPC x p` respectively, as it appears these were incorrectly assigned the other way around.
2018-05-11 10:25:52 -04:00
Nick Anderson 4cc57dea74 Fix automatic syntax checking for cfengine
The wrong mode for cfengine was specified for enabling flycheck. This properly
loads flycheck support when cfengine3 mode is active.
2018-05-11 00:42:52 -04:00
syl20bnr bb84c4a3a3 Fix xclipboard local package name 2018-05-11 00:29:05 -04:00
syl20bnr 1befcad00d Move xclipboard to a local package 2018-05-11 00:20:14 -04:00
Charles Weill e4cb2b37dc Add X clipboard support layer to terminal emacs.
The X clipboard allows a user to copy and paste content between different X
windows, e.g. copying text from Chrome into a Terminal. Copy/pasting with the X
clipboard it well supported in GUI Emacs, but not so well in terminal Emacs
(i.e `emacs -nw` or `emacsclient -t`) without resorting to using the mouse,
since terminal Emacs has no awareness of X. There are several incomplete Elisp
solutions out that work for the most part, but may not have cross-platform
support, or may fail over SSH with X forwarding or within a `tmux` session.

This layer adds support for OSX, Linux, Windows, and Cygwin using the relevant
binary on each system. For example on Linux, it uses `xsel` or `xclip` to
interface with the clipboard, depending which one is available. It also adds
support for ssh'ing into a different OS with X forwarding via `ssh -Y hostname`,
and copy/pasting to and from a remote terminal Emacs. It also supports an edge
case of continuing to work in an Emacs instance running inside a `tmux` session
which may have been started by a different ssh session, which relies on
explicitly reseting the `$DISPLAY` environment variable before calling the
relevant binary.

Yank code inspired by https://github.com/tmux-plugins/tmux-yank.

Fix #4662.

Tried to add xclip support but removed it since it freezes.
2018-05-11 00:00:01 -04:00
smile13241324 bf61b1500a Add keybinding to docker layer to build image without cache 2018-05-09 22:36:10 +03:00
syl20bnr 7596a156a4 Rename set-lsp-key-bindings and make it accept a list of modes 2018-05-08 00:17:56 -04:00
syl20bnr 4eaf160b90 lsp: fix typo 2018-05-07 23:34:31 -04:00
Ting Zhou 8df99c440b Clean: move spacemacs//set-lsp-key-bindings to lsp layer 2018-05-07 23:32:47 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
Aaron Jensen 13c7da3cd2 use-package-always-defer: fix regression in tmux 2018-03-03 14:39:36 +02:00
syl20bnr 4fe1600f45 cmake: fix lazy loading issues
Fixes #10402
2018-02-27 23:32:52 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr 83a6778eab Lazy load diff-hl and move lsp-ui-mode hook 2018-02-27 23:32:52 -05:00
syl20bnr 1f93c0576c terraform: add support for terraform-company 2018-02-24 20:24:23 -05:00
Paul 92428f3a47 shell: move eshell key bindings definition into a hook function
Problem
---

`C-j` and `C-k` key bindings don't work in eshell buffers except the first one.

Solution
---

`eshell-mode-map` is buffer-local, so key bindings have to be defined in a hook
function.
2018-02-24 19:49:39 -05:00
Francesc Elies Henar d2458eb974 [prodigy] renames jump function
This function was renamed in https://github.com/rejeep/prodigy.el/pull/110
2018-02-24 19:49:38 -05:00
syl20bnr 81a931f48b python: add support for Language Server Protocol 2018-02-19 00:08:27 -05:00
Yuan Fu 66afcce4d1 Add lsp-python layer
Fix readme.org

Update with some minor changes

I added quickrun package to execute python script with ease.
It is owned by lsp-python since no one is using this great package in other layers.

Fix readme
2018-02-18 22:57:59 -05:00
syl20bnr be6db59b4c lsp: create logical package flycheck-lsp 2018-02-18 22:56:41 -05:00
syl20bnr 1c49c7f361 lsp: hide lighter 2018-02-18 22:54:15 -05:00
syl20bnr ba66562967 lsp: add files header and rename lsp// functions
Prefer spacemacs// namespace for all spacemacs added functions.
2018-02-18 22:53:07 -05:00
syl20bnr db04cdb759 lsp: respect 80 chars per line in README.org 2018-02-18 22:49:13 -05:00