Commit graph

926 commits

Author SHA1 Message Date
Jim Deville dae860a4b1 add refactor docs 2017-05-24 14:42:17 +02:00
Daniel Luna 34d842c6f5 [ruby-layer] Adding ruby-refactor package and associated keybindings
This commit adds a series of refactoring commands for Ruby under
"ruby/refactor", by use of the `ruby-refactor` package.
2017-05-24 14:41:55 +02:00
Eivind Fonn 4068a3e6a2 Revert "Clean up elixir layer documentation"
This reverts commit 333e921707.
2017-05-24 14:37:39 +02:00
Garrett Johnson 333e921707 Clean up elixir layer documentation
Remove references to removed checkers and their configuration
2017-05-24 14:19:37 +02:00
Víctor Cuadrado Juan a37d4296cf .Add bashate style checker to shell-script layer 2017-05-24 14:02:01 +02:00
Muneeb Shaikh 47cb3e01e0 python: fixes for anaconda-mode-view-mode
* layers/+lang/python/funcs.el (spacemacs/anaconda-view-forward-and-push):
  Added helper function to go forward and hit RET
* layers/+lang/python/packages.el (python/init-anaconda-mode):
   - use new evilification macro
   - use helper function to go ahead and push button when hitting `RET`
   - Add `C-j`, `C-k` for easy navigation in anaconda-view-mode when multiple
   references are displayed. Doesn't conflict with normal `hjkl` navigation in
   other views of `anaconda-view-mode`

Fix #7538
Fix #5737
2017-05-24 13:58:23 +02:00
Swaroop C H ea54e6863e Make python-execute-file use python-shell-interpreter
So that we can customize to use `python3` instead of `python`
2017-05-24 13:41:12 +02:00
Codruț Constantin Gușoi 07c2fccc94 Adds autocomplete for coffeescript 2017-05-24 13:33:57 +02:00
Dietrich Daroch e4e6638d4d Add requirements list for D 2017-05-24 13:03:57 +02:00
Alexey Kotlyarov f27568d8f9 Python: Highlight wdb breakpoints as well as pdb/ipdb/pudb 2017-05-24 12:44:57 +02:00
Alexey Kotlyarov dc3f16b840 Python: search for Pylint and Flake8 in the virtualenvs 2017-05-24 12:44:19 +02:00
Bernhard Schommer 2c193614f7 Ocaml layer init without opam.
Currently the ocaml layer requires opam in order to work. However
opam is only really required for an easy installation of the
required ocaml binaries. The only place where opam is used
instead is to add the merlin files of the merlin installed
via opam instead of the merlin files from melp.

This commit introduces a fallback if opam is not installed but
ocamlmerlin is installed, since the melpa package of merlin
is already installed through packages.
2017-05-24 12:28:58 +02:00
Diego Alvarez dfa18dafc3 Make ensime use stable version as unstable is for ensime devs 2017-05-24 12:22:20 +02:00
Eivind Fonn 94ed135678 Move sp-local-pair call to with-eval-after-load 2017-05-24 12:17:10 +02:00
Erwin Kroon c2c4721ddb Remove backtick from smartparens pairs for Clojure
Single backticks are used for namespaced quotes, there is no purpose for
automatically inserting double backticks.
2017-05-24 12:16:38 +02:00
Eivind Fonn 6ba353a8d8 sql: change blacklist to only accept list 2017-05-24 12:13:13 +02:00
Kepi 7cb9c1924a sql: support for keywords auto capitalization
SQL, by convention, uses upper-case keywords, although lower-case works just as
well. As humans, the separation between upper-case and lower-case helps scan and
parse the code much more quickly.
2017-05-24 12:08:45 +02:00
Corey Ling 21c3e2fc2d Fix Clojure layer cider-repl-mode keybindings
Clojure layer attempted to provide `C-j` and `C-k` keybindings
  to the cider-repl-mode but there was a bug.

  This fixes the bug and adds those keybindings to the documentation.
2017-05-24 12:04:13 +02:00
Kristoffer Haugsbakk 6583251ef6 Use proper markup to preserve meaning of code
Mark up code that is mentioned in the documentation of some readmes.

In the case of “long options”, like for example `--with-emacs`, this is not just
cosmetic.  On GitHub, Org files are apparently rendered in such a way that
strings like `--` in non-verbatim text (i.e. not verbatim-quoted nor
code-quoted) is transformed to `–` (EN DASH U+2013).  So the string:

    … --with-emacs option:

Will show up like this:

    … –with-emacs option:

