Commit graph

365 commits

Author SHA1 Message Date
syl20bnr 388ea21e75 elm: move functions and config to packages-funcs and packages-config 2016-02-14 23:55:34 -05:00
Alejandro Catalina Feliú ed95c18610 elm: fix flycheck not working on subdirectories 2016-02-14 23:42:18 -05:00
Adam Sokolnicki 121fb065ee Add bundle-open keybinding to the ruby layer
Also add missing information about `bundler` package to the README.
2016-02-14 23:41:06 -05:00
Joe Hillenbrand 2af4633b4d Add company-shell to shell-scripts layer 2016-02-14 23:21:37 -05:00
William Casarin dbf0fa3a9a haskell: update broken hoogle-lookup-from-local
It was renamed to haskell-hoogle-lookup-from-local in:

44b5420829 (diff-7d97c622509a7bc5ed311b9ef7719095R110)
2016-02-14 23:18:10 -05:00
Sebastian Wiesner bbdda23469 html: Don't enable web-mode for jsx files
- Conceptually it just doesn't feel right: JSX is no HTML, this would be the wrong layer.
- There's a react layer that provides dedicated JSX support.
- And there are other modes for JSX (js2-jsx-mode for instance) that user might want to use,
  without affecting Web Mode for template files.
2016-02-14 23:17:55 -05:00
syl20bnr 86003bfc75 Elixir: move function to packages-funcs.el and prefix it 2016-02-14 23:15:39 -05:00
Mario Mainz c476c03360 Remove ruby-end-mode and use smartparens instead
ruby-end-mode does not always behave correctly. An example for that is
if statements, which don't have an end statement if they are written on
one line. Also, it feels dirty to use a Ruby package to implement Elixir
syntax behaviour.
Smartparens has functionality to define pairs for certain major modes.
This adds smartparens pairs for the "do" keyword and the arrow (->)
operator, so that the "end" keyword is automatically inserted and
properly indented on enter.
2016-02-14 23:13:05 -05:00
Adam Sokolnicki c4cf602255 Add missing keybindings to rspec-mode in ruby layer
Commands `rspec-toggle-spec-and-target` and
`rspec-toggle-spec-and-target-find-example` were missing.
2016-02-07 14:49:32 +01:00
Fabien Dubosson 06cb27e1dc [doc] Fix some additional SPC : to SPC SPC 2016-02-07 14:39:54 +01:00
Eivind Fonn f94263919b Fix previous commit 2016-02-04 19:31:47 +01:00
Eivind Fonn 1df4cfe206 Get clang args even if flycheck isn't installed 2016-02-04 14:09:35 +01:00
Jaakko Luttinen 34df7b03b0 Add key binding for going back in anaconda mode
There are keybindings `C-o` and `M-*` to go back already, but it could
be a good idea to add an entry to `SPC m g` (or `, g`) menu where the
other movement commands are.
2016-02-02 21:23:17 +01:00
Nate Wolfe 003b26ed83 [puppet] Use ruby-mode for Puppetfile support
The package 'puppetfile-mode' is no longer available as it's considered
redundant with ruby-mode, which should now be the mode to use for
"Puppetfile" files.
2016-02-02 21:15:26 +01:00
Utkarsh Kukreti 4de7c3df5f Enable emmet-mode in sass and scss modes. 2016-02-02 16:48:37 +01:00
Eivind Fonn b9939b19d8 Use built-in web-mode pairing 2016-02-02 16:34:45 +01:00
Bart Brouns 723a27c424 use faust-mode from melpa 2016-02-01 14:13:52 +01:00
Fredrik Bergroth 8f991e33f2 Add keybinding for sh-backslash-region 2016-02-01 00:15:42 -05:00
Jerry Peng 14e090af19 scala: support replacing ascii arrows with unicode ones
Add a configuration option `scala-use-unicode-arrows` to
the scala layer, which when enabled replaces `->`, `=>`
and `<-` with corresponding unicode characters (Scala
supports unicode arrows natively).
2016-02-01 00:14:59 -05:00
Robert O'Connor 7d82e576ab Add plantuml layer
Adds support for PlanetUML, a tool to generate
UML diagrams from plain text.
2016-02-01 00:07:54 -05:00
syl20bnr d924f036f9 TypeScript: change key bindings to be more conventional
To follow conventions and omnisharp bindings the following changes have
been made:
SPC g m --> SPC g t
SPC r --> SPC g u
SPC h d --> SPC h h
SPC s --> SPC s r
SPC n r --> SPC r r
2016-02-01 00:04:49 -05:00
JAremko 7a80049fa4 replaced typescript layer
fixed docs

