Commit graph

1361 commits

Author SHA1 Message Date
Paul 5c2aa826a2 Fix typo 2018-01-21 09:27:20 -05:00
Martin Øinæs Myrseth 4ea177ce97 c-c++: Unquote google-set-c-style layer variables
The google-set-c-style functions are added to `c-mode-common-hook`
regardless of their value.

Fix #10080
2018-01-19 22:56:21 -05:00
ZarsBranchkin f48f75e23f Add nim-mode documentation binding 2018-01-19 22:55:02 -05:00
smile13241324 8943f856ed Fix doc for chinese, transmission, d, command-log and idris layer 2018-01-19 19:41:40 +01:00
syl20bnr 93913ebce1 sql: move function to funcs.el 2018-01-18 01:08:46 -05:00
Andrew Christianson 04910be2e2 Rebuild spacemacs-sql-startable after running sql-add-product
For completeness, also advise `sql-del-product`
2018-01-18 01:07:15 -05:00
Paul 03f79d0aa6 ruby: add ruby-hash-syntax
Add a command to toggle between old and new hash syntax in the active region.
2018-01-18 00:15:16 -05:00
Jeremy Bi 53b2c8851c Enable idris-simple-indent 2018-01-17 23:36:01 -05:00
Shitikanth Kashyap 6e0d38f3ea pylookup: Clear self.tag on endtag 2018-01-17 23:23:59 -05:00
Shitikanth Kashyap 480c8531b3 pylookup: Add "/genindex/" to potential_urls
Used in online documentation of libraries Flask and Requests.

http://flask.pocoo.org/docs/0.12/genindex/
docs.python-requests.org/en/master/genindex/
2018-01-17 23:23:47 -05:00
Shitikanth Kashyap 23e582d121 pylookup: Switch to using urllib2 on Python 2
Fixes bug: pylookup fails silently on 404. For instance, on
`./pylookup -u https://matplotlib.org/` it first looks up
'https://matplotlib.org/genindex-all.html', gets a 404 response,
but instead of moving to the next candidate url, it builds an empty
index.

Cause of bug: urllib.urlopen doesn't give an error on 404.
2018-01-17 23:23:25 -05:00
Shitikanth Kashyap 48032ca787 pylookup: Use generic tags to detect list levels.
This fixes bug #9866.

Tested to work with documentation of Python 2.6, Python 2.7, Python 3.4,
Python 3.5, Python 3.6, and latest stable releases for SciPy, NumPy,
Matplotlib, and Flask.
2018-01-17 23:23:14 -05:00
Shitikanth Kashyap a3d8df9244 pylookup: Set one_entry to false after each element
Fix for bug: extraneous links registered for last entry
in index. For instance, for python documentation index,
all links in footer would get attached to `zlib`.
2018-01-17 23:23:04 -05:00
Shitikanth Kashyap 01e588c5f0 pylookup: Remove unused field do_entry 2018-01-17 23:22:52 -05:00
Shitikanth Kashyap 86f7213b65 pylookup: Handle end tag logic in handle_endtag
Doing it handle_data was a bug because `self.tag`
would contain the most recent opened tag, not the tag
currently being closed. This meant, for instance, that
the elements were not being generated correctly and
"./pylook.py --cache" was broken.
2018-01-17 23:22:39 -05:00
Shitikanth Kashyap dbe5bb4893 pylookup: Use HTMLParser instead of htmllib
htmllib has been deprecated since PEP 3108.
2018-01-17 23:22:19 -05:00
j 7dbf354b15 html layer: use web-mode for .xml files 2018-01-17 23:19:43 -05:00
syl20bnr af625a9499 rust: revert SPC m c c and move cargo-process-check to SPC m c v
SPC m c c is a convention.
2018-01-17 23:17:50 -05:00
Victor Polevoy 960b85157c Add shortcut for the cargo check command #9943
1. Adds a shortcut for the `cargo check` command as "cc".
2. Remaps a shortcut for `cargo build` command from "cc" to "cb".