Also mark up nearby not-marked-up code mentions.  But this pattern was what was
searched for, so this mostly changes the abovementioned kind of thing.
2017-05-24 11:59:40 +02:00
Kristoffer Haugsbakk 79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Ian Clark 249c3b87b0 Configurable extra arguments to go test
ADD:
  - layers/+lang/go/config.el Added new variable `go-use-test-args` to allow
    specifying additional arguments being passed to `go test.

CHANGE:
  - layers/+lang/go/packages.el Updated `go-run-tests` to automatically concat
    the new variable `go-use-test-args` to args passed to `go test`.
2017-05-24 11:52:10 +02:00
Alexander Berezovsky 00a6e3d5c2 Documentation: Highlight ruby debugger keywords 2017-05-24 10:26:31 +02:00
Rand01ph c71d482012 fix python layers anaconda-mode requirements 404
the anaconda-mode requirements has change to wiki
2017-05-24 10:04:33 +02:00
Eivind Fonn b1f1674109 Ruby debug highlighting: dynamic check
Move check into function, and add to local-vars hook instead of the mode hook.
This makes the variable changeable at runtime and also as part of local vars.
2017-05-24 09:43:06 +02:00
Alexander Berezovsky 26bb5912f0 Highlight ruby debugger keywords 2017-05-24 09:42:47 +02:00
Eivind Fonn 144c37955f Remove unnecessary function 2017-05-23 15:34:24 +02:00
Benno Fünfstück 0d9c56cefc haskell: disable electric indent for cabal-mode 2017-05-23 15:33:01 +02:00
Ryan Fowler 5d613b63d2 store cider repl history in spacemacs cache 2017-05-23 15:18:21 +02:00
Victor Andrée 110419fd01 Call tsfmt with extension of current buffer for TSX formatting
Addresses #8297 for the tsfmt backend. However, does not fix tide issue, and
automatic major mode formatting (`SPC m =`) does not work in TSX files as they
are opened in web mode.
2017-05-23 15:08:12 +02:00
MadAnd 62a4a60510 javascript: leverage js-doc Yasnippet integration if available
js-doc provides an alternative function for generating function doc comments
that makes use of Yasnippet to easily jump between the comment sections/tags.

This commit enables use of that function, if Yasnippet package is active.
2017-05-23 12:52:18 +02:00
Ben Mabey aa83ed0249 adds ein:notebooklist-login as app command
The login is required for most jupyter installs these days.

change ipython command keybinding for open from 'n' to 'o'

Unless I'm violating some Spacemacs convention using 'o' for 'open'
seems to the right choice instead of 'n'. Better mnemonics, IMO.
2017-05-23 12:49:53 +02:00
Eivind Fonn a5e6509695 Wrap markdown :mode as list 2017-05-23 11:00:09 +02:00
Han Wang fbb5908a3e Render Madoko document using markdown mode
Madoko is a fast markdown processor with a special .mdk extension
from microsoft research. emacs should use markdown-mode to render
a .mdk file as markdown file.
2017-05-23 10:58:50 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Daniel Manila cfe0295875 Add sayid, a debugger, to the clojure language
"Sayid (siy EED) is a tool for debugging and profiling clojure code."
(https://bpiel.github.io/sayid/) it allows viewing the results of each line of
code in a clojure function, without editing the code at all.

This commit evilifies the plugin and adds its commands to the "debug" submenu
of the main clojure mode menu.
2017-05-22 17:25:25 +02:00
Alexander Miller f4fafa9a51 Shell scripts: add new company-shell environment variable backend. 2017-05-19 11:12:22 +02:00
Dietr1ch ff43db919b Add SPARQL-mode to +lang/extra-langs 2017-05-18 23:12:56 -04:00
WillianPaiva e1e091eee8 add a keybind for the function eclim-java-run-run 2017-05-18 23:12:56 -04:00
Robert (Robby) O'Connor 097f341eac Fix typo in java layer README 2017-05-18 18:53:08 +02:00
Eivind Fonn 3dde988212 Lambda -> named function 2017-05-18 18:20:05 +02:00
Codruț Constantin Gușoi 59d45d10d8 Fixes org table cleanup 2017-05-18 18:16:48 +02:00
syl20bnr bff206af37 Fix last documentation errors
Should be good now :-)
2017-05-14 23:05:26 -04:00
syl20bnr 8ece2fd1f2 Fix documentation error reported by Travis 2017-05-14 22:56:42 -04:00
Evan Niessen-Derry e6048e0863 Add an example for non-standard node bin locations
If you install your node bins in places outside of the system path, you
need to add those locations to the exec path before packages are loaded
or else spacemacs won't recognize them as existing when it initializes
the layers.
2017-05-14 22:18:43 -04:00
James Hicks e246ac1957 Fix error message about no eldoc support 2017-05-14 22:17:54 -04:00
Wieland Hoffmann 4c009f4721 Use verbatim markup for the flake8 package name 2017-05-14 22:07:21 -04:00
Swaroop C H 80d2a0d99d [docs] Fix parentheses 2017-05-14 22:06:08 -04:00
syl20bnr 5ecd3c9fa9 lua: use new add-company-backends macro 2017-05-14 21:26:41 -04:00
zhuyan 210106b7b3 lua: Add company-lua package
Lua-mode it self has poor completion support and company-lua will enhance it.
2017-05-14 21:24:14 -04:00
Diego Alvarez 6a55eba49b evilify ensime search in insert/normal mode 2017-05-14 13:44:44 -04:00