Better docs, added linter and tsx mode

fixed typo

made TSX optional
2016-01-31 23:56:14 -05:00
syl20bnr cc42fc31f9 Register ESS REPLs separately 2016-01-31 23:41:40 -05:00
Eivind Fonn e29ac21345 Register all REPLs and make SPC m ' bindings 2016-01-31 23:39:25 -05:00
Eivind Fonn e9f8377b92 Tweak flycheck loading process 2016-01-31 23:04:48 -05:00
Martino Visintin a5fdf43845 substitute align-cljlet with clojure-align
align-cljlet was deprecated in favour of the vertical alignment in the
clojure-mode package.
2016-01-31 23:04:48 -05:00
Balaji Sivaraman 2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
Fabien Dubosson 56115e9bce Fix table alignment in SQL README 2016-01-31 21:48:52 +01:00
Xue Fuqiao 4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Fabien Dubosson 7f201b5b98 Fix parenthesis code style in Python packages 2016-01-31 21:48:52 +01:00
Christoph Paulik 0cd242315b Add live-python mode to python layer as extension 2016-01-31 21:47:18 +01:00
syl20bnr 45def1ec60 core: Add support for lazy installed layer.
New function configuration-layer/lazy-install to add support for
lazy installation of layers based on auto-mode-alist emacs mechanism.

This is essentially the Prelude feature but translated at the layer
level for Spacemacs.

New dotspacemacs variable to enable this feature:
dotspacemacs-enable-lazy-installation
For now this variable is set to nil by default, it will be put to t when
the feature is stable.

POC with elixir layer.
2016-01-31 00:10:14 -05:00
syl20bnr 5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
syl20bnr 64adeb66ad ruby: add comment for rspec-mode config. 2016-01-26 01:47:25 -05:00
Oleg Ivanov 1a84cc15b8 do not force rspec-mode on ruby files 2016-01-26 01:21:02 -05:00
Christoph Paulik f50859ab97 Revert "Set global pyenv version if no .python-version file exists"
This reverts commit bddf9de8f1.