Fixes #9943
2018-01-17 23:16:44 -05:00
syl20bnr 2c16d19ab7 semantic: make it possible to exclude stickyfunc 2018-01-17 23:03:33 -05:00
Raymond Wanyoike a6e513745f Update javascript layer README: node-add-modules-path
Related to #9047
2018-01-17 23:03:33 -05:00
Levi Roth 5857e853ad Fix OPAM share directory in OCaml layer
This commit uses process-lines instead of shell-command-to-string, as
seen in ocaml/merlin#547.

This fixes an issue on Windows where the external command fails,
resulting in a broken load-path.
2018-01-17 22:19:10 -05:00
smile13241324 b414d615a5 Fix doc for erlang, gpu, ess and vim-empty-lines layer 2018-01-14 22:58:00 -05:00
syl20bnr a69501e327 c-c++: remove automatic install of gtags layer
Instead we let the users to explicitly add the gtags layer if they want to
combine rtags and gtags.
2018-01-12 00:45:03 -05:00
Codruț Constantin Gușoi a228c2cf61 Potential fix for rtags error 2018-01-12 00:38:29 -05:00
smile13241324 1fb4e0f23d Fix doc for common-lisp, bibtex, cfengine and gnus layer 2018-01-12 00:37:15 -05:00
Codruț Constantin Gușoi 53288bf357 Disable nameless by default 2018-01-12 00:35:37 -05:00
Lixin Chin 34a0eb2463 rtags: only activate rtags keybindings when rtags-mode is active
The keybindings to `rtags-select-other-window', `rtags-select' and
`rtags-bury-or-delete' should only take effect when `rtags-mode-map' is
active, instead of being activate for every buffer in evil normal state.
2018-01-11 00:16:08 -05:00
syl20bnr dbf1deaa4c c-c++: make it depends on gtags layer only if rtags are enabled 2018-01-11 00:02:02 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
syl20bnr 3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
seemyvest 6da75c4055 Rust: Fix cargo-process-current-test keybinding, update documentation 2018-01-09 23:58:07 -05:00
Pierre Radermecker 59f78d8700 Update hindent config in haskell layer
Hindent styling is a deprecated feature (with no more effect).
Use a simple bool toggle to activate it.

Update README
2018-01-09 23:55:49 -05:00
Richard Kim b57789176c fix cut-and-paste error by using correct function name
Use google-make-newline-indent rather than google-set-c-style.
2018-01-09 23:44:43 -05:00
Muneeb Shaikh 443c6bd80d sml: lazy load sml lang for org-babel
Fix #9979
2018-01-09 23:43:42 -05:00
Benno Fünfstück 9db765a25e major-modes: comment out removed wolfram-mode package 2018-01-09 23:41:15 -05:00
syl20bnr da1331870a csharp: sort key bindings 2018-01-09 23:26:08 -05:00
Saulius Menkevičius ba0cebec88 csharp: add keybinding for omnisharp-solution-errors 2018-01-09 23:25:24 -05:00
Piotr Grzesik dea1e9b468 Add section about configuring indentation via javascript layer configuration 2018-01-09 23:19:57 -05:00
Diego Berrocal f8ecf0cb1b Add null-check for filename before calling file-name-extension func 2018-01-08 02:11:19 -05:00
smile13241324 51cfa948b1 Fix doc for nim, fsharp, forth, dash and fasd layer 2018-01-08 01:45:09 -05:00
syl20bnr 099872a61a c-c++: fix wrong-type-argument keymapp "q" when rtags support is on 2018-01-08 01:26:28 -05:00
syl20bnr 46c5dfa4a7 cl-loop instead of loop 2018-01-06 21:38:13 -05:00
Robbert van der Helm 080eaa1283 Add counsel-css as an ivy alternative to helm-css-scss
This also adds imenu support to CSS and Sass when using ivy.
2018-01-06 21:21:54 -05:00
syl20bnr d9e5652ae7 emacs-lisp: enable nameless by default 2018-01-06 02:51:46 -05:00
syl20bnr 6932a337ee c-c++: refactor rtags support, key bindings, attempt ggtags fallback
- Move rtags key bindings under `SPC m g` prefix
- Document rtags support and key bindings in README.org
- attempt to implement gtags fallback using
  https://github.com/Andersbakken/rtags#fall-back-to-other-taggers
- make c-c++ layer dependend on gtags layer (gtags layer is automatically
  installed when the c-c++ layer is used)
