Commit graph

340 commits

Author SHA1 Message Date
syl20bnr
30ced0a08b Work-around a bug in enh-ruby-mode
Taken from https://github.com/zenspider/enhanced-ruby-mode/blob/master/test/enh-ruby-mode-test.el#L4

Fixes a wrong number of arguments error.
2015-03-21 18:39:37 -04:00
syl20bnr
de24fd7f2a Minor edition of ruby layer README 2015-03-21 18:39:15 -04:00
Jean-Christophe Petkovich
f5fa170147 Fix loading packages for new version of ess
`ess-R-object-popup` and `ess-R-data-view` no longer exist in the newest
version of the `ess` package. All we need to load now is `ess-site`.

Revert changes to ess lazy loading

Include two empty init functions for packages causing errors instead.
2015-03-20 23:28:43 -04:00
syl20bnr
2fa2c620ee clojure layer: add cider-eval-sexp-fu 2015-03-20 23:27:08 -04:00
syl20bnr
890217a6f4 clojure layer: Add SPC m e f eval function at point 2015-03-20 22:50:05 -04:00
Jean-Christophe Petkovich
f099537282 Fix for flycheck-haskell-setup autoload
I get the following backtrace after starting any mode that includes
flycheck initialization:

Debugger entered--Lisp error: (void-function flycheck-haskell-setup)
  flycheck-haskell-setup()
  run-hooks(flycheck-mode-hook flycheck-mode-on-hook)
  flycheck-mode()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook python-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook python-mode-hook))
  run-mode-hooks(python-mode-hook)
  python-mode()
  set-auto-mode-0(python-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer setup.py> "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil "~/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" (11679577 2052))
  find-file-noselect("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py" nil nil nil)
  find-file("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  find-file-at-point("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  helm-find-file-or-marked("/home/jcp/projects/fast-regression-testing/data/packages/libgcrypt-commits-pkg/setup.py")
  ...
  ABBREVIATED HELM BACKTRACE
  ...
  helm-find-files-1("/home/jcp/" nil)
  helm-find-files(nil)
  call-interactively(helm-find-files nil nil)
  command-execute(helm-find-files)

By moving the `flycheck-mode-hook` manipulation to
`haskell/init-flycheck-haskell`, I no longer get this error.
2015-03-20 21:37:38 -04:00
Ryan Artecona
66dc692bb1 add sass-mode 2015-03-20 21:24:00 -04:00
syl20bnr
0a934b2b4e Update haskell readme 2015-03-18 08:52:06 -04:00
syl20bnr
72edfcd137 Move SPC m t and SPC m i under SPC m h
`SPC m t` is reserved for tests.
Information commands are considered help commands.
2015-03-18 08:51:20 -04:00
syl20bnr
11d29d1699 Add TOC in fsharp layer readme + resize the logo 2015-03-17 00:18:55 -04:00
syl20bnr
a0fb7c77b2 Update logos for fsharp and dockerfile 2015-03-16 23:56:14 -04:00
syl20bnr
4753502945 haskell layer: Update readme 2015-03-16 01:56:28 -04:00
Pierre Radermecker
3deb06fec9 haskell layer: haskell-enable-hindent-support requires a style name
Fixes #758
2015-03-16 01:45:14 -04:00
syl20bnr
8b175d6eb6 Simplify ruby layer use-package
`:mode` implies `:defer t` so I removed all the `:defer t` when
`:mode` is used
2015-03-15 23:48:58 -04:00
syl20bnr
96e96ae8e4 Fix clojure lazy-loading 2015-03-15 23:48:47 -04:00
syl20bnr
ff7960fe5d Lazy-loading for c-c++ layer 2015-03-15 21:44:10 -04:00
Diego Berrocal
6e348c0a54 Fix compatibility with use-package 2.0 2015-03-15 18:51:18 -04:00
Amin Bandali
f8b42d166b clojure layer: add cider-quit binding SPC m s q 2015-03-15 00:16:57 -04:00
Amin Bandali
64f8db437f (doc) CIDER requires nREPL minimum 0.2.7
https://github.com/clojure-emacs/cider/issues/970
2015-03-15 00:16:38 -04:00
Christoph Paulik
7cc096e213 activate inferior-python-mode in comint buffer
this enables autocompletion
This code still has the bug that point stays in the comint buffer
2015-03-14 23:57:39 -04:00
Christoph Paulik
06a2d9ba47 fixes python compile command
- now sets the compile command correctly if python buffers are switched
- moves point to end of comint buffer, useful if a breakpoint is set
2015-03-14 23:57:37 -04:00
Tu Do
3e277409ea [Fix #738] Display all parameters in the top line
This change allows semantic-sticky-func-mode to display parameters that
are scattered in many lines by using stickyfunc-enhance package. It also
specifically handles Python to also display assigned values if
available.

Also update documentation.
2015-03-14 22:56:20 -04:00
syl20bnr
3098a1a2d8 Refactor python compile command 2015-03-14 02:59:12 -04:00
Christoph Paulik
ca7048c971 Add python compile command
- automatically changes compile command to
  ```python (buffer-file-name```
  for python buffers
- automatically starts comint mode in python mode to allow interaction
  with debugger
2015-03-14 02:56:51 -04:00
syl20bnr
14a3737890 Rename spacemacs custom cider function
Add the cider prefix to avoid clashes
2015-03-14 01:46:05 -04:00
syl20bnr
8982836fe9 Adapt fsharp to the conventions 2015-03-14 01:45:52 -04:00
Ryan Roberts
02c5c82768 Add fsharp layer 2015-03-13 23:24:17 -04:00
Michael Hauser-Raspe
519e46bbc9 Add haskell-type-on-previous-line function 2015-03-13 23:22:39 -04:00
syl20bnr
c5b1068657 Block go-oracle configuration if go-oracle not found 2015-03-12 00:36:09 -04:00
syl20bnr
ca17484f97 Change :if condition in company-go init function 2015-03-12 00:26:12 -04:00
Citizen
1aaf80ea94 Clarify which chord is cider-jack-in 2015-03-10 23:43:17 -04:00
syl20bnr
a1732a8098 Remove unneeded code in C++ layer packages.el file
Use variable spacemacs-cache-directory
2015-03-10 20:33:49 -04:00
syl20bnr
fe6cbe790a C++ layer README srefactor is not available in previous version of emacs 2015-03-10 20:33:47 -04:00
Tu Do
67e5f2733b Change Semantic cache location and update documentation
Also make it compatible with Emacs 24.3
2015-03-10 20:33:45 -04:00
syl20bnr
95e1b8b61f Hide lighter of ruby-test mode 2015-03-08 23:12:28 -04:00
Christopher McCloud
7ab68132a0 (doc) adds alembic as dependency to profiles.clj code snippet. 2015-03-08 22:10:50 -04:00
Nate Wolfe
7b16276a75 Extend dotspacemacs-smartparens-strict-mode to Clojure REPL
This commit extends the configuration setting to toggle
smartparens-strict-mode in the REPL for the Clojure layer.
2015-03-07 00:11:26 -05:00
syl20bnr
bc412b40bf Document web-mode key bindings in README 2015-03-06 23:47:42 -05:00
syl20bnr
0560267936 Improve web-mode micro-state
Toggle documentation
Use `:evil-leader-for-mode`
Add ESC to exit the micro-state
Sort the key bindings
2015-03-06 23:47:22 -05:00
syl20bnr
29a7dbe717 Sort and tweak web-mode key bindings
Change `meu` for `meh` (highlight error)
Change `mf` for `mz` (fold/unfold)
2015-03-06 23:39:40 -05:00
Emmanuel Touzery
6d2962543b Add web-mode key bindings 2015-03-06 22:05:40 -05:00
Bjarke Vad
dda1e8de86 Updated haskell/shm bindings + misc haskell
- Added some shm keybindings that fit a bit better with evil-mode
- Set better(saner at least) default for hindent style
- Removed C-{<right>,<left>} bindings
- Removed flycheck delay for showing error at point
2015-03-02 18:43:43 -05:00
Bjarke Vad
83ea6cd2f3 Fixed flycheck not being properly initialized for haskell-mode 2015-03-02 18:40:03 -05:00
syl20bnr
4725769143 Move ess-smart-equals to ess-packages
This way it is always discoverable in helm-spacemacs
the :if keyword of use-package allow to enable it on demande with
ess-enable-smart-equals
2015-03-02 18:37:34 -05:00
Michel Kuhlmann
82422e8ee5 ess: make smart equals and underscore optional 2015-03-02 18:36:37 -05:00
syl20bnr
36bab499e0 Commented not support prefix command for major mode 2015-03-01 23:50:32 -05:00
syl20bnr
a024d74521 haskell layer: Always install shm and hindent 2015-03-01 00:00:10 -05:00
Michel Kuhlmann
dc7d3898ee haskell: optional hindent-mode 2015-02-28 23:58:36 -05:00
artemave
fac442c471 Rm extra load of 'oracle.el'
fixes typo from merging #603
2015-02-27 22:54:50 -05:00
hrvladev
15bfeeba83 Update the rails support enabling variable
The ruby layer has an outdated documentation for the rails support
enabling variable.
2015-02-27 21:32:26 -05:00
hrvladev
d058994904 Add haml-mode and slim-mode
Spacemacs is missing support for the Haml and Slim template
languages.

This commits adds haml-mode and slim-mode to support them.
2015-02-27 21:32:15 -05:00
Tu Do
30dac136bb Enable Semantic support for C/C++; add Srefator
With Semantic mode enabled, it enables IDE features such as:

- Enable helm-semantic-or-imenu to jump with Semantic instead of Imenu.

- Show function signature of current function point is inside at the
top (with global-semantic-stickyfunc-mode)

- Show function signature of current function at point at the
bottom (with global-semantic-idle-summary-mode).

- Add Srefactor for refactoring using Semantic parser framework. Bind it
  to "SPC m r".

- Load 'compile package, otherwise compilation-mode-map won't exists and
  Semantic fails to bind some key to the map and throw error.
2015-02-27 20:36:00 -05:00
syl20bnr
9a88e1a4fd clojure layer: use interactive code r 2015-02-27 18:19:23 -05:00
syl20bnr
8cd687efef clojure layer: Fix lazy loading of golden-ratio settings 2015-02-25 07:45:08 -05:00
syl20bnr
f55d1f1a72 Minor change in clojure layer README 2015-02-24 20:38:53 -05:00
syl20bnr
6687f2d0fe Rename haskell variables to enable shm and ghci-ng
`haskell-enable-shm-support`
`haskell-enable-ghci-ng-support`
2015-02-24 20:09:06 -05:00
Nate Wolfe
68697b4f6f Fix broken ac-cider link in Clojure README
The link had the wrong text, which didn't appear anywhere else. This
sets it to "ac-cider", which looks to be the expected value.
2015-02-24 18:41:14 -05:00
Bjarke Vad
3b8742f3cc Fixes an issue with company-ghc not loading correctly
- the `ghc-comp-init` function should not be called as a hook when
  `ghc-init` is already called in `haskell-hook`
- load company-ghc with yasnippet support
2015-02-24 18:39:53 -05:00
Asher Van Brunt
d77bbad49d Fix ruby filetype regex 2015-02-24 00:05:12 -05:00
Asher Van Brunt
5a83cbd57e Restore enh-ruby-mode 2015-02-24 00:05:10 -05:00
Bjarke Vad
14c1852f34 Added initial support for structured-haskell-mode 2015-02-23 23:48:06 -05:00
syl20bnr
c9e7276e41 clojure layer: move SPC m = to SPC m f l for align-cljlet 2015-02-23 22:18:48 -05:00
syl20bnr
baa2dc3dd1 clojure layer: add send region to REPL support 2015-02-23 22:09:39 -05:00
syl20bnr
d9ad9fea32 clojure-layer: fix align-cljlet initialization and assign binding SPC m = 2015-02-23 21:58:18 -05:00
syl20bnr
18c704a88e clojure layer: add quick-start in readme 2015-02-23 21:50:32 -05:00
syl20bnr
96427b255d clojure layer: fix clj-refactor initialization 2015-02-23 21:50:04 -05:00
syl20bnr
94d68a9513 clojure layer: use push instead of add-to-list 2015-02-23 21:06:11 -05:00
syl20bnr
ae66425556 clojure layer: move eval last sexp to mee (by convention) 2015-02-23 21:05:15 -05:00
syl20bnr
05ff33f086 clojure layer: add support for golden-ratio and evil 2015-02-23 20:52:49 -05:00
syl20bnr
14a3fee574 Fix header for ghci-ng section in readme 2015-02-22 22:06:54 -05:00
Bjarke Vad
78b794f06c Fixes #641 2015-02-22 12:49:35 -05:00
Bjarke Vad
f447e937e8 Added ghci-ng support to haskell layer
- uses the variable `haskell-ghci-ng-support` to enable support
2015-02-22 12:49:10 -05:00
Sylvain Benner
206576e11c Merge pull request #640 from chrisbarrett/ensime-tweaks
Ensime tweaks (eldoc, company, autostart, new bindings)
2015-02-21 00:08:13 -05:00
syl20bnr
8deb57e6ba Push missing files from previous clojure layer commits 2015-02-20 21:59:07 -05:00
syl20bnr
50f230f27f Correctly lazy load ruby-end and fix its activation in ruby mode
resolves #644
2015-02-20 07:29:50 -05:00
Chris Barrett
c125908776 Scala: Enable eldoc in ENSIME mode 2015-02-20 22:55:37 +13:00
Chris Barrett
f03d09ffc3 Scala: Fix issue with ensime '.' command
The period character shows company completions. If completion candidates
are already being displayed, it will complete the current candidate
incorrectly.

Resolve by making '.' accept the current candidate when candidates are
being displayed.
2015-02-20 22:03:27 +13:00
Chris Barrett
3cf622addb Scala: Automatically start ensime
Start ENSIME automatically if there is a .ensime file in an ancestor
directory.
2015-02-20 22:03:27 +13:00
Chris Barrett
eb383eb1ae Scala: Add keybindings
Improve integration with spacemacs, and add SLIME-style
pop-to-definition keybindings (M-. and M-,)
2015-02-20 22:03:27 +13:00
syl20bnr
9ad7ce5236 Fix error in clojure layer with configuration-layer/package-declaredp 2015-02-20 00:14:12 -05:00
syl20bnr
8a86504e73 Move auto-complete hooks to ac-cider init in clojure layer 2015-02-19 23:43:45 -05:00
syl20bnr
ad189c87a1 Sort init functions in clojure layer packages.el 2015-02-19 23:41:20 -05:00
syl20bnr
4448595b74 Move clojure/fancify-symbols to funcs.el in clojure layer 2015-02-19 23:39:51 -05:00
syl20bnr
0ef086a0db Remove clojure/general-mode and use init-xxx functions 2015-02-19 23:37:58 -05:00
syl20bnr
1939df7586 Remove explicit rainbow delimiters mode in clojure mode
It is already setup in the spacemacs layer.
2015-02-19 23:31:53 -05:00
syl20bnr
3d6ad4f2d2 Don't activate paredit by default in clojure layer
This is a user preference.
2015-02-19 23:30:56 -05:00
syl20bnr
e6d808f2ba Add markdown bindings documentation 2015-02-19 23:04:03 -05:00
pseudonom
76b0bc9b5a Added markdown keybindings
Nearly a direct transcription of the keybindings from `markdown-mode.el`
2015-02-19 22:51:39 -05:00
syl20bnr
0ed329993c Add refactor and REPL bindings documentation to clojure layer
Add cider logo
2015-02-19 22:51:09 -05:00
syl20bnr
53ba6c79c8 Follow the conventions for REPL interaction in clojure layer 2015-02-19 22:51:06 -05:00
syl20bnr
be73a24488 Sort key bindings in clojure layer 2015-02-19 21:59:53 -05:00
Sylvain Benner
5c9078b5ae Merge pull request #608 from luxbock/clojure-mode-tweaks
Clojure mode clj-refactor bindings and tweaks
2015-02-19 21:47:14 -05:00
Cong Nguyen
894c223c33 fix company-go loading before go-mode 2015-02-19 07:08:44 -05:00
Josh Chase
ecd0fc0c52 Fix bug in the go/init-go-oracle function 2015-02-19 07:08:31 -05:00
Stephen Spalding
c2004f6d94 clojure: mgv -> mgg; update docs 2015-02-19 07:08:24 -05:00
syl20bnr
96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
Ryan L. Bell
91b8731b87 Initializes ruby-test-mode in the ruby-mode hook 2015-02-17 22:19:20 -05:00
Michael Hauser-Raspe
71a3bedff6 fixing yasnippet company-mode initialisation for python 2015-02-17 22:19:14 -05:00
syl20bnr
2f6fc312a3 Update ruby mi to msi to start a REPL
According the conventions
2015-02-17 22:14:10 -05:00
syl20bnr
0c18d5afea Update elixir mi to msi for inferior process
According to conventions
2015-02-17 22:11:41 -05:00