When pyenv-auto-set-local-pyenv-version is set to 'on-visit then this
switched the python version when e.g. using jump to definition.
2016-01-26 01:21:02 -05:00
justbur 7a0933f4af ipython-nb: Fix transient-state doc 2016-01-26 01:21:01 -05:00
justbur e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur 484c56342a ipython: Translate ipython-notebook micro-state 2016-01-26 01:20:59 -05:00
justbur 81a56c2cd7 web-mode: Translate web-mode micro-state 2016-01-26 01:20:59 -05:00
justbur f19e54e06e agda-mode: Translate goal-navigation micro-state 2016-01-26 01:20:59 -05:00
justbur dbd9725c39 spacemacs(-base): Translate micro-states to use new macro
1. spacemacs: scroll
2. spacemacs-base: paste
3. spacemacs-base: macrostep
4. spacemacs-base: transparency
5. spacemacs-base: scale-font
6. spacemacs-base: wind-manip
7. spacemacs-base: buffer
8. spacemacs: symbol-highlight
9. spacemacs: move-text
10. spacemacs: zoom-frm
11. spacemacs: evil-numbers
2016-01-26 01:20:59 -05:00
Christoph Paulik 0057df5cf5 Only load pyenv if it is installed
fix #4779
2016-01-24 14:42:59 +01:00
Christoph Paulik bddf9de8f1 Set global pyenv version if no .python-version file exists 2016-01-23 17:09:52 +01:00
Eivind Fonn 3271dbcf0f Move rspec popwin config to ruby layer 2016-01-23 17:08:18 +01:00
Eivind Fonn 0f5d576ada Re-add py-yapf 2016-01-23 15:00:23 +01:00
Eivind Fonn bedf807128 Fix ielm initialization and register as REPL 2016-01-22 16:31:42 +01:00
bogdanteleaga 6371784b2e Change regex to accomodate cases where there's no test suite 2016-01-22 15:50:43 +01:00
Eivind Fonn a15f0f940c Move ahs setup to own function 2016-01-21 21:57:20 +01:00
Alejandro Catalina Feliú 6b4b15305e Add support for auto-highlight-symbol in lisp-mode 2016-01-21 21:57:20 +01:00
bogdanteleaga ef140f37c5 Improve indentation in golang 2016-01-21 21:53:52 +01:00
Ernestas Lisauskas 28907bbeff Add development notes to Clojure's Readme
Related to #4608
2016-01-21 21:53:52 +01:00
Sébastien Bariteau 91c1528ef8 ipython-notebook: Fix typo in layer name in doc. 2016-01-21 21:46:59 +01:00
syl20bnr ba403b2df1 javascript: improve REPL
- add send region
- add send and focus functions
- add toggle for livid-mode
- lazy start the http server
2016-01-21 11:52:47 -05:00
Daniel Luna c035bca52c Added JS repl via skewer-mode and livid-mode. 2016-01-21 11:52:47 -05:00
Eivind Fonn e51cf6e863 Remove no-op use-package 2016-01-21 16:20:17 +01:00
Tu Do 58444a2daf Add common-lisp-snippets packages
This package contains useful snippets for Common Lisp.
2016-01-21 16:18:24 +01:00
Eivind Fonn 54fd0c1c55 Remove unnecessary :mode for thrift 2016-01-21 16:04:45 +01:00
secwang 70bb733dc2 Add thrift mode in extra-langs layer. 2016-01-21 16:02:54 +01:00
syl20bnr d3961f397c csv layer: sort key bindings 2016-01-18 01:26:06 -05:00
syl20bnr 9d42e055c2 csv: defer loading, add image and author 2016-01-18 01:23:25 -05:00
William Casarin 47250b0687 csv layer 2016-01-18 01:11:50 -05:00
Balaji Sivaraman f63a2f4315 Link to official docs for setting config variables in JS layer readme 2016-01-18 00:33:01 -05:00
William Casarin 362b6998cf haskell: add helm-hoogle, bind to mhf 2016-01-18 00:28:00 -05:00
Ernestas Lisauskas e2be2b9a37 Remove Clojure indentation rules
1. There is a new syntax for the indentation rules.
2. These rules are library specific and not from the core language.
2016-01-18 00:05:42 -05:00
syl20bnr 33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
Syohei YOSHIDA aec2437071 Don't call exec-path-from-shell function on Windows 2016-01-13 00:43:30 -05:00
rustyplanet 4265e0e35c make curly braces optional for the R language indication in markdown 2016-01-13 00:42:59 -05:00
rustyplanet 1bff8a2f61 add ESS (R-mode) support to markdown files 2016-01-13 00:42:59 -05:00
fenxian 1ce399d24f Fix key binding part in c-c++/README.org 2016-01-13 00:12:45 -05:00
syl20bnr 408e710e39 asm: clean up and tweaks
- Fix typos in README.org
- Add missing image
- Remove unecessary post-init functions
- Move SPC m h to SPC m h h to follow conventions
- Add correct copyright attribution
2016-01-11 22:58:57 -05:00
Tu Do 4675760cf5 Add asm-layer 2016-01-11 22:35:37 -05:00
isphinx aaa94b012e rust: format rust code using rustfmt 2016-01-11 22:01:48 -05:00
Alejandro Catalina Feliú 1ec305463d Add javascript support on markdown
Enable syntax highlighting.
2016-01-11 21:45:13 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Chris Barrett de4c7502c0 Remove reference to undefined fn haskell-cabal-hook
Resolves #4512
2016-01-11 01:13:10 -05:00
Fredrik Bergroth c9e459fd14 Clean up rust layer 2016-01-11 01:13:10 -05:00
Fredrik Bergroth c302ae4e67 Properly read version in .python-version
Fixes #4514
2016-01-11 01:13:09 -05:00
Will Maier 6d8222cedc Avoid clobbering golang variables
Instead of checking for our platform, simply test if the variables have
already been set. If not, let exec-path-from-shell figure out the right
values.
2016-01-11 01:13:09 -05:00
Fabien Dubosson 36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
justbur b0ee301845 layers: Conditionally load helm packages
Only use them when the spacemacs-helm layer is used.
2016-01-09 13:36:03 -05:00
syl20bnr 3494f92a39 csharp: fix typo in doc 2016-01-08 22:42:14 -05:00
syl20bnr ae64d5b955 python: sort key bindings 2016-01-08 22:37:35 -05:00
Andrew Vasilyev 60d06e2c29 Add more commands to omnisharp layer 2016-01-08 21:19:52 +01:00
Christoph Paulik d4dfb385e7 Improve Python virtual environment docs and keybindings
Inspired by the discussion in
https://github.com/syl20bnr/spacemacs/issues/2841 I thought it was
useful to improve the Documentation and provide keybindings for all the
useful `pyvenv` functions.
2016-01-08 21:04:28 +01:00
Michael Hauser-Raspe f3f6988f0a remove tern port files 2016-01-08 20:59:08 +01:00
Eivind Fonn 0d273485ae Fix rbenv loading 2016-01-06 23:33:12 -05:00
syl20bnr cacc893c1d ocaml: move smartparens config to post-init function 2016-01-06 00:40:57 -05:00
Török Edwin 5b3719845a delay sp-local-pair initialization until after smartparens is loaded
otherwise on startup sp-local-pair wasn't set, but after 'SPC feR' it was.

