Commit graph

346 commits

Author SHA1 Message Date
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
Justin Holguin d9e42e4c28 idris: use popwin/motion state for special buffers
Idris development results in a lot of transient popup buffers, which
the layer currently doesn't handle particularly well. This commit uses
popwin so that these special buffers appear in a predictable location
and opens them in motion state so that they can be closed immediately by
pressing ~q~.

These changes are largely based on the Clojure layer, which has worked
very well in my experience.
2016-01-03 22:23:11 -05:00
Sebastian Wiesner c8e1ee0026 scala: Automatically insert asterisk in multiline comments 2016-01-03 22:23:11 -05:00
Sebastian Wiesner ffb4eded3a Keep cleaning up whitespace in scala-mode
Remove the advise around scala-indent
2016-01-03 22:23:11 -05:00
isphinx 9b0ae1d214 rust: add a keybinding for jump to definition 2016-01-03 22:23:11 -05:00
Jean-Christophe Petkovich 421b49c7e5 Change octave-mode keys to mirror other modes.
The keybindings in octave-mode don't follow the same standards as the
others. Also use the function `spacemacs/set-leader-keys-for-major-mode`
for setting mode specific keys.
2016-01-03 14:29:49 -05:00
Eivind Fonn 02585f72a2 Fix ruby-end hook removal 2016-01-03 15:49:38 +01:00
Fabien Dubosson 92bc0049e8 Change order of arguments in (equal …) to be more explicit 2016-01-03 15:12:56 +01:00
Luke Burton 5fc1033815 Unquote ruby-version-manager variable (fix #4289) 2016-01-03 15:11:11 +01:00
Fabien Dubosson 3e570dd595 Fix markup and justification in Rust auto-completion documentation 2016-01-03 14:32:03 +01:00
Immortalin 66402eb406 Add rust auto-completion documentation 2016-01-03 14:26:39 +01:00
Eivind Fonn dee5d7369c Fix haskell SPC mht and SPC mhi 2015-12-29 17:33:33 +01:00
Fabien Dubosson 275f645f94 Fix web-mode and erc-log micro-states bindings
Without this change, `erc-log-micro-state` is overriding all `SPC m .`
bindings, and `web-mode` micro state is under `SPC m m .`.
2015-12-21 00:57:48 -05:00
justbur 0b02475772 Use built-in evil functions to set default states
evil-set-initial-state is safer than manually adding and deleting from
the lists, because it knows about all available states and ensures that
the mode only shows up in one list. If it is in multiple list the
initial state depends on which is checked first, which we don't want.
2015-12-21 00:22:18 -05:00
syl20bnr 8d76f600b2 purescript: move SPC m m t to SPC m h t
by convention
2015-12-19 22:51:01 -05:00
Christoph Hegemann acd3ffcdd3 adds psc-ide support to purescript layer 2015-12-19 22:49:00 -05:00
KK 5dfbc5f3cd Update package version in Quick Start with lein 2015-12-19 22:35:00 -05:00
syl20bnr db5901b3be python: Remove call to dash -when-let
Plus remove unnecessary defer t
2015-12-19 22:33:24 -05:00
Fredrik Bergroth 577e7b2d86 Auto-activate local pyenv version 2015-12-19 22:30:07 -05:00
Michel Kuhlmann 4ff861dbef ess: fix company-mode 2015-12-12 23:01:43 -05:00