Commit graph

1012 commits

Author SHA1 Message Date
Dela Anthonio
cdb8672f04
php: Fix php-company autocompletion
Solve #9115.

The company-minimum-prefix-length variable shouldn't be set to 1000. Doing so
prevents the company completion popup from showing. Instead, let the
company-minimum-prefix-length stay at its default value.
2017-08-01 16:49:13 +03:00
Dela Anthonio
8e3a59dbfd
c-c++: Refactor to reduce duplication
Instead of repeating actions for c-mode and c++-mode and their respective hooks,
let loop through each mode or hook to reduce duplication.
2017-08-01 16:45:12 +03:00
Andy Lindeman
11180699e6
Adds GOROOT to list of variables copied from shell environment
From <https://golang.org/doc/install> "Installing to a custom location"

> The Go binary distributions assume they will be installed in /usr/local/go
> (or c:\Go under Windows), but it is possible to install the Go tools to a
> different location. In this case you must set the GOROOT environment variable
> to point to the directory in which it was installed.
2017-07-29 22:30:10 +03:00
Dela Anthonio
3c8c28c4eb
c-c++: Declare "mg" prefix as "goto"
By convention, the "mg" prefix for all layers is "goto".
2017-07-29 22:00:19 +03:00
Michael Kohl
9a9d9a0feb
Add shortcut for cargo clippy 2017-07-27 22:35:33 +03:00
Tetsuro Takemoto
9ce0310678
Remove duplicated code 2017-07-26 19:48:42 +03:00
jimyl
c8740530bf fix misused function, `merlin' is a package not a layer 2017-07-24 00:29:18 +08:00
JAremko
106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
John Stevenson
2ecfbef20a Add keybinding to toggle between a keyword & a string
The function `clojure-toggle-keyword-string` will convert a string to a keyword,
or keyword to a string.

The keybinding is added under the Clojure refactor menu, in the
"cycle/clean/convert" section.

`SPC m r c :`

As this is a `clojure-mode` function, it is defined in the clojure-mode
refactoring keybinding section of packages.el.
2017-07-21 14:46:12 +03:00
syl20bnr
e09385d29e typescript: mention tide-tsserver-executable variable in doc 2017-07-14 16:58:30 -04:00
syl20bnr
27a3684e3b typescript: rename functions with spacemacs prefix 2017-07-14 16:50:34 -04:00
syl20bnr
20bafdbb92 typescript: rewrite hooks for web-mode 2017-07-14 16:47:15 -04:00
George Miller
74ca54ad40 Adds tide keybindings to tsx web mode
Currently, when a tsx file is edited, the typescript layer puts it into web
mode so we can properly edit/format the html that's inside. However, with this
you lose the awesome ", g g" keybinding which takes you to a definition of
the current function/variable. You also lose the ", g u" keybinding which
gives you all references of current function/variable. This PR adds
all the tide bindings that are in typescript mode into web mode while using the typescript layer.

NOTE:
I must add ("gg" tide-jump-to-definition) to the webList because spacemacs-jump-handlers-web-mode does not exist.
2017-07-14 14:14:15 -04:00
syl20bnr
70e5a10537 typescript: declare tide-jump-to-definition as async.
Fixes #8963
2017-07-14 14:08:37 -04:00
Dela Anthonio
7e57b1f341 java: Add missing key bindings to README 2017-07-10 09:38:44 +02:00
Timothy Jones
bba8adbdc1 Update author email for Idris layer 2017-07-07 11:40:54 +02:00
CeleritasCelery
c4be9e9504 added cperl keybindings
added keybindings for cperl POD and HERE functions, added dump jump support, and fixed tab command
2017-07-07 11:39:46 +02:00
Eivind Fonn
7ba2b3ed06 markdown: move function to funcs.el 2017-07-07 11:36:22 +02:00
Eivind Fonn
01d8ce76a1 markdown: make sure to evaluate the ‘mode’ binding 2017-07-07 11:36:03 +02:00
Codruț Constantin Gușoi
edd14b50af Makes all keybindings available in gfm-mode 2017-07-07 11:35:01 +02:00
Paul
4b347759b9 ruby: change documentation lookup key binding
`SPC m h h` is conventional key binding to show documentation for thing under
point. It is called by `spacemacs/evil-smart-doc-lookup`, so this change makes
`K` in normal state work as expected.
2017-07-06 12:30:11 +02:00
JAremko
88eaed2733
Fix link 2017-07-04 13:09:53 +03:00
Eivind Fonn
f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
syl20bnr
e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn
cb17b2773b Add some more :depends keywords 2017-07-02 09:41:38 -04:00
Eivind Fonn
08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Eivind Fonn
4178a3de6e Add defalias for ensime-type-at-point 2017-06-21 10:07:55 +02:00
Joao Azevedo
61737e6d79 Replace usage of ensime-print-type-at-point by ensime-type-at-point
The `ensime-print-type-at-point` method was recently renamed to
`ensime-type-at-point`. This fixes the method call.
2017-06-21 10:03:00 +02:00
Tim Jäger
2985a26901 Add keybinding for cider-pprint-eval-last-sexp 2017-06-21 09:34:37 +02:00
Doug Beardsley
07eb1050be Mention dante in a few places where it was missing 2017-06-20 19:07:41 +02:00
Swaroop
f20bdfd90f [markdown] add key to toggle checkbox 2017-06-19 13:31:07 -07:00
nashamri
3ae35596cc major-modes: add kivy 2017-06-19 11:13:26 +02:00
Hunter Haugen
83c90349cd major-modes: add hoon 2017-06-19 11:09:29 +02:00
Steven Allen
f8bbc5f225 major-modes: add the vala programming language
Includes:

* Syntax highlighting
* Snippets (yasnippet)
2017-06-19 11:09:23 +02:00
Kai Wohlfahrt
a4aab1ee31 major-modes: add ebuild-mode
Adds ebuild-mode layer for development of Gentoo ebuilds, as requested
in Github bug #6606
2017-06-19 11:09:19 +02:00
Sven Fischer
25366dfe36 major-modes: add pkgbuild 2017-06-19 10:53:02 +02:00
jiejingzhang
3254849eb1 major-modes: add android logcat 2017-06-19 10:49:26 +02:00
Eivind Fonn
2882317709 Move extra-langs to major-modes 2017-06-19 10:48:50 +02:00
Eivind Fonn
654ebe5b83 html: fix spacefmt test 2017-06-18 14:47:05 +02:00
baxx
df896e4ee5 Added impatient-mode and updated HTML readme
impatient-mode enables one to view HTML document changes live
via a local server, link to package here:

https://github.com/skeeto/impatient-mode/blob/master/README.md

Seemed as though HTML layer was an appropriate place for this.
2017-06-18 14:33:15 +02:00
Eivind Fonn
9424430267 ess: minor changes
- if -> when
- make ess-enable-smart-equals a toggle
- fill paragraphs in readme
2017-06-16 09:51:24 +02:00
Jack Kamm
32103b2ddc added ess layer variable ess-disable-underscore-assign 2017-06-16 09:48:56 +02:00
duianto
0f85e60c29 Update markdown insert link, function renamed
Problem:
The insert link key binding `, i l` shows:
Wrong type argument: commandp, markdown-insert-link

Cause:
The markdown-mode package has renamed the `markdown-insert-link` function to:
`markdown-insert-inline-link-dwim`.

Solution:
Rename the key bindings function name.
Rename documentation to match the function name.
2017-06-14 10:52:08 +02:00
Eivind Fonn
bcb597a329 python doc: Reformulate jedi warning 2017-06-12 12:38:27 +02:00
davidpham87
f6b2c90260 Autocompletion debug
Autcompletion does not handle request properly with jedi 1.0. Until the bug is corrected, one should keep the 0.9 version.
2017-06-12 12:37:04 +02:00
Swaroop C H
1f8ad0fb09 [ipython-notebook] Change prefix from "ai" to "ay"
Because "ay" is already being used for IRC (ERC)!

It's weird to say ipython-notebook stuff under "IRC"
2017-06-12 12:35:27 +02:00
Swaroop
e1ed293987 [markdown] Add key bindings to toggle features, esp. hidden urls 2017-06-12 12:34:19 +02:00
Dela Anthonio
2c2d7fe038 java: Add eclim-java-new keybinding
This commit addresses #8987.
2017-06-12 12:21:05 +02:00
Danny Freeman
6bf310f572 Updated hy-mode lisp eval keys to match spacemacs conventions
Updated to match the conventions listed here:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#evaluation

Now functions related to lisp evaluation start with 'SPC m e' and functions
related to the hy repl start with 'SPC m e'.
2017-06-08 09:14:02 +02:00
Eivind Fonn
14a8179b22 perl5: minor changes 2017-06-08 09:12:35 +02:00