use with-eval-after-load
2016-01-06 00:34:28 -05:00
justbur 50ade79bc8 emacs-lisp: Fix mode hook
Fix incorrect use of spacemacs/add-to-hook which used emacs-lisp-mode
for the hook variable. Since we are only adding a single function to the
hook, just use add-hook.
2016-01-06 00:29:00 -05:00
syl20bnr cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Sebastian Wiesner f707993d2e scala: Fix typo in variable name
Sorry :(
2016-01-05 00:44:10 -05:00
syl20bnr a9f9c1bd97 Fix some links in README.org files 2016-01-04 02:00:18 -05:00
syl20bnr b0e4232868 latex: move folding on SPC m z and update doc 2016-01-03 23:51:19 -05:00
Diego Berrocal 877fc32eb7 Add Align-cljlet function to Clojurescript mode
Derived modes don't inherit evil keybindings from their parents, this is
interesting to note, also it would be so great if we could have a
`set-leader-keys` macro that could take a list of modes as well.
2016-01-03 22:23:13 -05:00
Fabien Dubosson 6cb7399cac Change SPC f e h to SPC h SPC for helm-spacemacs default binding
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.

The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Bjarke Vad 5c92f7dc2c [haskell-layer] Fixed ghci-ng for stack projects 2016-01-03 22:23:12 -05:00
justbur 93cfc876a6 latex: Add tex-fold-mode option and reorganize
Add the latex-enable-folding variable which turns on TeX-fold-mode and
adds some related bindings.

Reorganize the layer:
1. Move reftex into packages.el and delete the extensions file.
2. Don't duplicate the binding of keys. Use a loop to bind in tex-mode
   and latex-mode. Then just add the additional latex-mode bindings
2016-01-03 22:23:12 -05:00
justbur f3d3404bdb latex: Fill out bindings some more
1. Add ,, and ,k for C-c C-c and C-c C-k.
2. Add useful auctex commands (C-c C-[key] => ,[key]).
2016-01-03 22:23:12 -05:00
justbur 9051fffd7c latex: Fix enabling of minor modes
TeX-PDF-mode and TeX-source-correlate-mode are minor modes with the
usual functions. They should be enabled using the functions and not by
setting the variables as their docstrings both state.
2016-01-03 22:23:12 -05:00