Commit graph

1303 commits

Author SHA1 Message Date
Perry Fraser fb855fec67 Add elixir format keybind (#10812)
* Add elixir format keybind

* fix formatting

* Move elixir-format keybind to init-elixir-mode
2018-06-07 00:07:28 -04:00
syl20bnr 834c39c2fd Update promotion and demotion conventions and apply them to markdown 2018-06-06 01:15:48 -04:00
Kechao CAI 49b21c4c3c markdown: fix M-h, M-j, M-k, M-l bindings.
These key bindings are very useful in emacs-editing mode and should not be
overwrited.

This fixes #10640.
2018-06-06 00:51:20 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Codruț Constantin Gușoi 4a9d535786 Checks if tern exists before using it (#10788) 2018-06-04 02:19:15 -04:00
bmag 50621c93af python: conditionally remove binding to obsolete keymap
Using a conditional instead of removing entirely since anaconda-mode code has
been in some flux recently. If the keymap stays obsolete when the dust settles
we can remove this block.
2018-06-03 20:19:19 +03:00
syl20bnr a6542f8e7c Activate nameless only in GUI
Nameless triggers lots of graphical glitches making Emacs unusable in a terminal
when it is enabled.
2018-06-03 01:49:07 -04:00
Aaron Jensen 95a40af341 Revert "Move yas-activate-extra-mode setup to javascript layer" (#10746)
This reverts commit e4eca01e82.
2018-06-01 20:34:48 -04:00
syl20bnr 12a4d63b30 Fix counsel-gtags package name in common-lisp layer
Fixes #10591
2018-05-31 23:43:02 -04:00
p-sdk 4e3990ce52 ruby: add key bindings for ruby-send-{buffer,line}-and-go 2018-05-31 01:09:50 +03:00
Michael Rohleder 24ca355b6a add org-babel support for some of the more popular languages. (#10738)
* add org-babel support for some of the more popular languages.
* alphabetical sorted package names.
* removed blank lines at EOF.
2018-05-30 09:07:21 -04:00
syl20bnr c9e364721e Fix formatting in javascript layer README.org 2018-05-24 01:44:28 -04:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
syl20bnr 7d19ba1711 python: fix missing t with :call-hooks keyword 2018-05-23 22:11:10 -04:00
mangosmoothie 41d16b545b updating regex to match single optional m character 2018-05-24 00:45:20 +03:00
Nathan Lloyd e1a6e8be1c add .mjs (ES6 module) extension to init-js2-mode 2018-05-24 00:43:41 +03:00
Codruț Constantin Gușoi 18c7241e2d Removes unwanted whitespaces 2018-05-23 23:27:20 +03:00
Wojciech Wojtyniak df4c3b96f1 Enable command history navigation in the cider REPL in an insert mode
This is the same navigation that is used in normal mode. This behavior matches
one from the elisp REPL.
2018-05-23 23:26:32 +03:00
Robby O'Connor f7946542d2 [BREAKING CHANGE] delete extra-langs layer
This layer has long been deprecated and is due to be nuked.
2018-05-22 23:39:51 -04:00
syl20bnr 7be4e22d45 crystal: fix URL 2018-05-22 23:18:09 -04:00
syl20bnr fe7cc15a8a Add new layer for Crystal language 2018-05-21 03:14:46 -04:00
Brandon T. Willard f069f9992d Fix pyvenv pre-init defun and package names; adjust hy-mode prefixes. 2018-05-21 01:18:37 -04:00
syl20bnr 4a2e04a4ed dump: require some emacs-lisp modes while dumping
auto-compile
elisp-slime-nav
nameless
2018-05-20 03:58:48 -04:00
syl20bnr d14d58d990 hy: fix documentation format 2018-05-20 03:13:54 -04:00
syl20bnr ea8991ac90 New layer Hy extracted from Python layer 2018-05-20 03:06:25 -04:00
syl20bnr 8267b501dd web-beautify: rename spacemacs-web-beautify--modes 2018-05-20 00:41:17 -04:00
syl20bnr 9f6b45223f python: put smartparens advice in a post-config use-package hook 2018-05-20 00:24:29 -04:00
Nikita Leshenko b3743701db python: smartparens: Fix bytecomp warning (#10582)
The byte compiler doesn't know about `smartparens-strict-mode' because
smartparens is lazy loaded, so wrap the variable reference in `bound-and-true-p'
to silence a warning that appears on Spacemacs startup.

To reproduce:
1. Install a fresh Spacemacs from develop branch
2. Use spacemacs-base distribution
3. Select only these configuration layers: spacemacs-editing python
4. Restart Emacs to install packages
5. Restart Emacs again and observe warning:
   Warning (bytecomp): reference to free variable 'smartparens-strict-mode'
2018-05-20 00:22:44 -04:00
p-sdk 000e5022c9 ruby: add key binding for ruby-send-line 2018-05-20 00:01:29 -04:00
syl20bnr b97ad90c92 web-beautify: fix definition of web-beautify key bindings
Needs to use `pre-init` function in order to have the variable
spacemacs-web-beautify--modes to be populated before the init function of
web-beautify is actually called.
2018-05-19 01:53:33 -04:00
syl20bnr 4980a6461d Fix another link in documentation... 2018-05-18 02:21:05 -04:00
syl20bnr 3976a341a0 Fix documentation link to web-beautify layer README 2018-05-18 02:04:45 -04:00
syl20bnr 542ada133d New layer web-beautify extracted from javascript layer
Make html, javascript, json and react layers depend on it
2018-05-18 01:25:29 -04:00
syl20bnr 10ea3d3e13 html: move css functions to funcs.el 2018-05-18 01:25:29 -04:00
syl20bnr e4eca01e82 Move yas-activate-extra-mode setup to javascript layer 2018-05-18 01:25:29 -04:00
Ting Zhou 8616f07b86 Add: use rjsx-mode for react framework
Fix: add yas-activate-extra-mode
Add: add lsp support for react layer
Add: Add rjsx-mode key-bindings doc
Clean: rename spacemacs//set-lsp-key-bindings to spacemacs//setup-lsp-jump-handler
Fix: remove buggy hooks
Clean: move fix-lsp-company-prefix to lsp layer
Fix: rjsx-mode company
Fix: rjsx-mode lsp backend
2018-05-18 01:25:29 -04:00
syl20bnr abf3df4ad7 New layer tern extracted from javascript layer 2018-05-18 01:25:29 -04:00
Juuso Valkeejärvi 387a19530d javascript: fix default value of tern-command variable
tern-command must be a list or adding switches to command doesn't work
2018-05-18 01:25:29 -04:00
Farva 6cda2dec61 Opt-out of company-rtags while retaining rtags
if 'c-c++-enable-rtags-support' is 'no-completion', keep everything
enabled, but not completion ('company-rtags').
2018-05-18 01:05:52 +03:00
JI Xiang 7638d4cc40 Fix ipython-notebook layer instructions
Now `pip install jupyter` is needed instead of `pip install ipython[notebook]`.
Otherwise `ob-ipython` package will not work.
2018-05-18 01:01:09 +03:00
JAremko d8b1f81fbb
Fix 404 URLs 2018-05-17 02:26:52 +03:00
JAremko 1c4a0451d9 Fix Ensime URL 2018-05-17 02:01:05 +03:00
Codruț Constantin Gușoi 04c9c66d39 Fixes newline problems after newlines header 2018-05-16 11:20:07 +03:00
kenkangxgwe be0686a21e Re-enable Wolfram-mode, since it is added back to Melpa. 2018-05-16 00:13:15 +03:00
Codruț Constantin Gușoi 4219842f98 Instead of removing auto-newline, control it via a variable 2018-05-15 23:54:20 +03:00
Fangrui Song 33192a05e2 Remove spacemacs//c-toggle-auto-newline 2018-05-15 23:51:50 +03:00
JAremko dd46fcac78
Fix 404 links. 2018-05-15 16:19:01 +03:00
syl20bnr 7aca5aebd1 javascript: set default value of tern-command to "tern"
fixes #10673
2018-05-14 22:54:53 -04:00
syl20bnr 0fc3d921d2 json: fix hook error in post-inti-add-node-module-path 2018-05-14 20:52:22 -04:00
Jinseop Kim e3c6772a49 perl5: Fix for leader key prefix name on CPerl mode 2018-05-15 00:54:20 +03:00