- sort packages config in packages.el
- use a dolist instead of a function to define rtags key bindings
2018-01-06 02:44:33 -05:00
Alexander Dalshov 7a74ae105a c-c++ rtags: integration with evil 2018-01-06 01:30:59 -05:00
Alexander Dalshov bdcdc66c54 c-c++: add rtags integration 2018-01-06 01:30:59 -05:00
syl20bnr 51fb39aac8 c/c++: use clang-format-buffer and clang-format-region functions 2018-01-06 01:29:45 -05:00
Silver Chan 24e556941b fix problem: c-c++ layer variable
fix problem: c-c++ layer variable:clang-format-region-on-save invalid
2018-01-06 01:29:10 -05:00
Dela Anthonio 1d7198e3a7 c-c++: Fix clang format on save
Resolve #10041

The spacemacs/clang-format-buffer function doesn't exist. It should be replaced
with clang-format-buffer. This error was introduced in 01ddc98cef.
2018-01-06 01:01:29 -05:00
Hans Jang d35268a1d6 Fix the broken python repl invocation through SPC a '
Without this chage, it ends up with the following error:
  'Wrong type argument: commandp, python-start-or-switch-repl'
2018-01-06 00:59:29 -05:00
Jaakko Luttinen 76003c1a7d Add ipython-notebook insert mode bindings also to hybrid mode 2018-01-05 23:15:43 -05:00
syl20bnr c3e65f53e7 elixir: remove unecessary org config for org babel
The config is in ob-elixir
2018-01-05 22:27:43 -05:00
syl20bnr 8bb225b402 ipython-notebook: update org config to be more idiomatic 2018-01-05 22:27:13 -05:00
Alejandro Catalina c233bb6336 Add ob-ipython to ipython-notebook layer 2018-01-05 22:20:29 -05:00
syl20bnr eee2b4b89c python: document pippel and set key binding to SPC m P 2018-01-05 22:15:50 -05:00
James Wang 0a4f257da0 Add pippel for python package management 2018-01-05 21:54:41 -05:00
Christoph Paulik 17d350b585 Python: Fix pyenv-executable-find in presence of pyenv-which-ext. 2018-01-05 21:48:04 -05:00
Shane Pearlman 2f2ed06b0e Use python-mode for SCons script files 2018-01-05 21:46:52 -05:00
syl20bnr 302d272ae3 python: sort key bindings in doc and package config 2018-01-05 21:45:57 -05:00
Volodymyr Vitvitskyi b63039a6a4 Support importmagic in the Python layer
Problem
-------
If the symbol is not resolved due to a missing import there is no automatic way
in the Python layer to import it.

Solution
--------
Use 'importmagic' package.

Pressing `SPC m r f` at point that requires an import will suggest a list of
possible options.
2018-01-05 21:44:11 -05:00
syl20bnr 6a345b86a0 python: document python-save-before-test 2018-01-05 21:41:26 -05:00
Benoit Coste 3f01fd5fed Add defvar python-save-before-test
If true, buffer is automatically saved when calling
python-test-* functions
2018-01-05 21:38:28 -05:00
lostmarble 572820e618 Update funcs.el
fix python/:init: Invalid version syntax: '5.1.0^M' bug, for "ipython --version" will return '5.1.0\r\n' on windows with Anaconda3
2018-01-05 21:37:08 -05:00
Muneeb Shaikh ef36bdfb06 python: update anaconda-mode view mode variable names
Fix #10047
2018-01-05 21:37:03 -05:00
Muneeb Shaikh 3289e0d114 python: update invalid cython mode keybindings 2018-01-05 21:35:58 -05:00
syl20bnr 3b24f451f8 emacs-lisp: add dotspacemacs alias for nameless 2018-01-04 02:13:22 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr 5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr 2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr 8bc9060af8 javascript: change key binding for repl live eval toggle
To respect convention move the key binding under `SPC m T l` and change
the lighter to a plain squared `l`.
2018-01-04 01:40:52 -05:00
syl20bnr 6265c057bf emacs-lisp: change nameless key binding to respect conventions
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.

Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
Josh Santos a18eab6026 Add Troubleshooting section 2018-01-04 01:40:52 -05:00
JAremko c47d88a098 Format docs 2017-12-31 02:41:22 +02:00
Guido Kraemer 502a62a640 start julia repl with spacemacs/ess-start-repl 2017-12-23 17:46:02 +02:00
bmag 88a952fb33 ess: declare prefixes in loop 2017-12-23 17:46:02 +02:00
Guido Kraemer 99d575b9c8 fix julia keybindings and nice prefixes 2017-12-23 17:36:31 +02:00
Fredrik Bergstrand 5ec172d7bd c-c++: Improve the header include auto completion
This change makes the c-c++ layer configure company-c-headers to search for and
list completion alternatives according to the priority list found in 'man gcc'.
If supported, the default system include paths are also fetched from gcc's
configuration instead of being hard coded to "/usr/include" and
"/usr/local/include". This also remedies the problem where the C++ standard
library headers does not show up as completion alternatives without manual
addition of include paths (see #4493, #8655).
2017-12-19 00:31:43 -05:00
Dela Anthonio 01ddc98cef c-c++: Add clang-format functions and key bindings
Solve part of #7628. Additionally, #7629 is no longer needed.

Add support for formatting lines, functions, and buffers with clang-format. Each
function produces a clear message on success.

The README was updated to reflect the usage of the new key bindings. References
to binding clang-format to the tab key were removed.
2017-12-19 00:25:20 -05:00
Evan Klitzke 77ee302f16 enable c++11 mode in company-clang-arguments if c-c++-enable-c++11 is not nil 2017-12-19 00:23:43 -05:00
Evan Klitzke 16fd3e85a4 add an option to use google-c-style 2017-12-19 00:20:00 -05:00
Alexander Dalshov 24827b6f08 c-c++ add option to control cmake-ide package 2017-12-18 23:51:28 -05:00
Richard Kim 7bab83c09e fixed a typo by moving one closing parenthesis 2017-12-18 23:49:13 -05:00
syl20bnr 2ed3946d7b emacs-lisp: improve nameless configuration
- Change nameless prefix to > instead of default :
- Change toggle to SPC m >
- Set nameless separator to nil in order to make it work with any type or separator
- Add diminish unicode ⧁
- Define some default global aliases for Spacemacs source code
- Rename layer variable emacs-lisp-nameless-mode to emacs-lisp-hide-namespace-prefix
- Make variable nameless-current-name safe as a local variable for string values
- Set nameless prefix for core-configuration-layer.el
2017-12-17 23:30:24 -05:00
AdrieanKhisbe 71f8919ebf fix typo and use a layer variable for auto nameless-mode 2017-12-17 22:17:05 -05:00
Adriean Khisbe 48b0484348 add documentation for Nameless and Overseer bindings 2017-12-17 22:16:49 -05:00
Adriean Khisbe 3dc09cfc4d hide automatic nameless behind a nameless-auto-mode switch 2017-12-17 22:16:32 -05:00
AdrieanKhisbe 2d40793804 setup nameless package (replacing package prefix with :) 2017-12-17 22:16:08 -05:00
AdrieanKhisbe ad5ac65263 add overseer (ert test runner) to emacs layer, bindings with prefix 2017-12-17 22:15:33 -05:00
AdrieanKhisbe 295b4752ca identify Cask files as emacs-lisp-ones 2017-12-17 22:15:04 -05:00
syl20bnr 0bae94fe4d go: sort key bindings in README.org 2017-12-17 22:12:44 -05:00
brantou d9065de1cb Add go-tag to go-layer 2017-12-17 22:10:24 -05:00
Robbert van der Helm c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
bfay 5bb9dc1320 fix cider-inspector-prev-page binding, also add 'p' as another key binding 2017-12-17 21:54:50 -05:00
Ag Ibragimov 2be8400975 Improves jump-to-definition for Clojure modes 2017-12-17 21:53:59 -05:00
syl20bnr 19b42377bb clojure: document clojure-cheatsheet in README.org 2017-12-17 19:51:13 -05:00
Michael van der Nest e3e94b8568 Added clojure-cheatsheet to clojure documentation.
see https://github.com/clojure-emacs/clojure-cheatsheet
2017-12-17 19:43:59 -05:00
syl20bnr b5f32bbded kotlin: fix typos 2017-12-17 19:10:06 -05:00
Shanavas M 9bdb6dce30 Add kotlin layer 2017-12-17 18:59:20 -05:00
Alexander Kjeldaas adfccb147b Added gradle instructions. 2017-12-17 18:58:17 -05:00
syl20bnr 4c7bd2fde1 java: make java layer depend on groovy layer 2017-12-17 18:45:46 -05:00
syl20bnr 17fc89f9e7 java: improve maven and gradle support (also for groovy)
Add new packages `mvn` and `maven-test-mode`.
Move `gradle-mode` configuration from groovy layer to java layer
New prefix commands `SPC m m` for maven and `SPC m l` for gradle.
Make maven and gradle commands available in java-mode.
Update documentation.
2017-12-17 18:45:46 -05:00
Johnson Denen a8340a0262 Add Gradle support to the Groovy layer 2017-12-17 15:29:11 -05:00
Joao Azevedo d947556406 Add ENSIME jump handlers to the proper modes
Move scala handler to scala layer
2017-12-17 15:24:47 -05:00
smile13241324 00925c8206 Fix documentation for selectric, imenu-list and vimscript layers 2017-12-14 11:51:20 +02:00
smile13241324 1df1a06d5b Fix documentation for java, major-modes and purescript layer 2017-12-03 17:55:27 +02:00
Tony Lotts 4c4a1a4e13 Improvements to Haskell REPL bindings.
- Consistent REPL switch to/back bindings (Swap ", s S" and ", s s").
- Switch back to buffer from Intero REPL.
2017-12-01 19:05:48 +02:00
AlexandrosKotzias cebb3b9ff2 Fix documentation issues with typescript 2017-11-19 11:38:17 +02:00
gdkrmr 6b056e50a0 improved keybindings for ess layer 2017-11-19 08:42:17 +02:00
syl20bnr 8a5771559e core: change scope of elpa stable variables
make them public when they are used outside of core-configuration-layer.el
make them private when they are used only on this file.
2017-11-01 23:23:34 -04:00
Kalle Lindqvist 27cb845d3c Improve coffeescript support
Register REPL and add major-mode bindings.
2017-10-18 23:53:07 +02:00
bmag a9ad9ae33c ess: add description, features to readme 2017-10-17 09:47:54 +03:00
ISELECT1\naylyn.gaffney 36f04308ab Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.

Continuation of commit 8c3cf7c3ae
2017-10-17 09:47:54 +03:00
smile13241324 d7995b985c Add remark for required project for "open matching file" commands 2017-10-15 11:19:52 -04:00
syl20bnr d8bfde8d50 perl: simplify key binsinds config and sort package config sexps 2017-10-15 11:08:01 -04:00
CeleritasCelery 3f5f8b78c8 Add Perl5 Company backend and code formatter 2017-10-15 11:08:01 -04:00
CeleritasCelery 249efa31de remove org table lighter 2017-10-15 11:08:01 -04:00
ISELECT1\naylyn.gaffney 8c3cf7c3ae Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.
2017-10-15 11:08:01 -04:00
wizmer 2531012319 Make nose fail compilation when tests fail
Using nose.main instead of nose.run returns the result of the tests
so the status of the *compilation* buffer can be modified accordingly
2017-10-15 11:08:01 -04:00
Leon Isenberg 617c44ecc6 Fix: company-dante -> dante-company 2017-10-15 11:08:01 -04:00
Jeremie Pelletier ffc31f3936 Add leader key prefixes for sql-mode 2017-10-15 11:08:01 -04:00
David Millar-Durrant c5bba38416 added prefixes to the fsharp layer 2017-10-15 11:08:01 -04:00
Bjarke Vad fce6bed3c9 Enable purescript-decl-scan-mode when loading purescript-mode
This should fix `SPC j i` for PureScript
2017-10-15 11:08:01 -04:00
Benjamin Reynolds b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
smile13241324 97537e46a7 Fix documentation for parinfer, pdf-tools, yaml, csv and salt layer 2017-10-05 11:15:02 +03:00
smile13241324 0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00
Benjamin Reynolds 9341e1d751 Fix documentation issues with ruby, rails, and swift layers
See #9476
2017-09-11 22:35:46 +03:00
smile13241324 0c5f64347c Add "features" block to doc of plantuml, shell and search-engine layer 2017-09-11 22:35:31 +03:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
syl20bnr a496401e1f Move groovy configuration to its own layer and improve it
Enable company, org babel and repl.
2017-08-28 13:49:09 -04:00
syl20bnr 211c3f5c1b Prefer to use pre-init instead of post-init whenever possible
This commit does it for org.
2017-08-28 13:34:15 -04:00
syl20bnr 82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
syl20bnr 98ca4821a1 clojure: add missing file header to packages.el 2017-08-28 10:44:59 -04:00
syl20bnr 2e8412323c python: move functions to funcs.el 2017-08-28 10:44:58 -04:00
Josh Santos bfde1a44dc Convert remote file name to local name, stripping trampy stuff
Turn into conditional so local files still work
2017-08-27 22:21:31 -04:00
Josh Santos 7b24f838db Add org-mode support for shell-scripts layer 2017-08-27 22:20:32 -04:00
syl20bnr 7abda1c552 c-c++: minor updates to README.org 2017-08-27 22:18:53 -04:00
Alexander Dalshov 16c5ad8b96 c/c++ cmake-ide: add key bindings description and sample configuration. 2017-08-27 22:16:58 -04:00
Alexander Dalshov 690cf68315 Add cmake-ide to lang/c-c++ layer 2017-08-27 22:16:58 -04:00
syl20bnr 12301dfefa csharp: minor update of README.org 2017-08-27 21:44:46 -04:00
Saulius Menkevičius a6d905820d csharp: update layer documentation to be more up to date with the roslyn version 2017-08-27 21:39:43 -04:00
Saulius Menkevičius 9488f444a0 csharp: disable functions not present in the latest omnisharp package 2017-08-27 21:39:43 -04:00
Saulius Menkevičius 95720b4bc1 csharp: no need to unset omnisharp-auto-complete-want-documentation anymore
the latest omnisharp package uses roslyn server now
2017-08-27 21:39:43 -04:00
J. Patrick Lanigan df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03:00
JAremko a1101eb38f fix links 2017-08-18 22:12:17 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
smile13241324 c6afc2a0fc
Add insert commands from sh-script package to major mode menu 2017-08-09 12:38:25 +03:00
d12frosted 184c7920fe
format latex readme file 2017-08-09 12:25:35 +03:00
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
CeleritasCelery af21bf2494 added perl5 layer 2017-06-08 09:02:18 +02:00
Codruț Constantin Gușoi 3624caf98f Adds dumb autocomplete for sql 2017-06-07 18:22:15 +02:00
jupl 09ce56df3d Use add-node-modules-path to automatically find local executables 2017-06-07 16:49:11 +02:00
Eivind Fonn 55ceef53a5 bugfix: arguments to python-setup-hy 2017-06-07 16:28:03 +02:00
Eivind Fonn e6a0ed0204 ein: remove spurious spaces 2017-06-07 13:44:43 +02:00
Jaakko Luttinen 37c83c7951 Add split cell key binding to ipython-notebook 2017-06-07 13:44:43 +02:00
Eivind Fonn ed90f2b4ff Bugfixes
- Set hy-mode-inferior-lisp-command globally
- Function names
2017-06-07 12:43:58 +02:00
Eivind Fonn 16f25488a9 Clean up python/hy pyenv/pyvenv integration
- Move find-hy-executable to funcs.el and rename
- Don’t set hy-executable (not needed by anything)
- Setup hy only once at startup (allow user to override settings, see #5988)
- Use setup-hy in advice instead of post-activate-hook (works with many more
  commands)
- Setup checkers pyenv change, too
- Guard checker setup function for possibly missing flycheck
- Combine all setup functions into one
2017-06-07 12:40:30 +02:00
Danny Freeman 5a7019427e Fixed bug so hy command work when hy is installed on a virtualenv
Hy is typically installed on a python virtual environment, not globally. When
that is the case, init-hy-mode doesn't set any leader keys for hy since it
can't find the hy executable on the path. When a virtual environment is
activated, init-hy-mode is run again to see if it can find a hy executable
and setup the leader keys for hy.
2017-06-07 12:28:48 +02:00
Elliot Bulmer 887ffe8590 Fix Swift REPL leader key bindings
The `swift-mode` REPL bindings have been updated to use a different
naming convention (e.g. a prefix of `swift-mode:` in the CL style).
Typing `, s s` would trigger this error:

```
command-execute: Wrong type argument: commandp, swift-mode-run-repl
```

This change fixes up the command names so that they are usable again
from the leader key.
2017-06-06 12:26:48 +02:00
JAremko 5ccbf4fbc5 Disable dante package if Emacs version is less than 25
fix #8985
2017-06-03 08:59:02 +03:00
JAremko 0e0e90e521
Replace https://faust.grame.fr/ link (faulty server) 2017-05-31 06:25:32 +03:00
Eivind Fonn 9014197722 clojure: fix spacefmt tests 2017-05-30 12:34:31 +02:00
Ben cc1b087497 adding the package magic-latex-buffer to the latex layer 2017-05-30 12:28:26 +02:00
James Conroy-Finn c56c927641 Bind <leader>msX to restart Cider 2017-05-30 12:00:35 +02:00
Eivind Fonn dce3cd4c0e clojure: define keys in :init 2017-05-30 11:58:17 +02:00
Dietrich Daroch 9a14373845 Fix d-mode flycheck imports on dub projects 2017-05-30 10:22:45 +02:00
Don March 3069d4e244 Restore smart closing paren behavior in racket-mode
Remove the shadowing keybindings for `)`, `]`, and `}` so the default
`racket-insert-closing` command is used again.
2017-05-30 10:19:20 +02:00
Swaroop C H a2f1bfa8a4 [python] Prefer virtualenv python to compile file 2017-05-29 10:12:20 -07:00
Eivind Fonn 7fd8caa344 Bugfix: missing -hook suffix 2017-05-29 16:52:39 +02:00
Eivind Fonn fab3b2a4e4 Clean up parinfer layer
- Move to misc instead of vim
- Move add-hook calls into dependent layers
- Improve readme
2017-05-29 11:36:46 +02:00
Eoin Houlihan ca9945d536 Remove SPARQL from extra-langs
Support for SPARQL was added with the semantic-web layer in f7210c30c2
2017-05-28 15:04:01 +02:00
zer09 c504496b12 Update README.org 2017-05-28 15:03:33 +02:00
Eivind Fonn 97862af26c Trim output from pyenv command
Trailing newlines will cause errors
2017-05-28 14:59:34 +02:00
Eivind Fonn bf41e9e300 Move enabling of dante-mode to setup-dante function 2017-05-28 14:41:33 +02:00
Kyle McKean 1ed49e0878 add dante support to haskell layer 2017-05-28 14:40:25 +02:00
Eivind Fonn c812c5be32 Update semantic-web documentation (fix tests) 2017-05-26 11:47:41 +02:00
Eivind Fonn 53cb8a48d3 Move semweb to semantic-web
Minor configuration changes
2017-05-26 11:12:08 +02:00
Andreas Textor f7210c30c2 Add layer for Semantic Web formats
- Syntax highlighting for N3, Turtle and SPARQL formats
- Company mode for SPARQL
- Execution of SPARQL queries against SPARQL HTTP endpoint
2017-05-26 11:07:06 +02:00
Swaroop C H 735321eda3 [elixir] Add missing Alchemist commands and key bindings
Commands and key bindings found via `alchemist-refcard` command.

I've tried to adhere to Spacemacs conventions but where I couldn't find relevant
conventions, I followed Alchemist's key bindings.

Also, delete alchemist-refcard - approved by @syl20bnr at
https://github.com/syl20bnr/spacemacs/pull/8746#issuecomment-301326850
2017-05-26 10:49:35 +02:00
Ivan Kryvoruchko 1d2392ad1d Fix sayid clojure debugger documentation typo 2017-05-26 10:47:34 +02:00
Eivind Fonn e6a3d01eb5 Fix company-php configuration 2017-05-26 10:41:46 +02:00
jim 24bf7d0fb6 add company-php to php layer 2017-05-26 10:36:15 +02:00
Eivind Fonn e4185e4c61 Some refactoring of go layer 2017-05-25 13:20:36 +02:00
Eivind Fonn adca985dd9 Update go layer documentation 2017-05-25 13:19:50 +02:00
Eivind Fonn b7370f454e Add godoctor
Thanks to TinySong
2017-05-25 13:19:32 +02:00
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