Commit graph

3758 commits

Author SHA1 Message Date
Codruț Constantin Gușoi 3873ed52fe Revert back to in documentation 2018-06-02 16:37:56 +03:00
Adam Sokolnicki a80f4f6aa4 Move projectile-rails keybindings under the web framework key SPC m f
Closes #7424
2018-06-02 16:26:35 +03:00
Adam Sokolnicki eda1fd1da5 Set leader keys for projectile-rails minor mode instead of ruby's major mode 2018-06-02 16:26:35 +03:00
syl20bnr 1ec62a496a Add evil-goggles and tune effect duration for async and blocking ops 2018-06-02 02:51:06 -04:00
seemyvest 51f922694c Add key bindings for org-feed-update-all and org-feed-goto-inbox (#10745) 2018-06-02 02:00:33 -04:00
syl20bnr 1374cd615f Fix evil-escape lighter being shown in mode-line
Also simplify code a bit.
2018-06-02 01:56:25 -04:00
syl20bnr 8660f93dec nlinum: deprecate layer for Emacs 26.1 and above 2018-06-02 01:28:54 -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
Codruț Constantin Gușoi 390462e36d Adds some profiling keybinding under SPC h P 2018-05-31 01:23:02 +03:00
Codruț Constantin Gușoi 83f2fd4d22 Window splitting with custom delete
Implements some custom window layout splitting functions.
2018-05-31 01:16:57 +03:00
p-sdk 4e3990ce52 ruby: add key bindings for ruby-send-{buffer,line}-and-go 2018-05-31 01:09:50 +03:00
Víctor Cuadrado Juan f234df5f94 Don't hardcode fci-rule-color face
Faces should be set in themes or by use of the theming layer.

This closes #8917.
2018-05-31 00:56:20 +03:00
smile13241324 ecd256ca6d Fix some small typos in spacemacs-purpose documentation 2018-05-30 21:40:27 +02: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
bmag 3812c591cf Line numbers: tests and bug fixes for major-mode predicate 2018-05-30 11:35:26 +03:00
bmag 8f82486154 Add support for native line numbers in Emacs 26
Emacs 26.1 will introduce a new native line numbers feature:
"display-line-numbers". It includes relative line numbers, is faster than
current linum-mode, and doesn't use the margin area (it has its own area). So
yeah, we want to use the new feature when possible.

No changes are required on the user side, except for Emacs 26 users are
recommended to remove nlinum layer from their configuration (if they have
enabled it).

With this change:
- Emacs 26:
  - uses display-line-numbers by default.
  - linum and linum-relative packages are excluded.
- Emacs 25:
  - does NOT use display-line-numbers.
  - continues to use linum and linum-relative.
- nlinum layer:
  - can still be used as before in Emacs 25.
  - is NOT recommended in Emacs 26, but can be used.
  - when enabled, excludes display-line-numbers.

Also contains some bug fixes:

Fixes a bug where setting `dostpacemacs-line-numbers` to `t` or `relative`
enabled line numbers in every buffer, instead of only in buffers that derive
from prog-mode and text-mode.

Likewise fixes a bug where specifying `:enabled-for-modes nil` (or not
specifying `:enabled-for-modes` at all) in `dotspacemacs-line-numbers` settings
meant "enable in all modes" instead of "enable in modes derived from prog-mode
or text-mode".

Because of this change, also adds a way for users to enable line numbers
in *all* buffers.

Removes check for special buffer. All our current checks should be enough to
enable line numbers only where it makes sense. Disabling in all special buffers
is not necessary.
2018-05-28 19:29:15 +03:00
syl20bnr 738b1be5c3 treemacs: set variables in :init to be overridable in dotfile 2018-05-28 11:23:57 -04:00
Codruț Constantin Gușoi b68bd33a16 Fixes shell readme format 2018-05-28 00:50:16 +03:00
Codruț Constantin Gușoi 099c2b03a8 Adds documentation for OSX modifiers 2018-05-28 00:38:13 +03:00
fiveNinePlusR f7fb7e45a3 OSX: Fix the function keys not working correctly
page up and page down were not working correctly and this allows the normal emacs handling of system function keys.
2018-05-28 00:34:57 +03:00
duianto b5589b18b8 Rename ms in func ahs-ms-on-exit to ts
`ms` is an abbreviation for a micro state, which was the previous name for a
transient state.
2018-05-28 00:22:41 +03:00
duianto 1bcce809d5 Rename ms in helm-nav face definition to ts
The `spacemacs//helm-navigation-ts-set-face` function had been changed to call
the face `spacemacs-helm-navigation-ts-face` with `-ts-`, but the face
definition was still called `spacemacs-helm-navigation-ms-face` with `-ms-`.
2018-05-28 00:14:55 +03:00
AmanYang f5701f3ef7 Fix pushing org-projectile-todo-files to org-agenda-files
Using `(push (org-projectile-todo-files) org-agenda-files)' would occur error shown below when entering org-agenda-mode.
--error begin
Wrong type argument: stringp, ("~/.emacs.d/TODOs.org" ...)
--error end
`(org-projectile-todo-files)' returns a list of files.
 `push' function would make the list a new ELT of `org-agenda-files' rather than merging members into it.
But `org-file-menu-entry' only accept file path string as parameter.
2018-05-28 00:11:37 +03:00
David Balatero 4ad2f719fa Add shell-default-width configuration option for left/right side 2018-05-27 23:58:03 +03:00
Bet4 7fb966d3db recentf: use recentf-expand-file-name to generate recentf-exclude 2018-05-27 23:38:38 +03:00
Codruț Constantin Gușoi 20d4443352 Declares the pandoc prefix 2018-05-27 23:29:07 +03:00
martian-f 71ce9ac3ed Fix run-pandoc resetting settings
When using spacemacs/run-pandoc to open the pandoc hydra, pandoc-mode
is called each time, which will overwrite any previous changes the user
might have done to pandoc--local-settings.

Fix this by calling pandoc-mode only when it is not yet enabled.
2018-05-27 23:19:06 +03:00
Aleksei Fedotov e421377861 jabber: Fix missing optional argument for the alert jabber-alert-echo function.
Jabber alert function should accept an optional second argument containing a
title of the message. The function mimic the default implementation of
jabber-alert-echo by showing the title if it is present and a message body
otherwise.

This commit fixes an error which is thrown when jabber receives a new notification:
(wrong-number-of-arguments (lambda (msg) (if (minibuffer-prompt) nil (message "%s" msg))) 2)
2018-05-27 23:02:17 +03:00
Codruț Constantin Gușoi e1ae3448e6 Remove whitespace from readme 2018-05-27 22:54:25 +03:00
dh 496eb1db56 cleanup & change keybinding of magit-svn-popup 2018-05-27 22:46:44 +03:00
dh 24ba77e775 install magit-svn by default 2018-05-27 22:46:44 +03:00
dh 8cd8197348 enable magit-svn by default 2018-05-27 22:46:44 +03:00
smile13241324 106b27f52e Deactivate evil-escape in holy-mode 2018-05-27 22:37:48 +03:00
William Casarin 754853157b notmuch: add notmuch-show-as-patch
* Bind to <SPC m p p>
* Useful for viewing github review emails as a diff
2018-05-27 20:05:08 +03:00
pancho horrillo 3c20a65ff4 Fix typo in README.org
The sample `00:test_*.py` should read `00:test_.*.py`, as per https://github.com/mineo/yatemplate#description
2018-05-27 20:02:00 +03:00
Alexander Miller 3ff7f4adce filetree: Update treemacs layer. 2018-05-27 19:41:47 +03:00
Alexander Miller aeac113452 filetree: let neotree use "open" instead of "xdg-open" on macos.
Fixes #10744.
2018-05-27 14:30:28 +02:00
Simon Altschuler 505c500418 Enable scrolling in mu4e main mode 2018-05-25 01:31:09 +03:00
Evan Klitzke f98519c154 Add helm-pass to pass layer 2018-05-25 01:05:36 +03:00
CeleritasCelery 6905d9cafa fix bug with evil-pasted object 2018-05-24 10:38:55 -07:00
syl20bnr c9e364721e Fix formatting in javascript layer README.org 2018-05-24 01:44:28 -04:00
syl20bnr 74e8114ed6 Fix code block without language in +completion/templates README.org 2018-05-24 01:40:30 -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
Jonas Jelten 6d7c22c65c cmake: fix cmake-ide mode hook function name 2018-05-23 23:12:56 +03:00
Miciah Dashiel Butler Masters c18317ad05 shell: Restore correct value for company-idle-delay (#10728)
* shell: Restore correct value for company-idle-delay

In spacemacs//toggle-shell-auto-completion-based-on-path, re-enable
automatic suggestions by restoring company-idle-delay to the value of
auto-completion-idle-delay rather than to a hardcoded value.

* Document how to disable automatic suggestions

Document how to disable automatic suggestions, and mention that the Tab key
will still perform completion even with automatic suggestions disabled.
2018-05-23 00:27:08 -04:00
syl20bnr 04685e77ca templates: look for dotspacemacs-directory location first
Rename variable to templates-use-default-templates
2018-05-23 00:21:32 -04:00
Eivind Fonn 3d72cf2a53 Add templates layer (thanks YasuharuIida) 2018-05-22 23:46:07 -04: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
Jesse Byler 65e605f81b Fix vert/horiz in Window Manipulation Transient St (#10726)
Swaps usage of veritcal and horizontal in the documentation string
for Window Manipulation Transient State.

Fix for Issue #10725.
2018-05-22 23:34:11 -04:00
syl20bnr 7be4e22d45 crystal: fix URL 2018-05-22 23:18:09 -04:00
kekenow 7a3c5c1ab2 Fix issue "counsel-gtags command doesn't work in c-c++ layer
* [#10031] Fix issue "counsel-gtags command doesn't work in c-c++ layer"

https://github.com/syl20bnr/spacemacs/issues/10031
2018-05-22 22:59:22 -04:00
p-sdk dc97c3c4c7 org: fix https links
Fixes #10621
2018-05-22 13:08:43 +03:00
syl20bnr fe7cc15a8a Add new layer for Crystal language 2018-05-21 03:14:46 -04:00
syl20bnr 9a3a1384ca helm: move functions to funcs.el 2018-05-21 01:18:37 -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 30204ee05a Remove adaptive-wrap package as it does not play well with other modes
see https://github.com/syl20bnr/spacemacs/issues/1418
fixes #1418
2018-05-21 00:29:40 -04:00
syl20bnr 9ff0d967d3 dump: require yasnippet while dumping
Unfortunately preactivating yasnippet while dumping double the loading time.
Not sure why exactly the loading time doubles, it should no be the case.

So for now we only require the library and let the hook for activate it.
2018-05-20 03:58:48 -04:00
syl20bnr 87dc5f100c dump: add support for winner
pdump cannot dump window configurations so we make sure to activate winner
outside of the dump phase
2018-05-20 03:58:48 -04:00
syl20bnr ed9123984a dump: require recentf and eldoc when dumping 2018-05-20 03:58:48 -04:00
syl20bnr b44506fa74 dump: fix lag when deleting line with dd by disabling pbcopy 2018-05-20 03:58:48 -04:00
syl20bnr 5d830fca43 dump: require some helm packages while dumping 2018-05-20 03:58:48 -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 ecb9888d8e dump: require org when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 45e0c08c72 dump: require magit when dumping 2018-05-20 03:58:48 -04:00
syl20bnr 378392e7cd dump: remove spaceline-compile hook and force separator to be utf-8
For now we have an issue with invalid XMP image format when dumping.
So we force utf-8 separator.

spaceline-compile is really long and not really necessary for regular users.
Advanced users must explicitly call spaceline-compile in their dotfile and be
ready to pay a 0.5s penalty when loading emacs.
2018-05-20 03:58:48 -04:00
syl20bnr 2580e43c66 Add support for dumping Spacemacs
Create dump with:

   ./emacs --batch -l ~/.emacs.d/dump-init.el \
           -eval '(dump-emacs-portable "spacemacs.pdmp")'

Load dump with:

   ./emacs --dump-file=spacemacs.pdmp

User can require/load additional libraries in new dotfile function:

   dotspacemacs/user-load
2018-05-20 03:57:54 -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
p-sdk 0e7807cb32 Fix modeline colors on emacs-mac port 2018-05-19 23:58:17 -04:00
JAremko 958d2e95a5 Format documentation. 2018-05-20 02:15:51 +03: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
Juuso Valkeejärvi 4deb56ca57 web-beutify: fix error when resyncing configuration 2018-05-19 01:48:52 -04:00
syl20bnr 30e366fd40 react: add spacemacs prefix to functions in funcs.el 2018-05-19 01:16:18 -04:00
syl20bnr 8fd934c209 react: set emmet-expand-jsx-className? to t 2018-05-19 01:15:04 -04:00
Lupco Kotev 214e5a847d Add argument to specify window when opening from neotree 2018-05-19 00:19:06 -04:00
Juuso Valkeejärvi fa64eb3246 tern: fix issues when loading layer 2018-05-19 00:11:39 -04:00
syl20bnr 635a32c468 treemacs: sort key bindings 2018-05-18 23:41:03 -04:00
syl20bnr 5a914780e8 treemacs: SPC f T --> SPC f t and SPC f C-t --> SPC f T
treemacs-toggle does not exist anymore. We can shift the key bindings to make
them modifier free.
2018-05-18 23:38:15 -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 5f75e617a3 Fix documentation formating 2018-05-18 01:58:00 -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 101a55e0ff react: make react layer depend on node layer 2018-05-18 01:25:29 -04:00
syl20bnr e2a1224f64 react: remove unused function spacemacs//setup-rjsx-mode 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
syl20bnr c15b65435e react: make react layer depends on new tern 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
Benno Fünfstück 572d4388fb spacemacs-modeline: compute height only after display init
Before the display system is initialized, we cannot reliably make font
measurements so the height will be incorrect. This lead to display artefacts
if emacs was started in daemon mode without a graphical interface and later a
graphical client was connected (so for example, if you do `emacs --daemon`
followed by `emacsclient -c`).
2018-05-18 01:25:29 -04:00
syl20bnr e5d8603290 Fix symbols's function definition is void: winum--window-list
fixes #10446
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
Lupco Kotev ef795f16af Fix Neotree RET bind 2018-05-18 01:09:10 +03: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
CeleritasCelery 2609538855 fix helm layer broken with smex package 2018-05-18 01:02:58 +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
JAremko b5debe944c Update Docker deps. 2018-05-17 02:00:33 +03:00
Codruț Constantin Gușoi a3debe1570 Fixes ansible key errors 2018-05-16 19:44:47 +01:00
Codruț Constantin Gușoi 04c9c66d39 Fixes newline problems after newlines header 2018-05-16 11:20:07 +03:00
duianto f4a3025174 Format symbol highlight transient state
Reduce the width of the listed key bindings by:
Moving the range and highlighted symbols counter to the right of the transient
state title.
Shorten some key description names.
Reduce three instances of "search" to just one.

And reorder the listed keys based on their search scope, small to large:
swoop, buffers, files, project.
2018-05-16 00:41:37 +03:00
kenkangxgwe be0686a21e Re-enable Wolfram-mode, since it is added back to Melpa. 2018-05-16 00:13:15 +03:00
Leslie Shawn Russell 6259f40914 Fix Slack Layer helm menu display
Changed the slack layer to display "+slack" rather than "+prefix"
This matches other layers (i.e. +org, +irc) under <leader> a.
2018-05-16 00:07:06 +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 391bbc1498 fix backends when auto-completion-enable-snippets-in-popup is nil
fixes #10676
2018-05-14 21:32:53 -04:00
syl20bnr 0fc3d921d2 json: fix hook error in post-inti-add-node-module-path 2018-05-14 20:52:22 -04:00
Codruț Constantin Gușoi ac5fde1055 Adds doom-themes to the themes-megapack layer 2018-05-15 01:39:40 +03:00
Ag Ibragimov 5cdfeef2fa git: adds SPC g f d - for magit-diff-buffer-file-popup 2018-05-15 01:33:30 +03:00
Ag Ibragimov d691b916cd git: changes SPC g f h to SPC g f l - for 'git log' of current file 2018-05-15 01:33:30 +03:00
Tommi Komulainen 885f561673 org: add SPC m i n binding for org-add-note 2018-05-15 01:05:46 +03:00
Jinseop Kim e3c6772a49 perl5: Fix for leader key prefix name on CPerl mode 2018-05-15 00:54:20 +03:00
Alexander Baier 5b70ac5009 Remove key-bindings pointing to removed commands
The ledger-mode maintainers removed ledger-set-month and ledger-set-year to fix
https://github.com/ledger/ledger-mode/issues/36. This was done in commit
782014ae.

The finance layer still had key-bindings pointing to these functions, that are
no longer defined, leading to errors when executing one of those bindings. This
simply removes the bindings to avoid confusion.
2018-05-15 00:45:24 +03:00
Codruț Constantin Gușoi d4c8513075 Split windows as @bmag suggested.
Refs: https://github.com/syl20bnr/spacemacs/pull/10669#issuecomment-388815579
2018-05-14 22:48:09 +03:00
Alex cbf6de8ef1 Add 2x2 grid layout shortcut 2018-05-14 22:39:56 +03:00
syl20bnr e481894fcb Create new json layer extracted from javascript layer
* add some goodies like `json-reformat` and `json-navigator`
* make the javascript layer dependent on the json layer
2018-05-14 00:49:13 -04:00
syl20bnr ac4b2686b4 java: enable flycheck for meghanada backend only if possible 2018-05-13 22:39:17 -04:00
syl20bnr 9164407e99 javascript: remove references about coffeescript in README.org 2018-05-13 22:35:12 -04:00
syl20bnr eeec23b226 coffeescript: fix doc. tests 2018-05-13 22:26:47 -04:00
syl20bnr c3ebeb2ee4 coffeescript: add org-babel integration 2018-05-13 12:56:59 -04:00
syl20bnr 996cc91b5d python: fix company when opening a buffer for the 1st time
fixes #https://github.com/syl20bnr/spacemacs/issues/10638
2018-05-13 12:39:52 -04:00
syl20bnr e7c103b556 coffeescript: add jump handler 2018-05-13 10:28:39 -04:00
syl20bnr ca07366f01 New layer coffeescript (extracted from javacript layer) 2018-05-13 10:19:48 -04:00
syl20bnr 9123ffc986 typescript: fix backend name in typescript-setup-eldoc 2018-05-13 09:20:39 -04:00
syl20bnr 17b8e9d75a javascript: fix post-init-imenu func name 2018-05-13 09:16:04 -04:00
syl20bnr 1a0e5e34e3 javascript: add safe values for javascript backend 2018-05-13 02:14:09 -04:00
syl20bnr 7d6fd4ffd4 javascript: sort packages 2018-05-13 02:12:14 -04:00
syl20bnr 9820484716 javascript: fix multiple backends
* Use hack-local-variables-hook and remove usage of hooks in backends setup
  functions.
* also move imenu configuration to post-init-imenu
* Remove the necessity of typescript server for javascript layer
* Remove the necessity of javascript and javascript-flow servers for typescript
  layers
2018-05-13 01:31:00 -04:00
syl20bnr 0a32d339f5 debug: fix doc for eval variable and sort key bindings 2018-05-13 00:09:34 -04:00
syl20bnr 5cdc1ed056 Sort packages alphabetically and add spacemacs function prefix 2018-05-12 23:59:50 -04:00
CeleritasCelery 6e684739cb create debug layer 2018-05-12 23:46:18 -04:00
syl20bnr 1a5664e436 typescript: add safe values for typescript-backend variable 2018-05-12 02:51:42 -04:00
syl20bnr f4223543e1 typescript: fix usage of hooks in multiple backends setup
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:46:51 -04:00
syl20bnr 0877f2f92a typescript, java: use new :append-hooks and :call-hooks
This is necessary as we use hack-local-variables-hook to setup the backends,
at this time it is too late to setup hooks, we need to call the function right
away.
2018-05-12 02:33:52 -04:00
syl20bnr 883f57ee74 typescript: fix hooks to take into account directory variables
Also use spacemacs/add-hooks when applicable.
2018-05-12 02:33:10 -04:00
syl20bnr 40f41769bd auto-completion: add :call-hooks and rename :hooks to :append-hooks
Add these keywords to macro spacemacs|add-company-backends

:append-hooks controls wether we add the hooks to major mode hook variable
:call-hooks conrols wether we execute the created hooks function right away

Basically for multiple backends setup we want to pass :append-hooks to nil and
:call-hooks to t.
2018-05-12 02:26:37 -04:00
syl20bnr 40f28c7d12 auto-completion: fix duplicate addtion of backends
Reverting a buffer could put multiple entries of the same backend in the buffer
local `company-backends` variable.
This is due to the fact that we mutate `company-backends-xxxx-mode` variable
with:
         (setq ,backends-var-name
               (mapcar 'spacemacs//show-snippets-in-company
                      ,backends-var-name)))

Solution is to add a new variable that won't be mutated when we add the support
for snippets.
2018-05-12 02:03:33 -04:00
syl20bnr 439dafb4dd auto-completion: fix variables not set with multiple modes
When multiple modes where provided to macro spacemacs|add-company-backends along
with variables, only the first mode was taken into account as the `variables`
variable was nil after the first interation on `modes`.
2018-05-12 01:53:54 -04:00
syl20bnr 14a5b8c21a typescript: use spacemacs/add-to-hooks function 2018-05-12 00:23:10 -04:00
Andrea Moretti 3a516438cd add smartparens mode 2018-05-12 00:23:10 -04:00
Andrea Moretti 8081d51560 typescript: avoid 0 char autocomplete 2018-05-12 00:10:36 -04:00
Ting Zhou 5a92c43951 Fix: use recipe for lsp-javascript-typescript 2018-05-11 23:28:15 -04:00
syl20bnr f9968bf326 javascript: add default value for tern-command and remove toggle
Since now we support multiple backends, the toggle based on tern executable
seems not necessary anymore.
2018-05-11 13:28:16 -04:00
Alex Palaistras 70c1737c44 xclipboard: Fix keybindings for copy and page
This commit switches the keybindings for `xclipboard-copy` and `xclipboard-paste` to `SPC x y` and
`SPC x p` respectively, as it appears these were incorrectly assigned the other way around.
2018-05-11 10:25:52 -04:00
Ting Zhou 5c14486b62 Fix: remove buggy hooks in javascript and typescript 2018-05-11 01:48:03 -04:00
syl20bnr 79824060c1 Fix l keybinding in neotree to open in MRU window
Fixes #9794
2018-05-11 01:28:58 -04:00
Nick Anderson 4cc57dea74 Fix automatic syntax checking for cfengine
The wrong mode for cfengine was specified for enabling flycheck. This properly
loads flycheck support when cfengine3 mode is active.
2018-05-11 00:42:52 -04:00
syl20bnr bb84c4a3a3 Fix xclipboard local package name 2018-05-11 00:29:05 -04:00
syl20bnr 1befcad00d Move xclipboard to a local package 2018-05-11 00:20:14 -04:00
Charles Weill e4cb2b37dc Add X clipboard support layer to terminal emacs.
The X clipboard allows a user to copy and paste content between different X
windows, e.g. copying text from Chrome into a Terminal. Copy/pasting with the X
clipboard it well supported in GUI Emacs, but not so well in terminal Emacs
(i.e `emacs -nw` or `emacsclient -t`) without resorting to using the mouse,
since terminal Emacs has no awareness of X. There are several incomplete Elisp
solutions out that work for the most part, but may not have cross-platform
support, or may fail over SSH with X forwarding or within a `tmux` session.

This layer adds support for OSX, Linux, Windows, and Cygwin using the relevant
binary on each system. For example on Linux, it uses `xsel` or `xclip` to
interface with the clipboard, depending which one is available. It also adds
support for ssh'ing into a different OS with X forwarding via `ssh -Y hostname`,
and copy/pasting to and from a remote terminal Emacs. It also supports an edge
case of continuing to work in an Emacs instance running inside a `tmux` session
which may have been started by a different ssh session, which relies on
explicitly reseting the `$DISPLAY` environment variable before calling the
relevant binary.

Yank code inspired by https://github.com/tmux-plugins/tmux-yank.

Fix #4662.

Tried to add xclip support but removed it since it freezes.
2018-05-11 00:00:01 -04:00
syl20bnr df90ec6c02 Add eziam and kaolin themes to themes-megapack layer 2018-05-10 23:38:26 -04:00
duianto a64417b3c1 Add golden-ratio support to evil-unimpaired
Switching window with `[ w` and `] w` didn't activate golden-ratio.
2018-05-10 23:56:05 +03:00
CeleritasCelery 19b7d40aa1 add support for helm find files edit to helm-navigation transient state 2018-05-10 23:34:39 +03:00
Aaron Jensen 40530100d6 Reenable magithub
Ghub and therefore magithub now support creating tokens automatically:

https://github.com/vermiculus/magithub/blob/master/magithub.org#authentication
https://magit.vc/manual/ghub/Interactively-Creating-and-Storing-a-Token.html#Interactively-Creating-and-Storing-a-Token
2018-05-10 23:05:14 +03:00
Alex 5ea833f10b Add function and keybinding for single column window layer.
We have key bindings to create two and three column
window layers.

This commit makes available a key binding to return to
the default spacemacs window layer, the single column one.
2018-05-10 22:38:47 +03:00
bmag 260c3d98e3 pcre2el: move ownership to bootstrap
pcre2el is used by several layers, such as ivy and helm, so it needs to be
available outside of spacemacs-editing layer.
See also https://github.com/syl20bnr/spacemacs/pull/5990#issuecomment-217400470
2018-05-10 20:26:55 +03:00
CeleritasCelery aa5bc0373f fixed helm action in helm transient state 2018-05-10 00:00:19 +03:00
smile13241324 bf61b1500a Add keybinding to docker layer to build image without cache 2018-05-09 22:36:10 +03:00
Codruț Constantin Gușoi 775fb50f9f Fixes TOC formatting for python layer 2018-05-09 01:19:21 +03:00
syl20bnr 7596a156a4 Rename set-lsp-key-bindings and make it accept a list of modes 2018-05-08 00:17:56 -04:00
syl20bnr ed80e41014 javascript: minor update of README.org 2018-05-08 00:10:48 -04:00
syl20bnr 522eafbd2b typescript: update README.org for multiple backends 2018-05-08 00:10:13 -04:00
Ting Zhou 59e0c5683a Add: lsp-typescript support 2018-05-07 23:47:24 -04:00
Philippe Bourdages 4ac8e4ec17 Fix Typescript key binding typo 2018-05-07 23:46:59 -04:00
syl20bnr 4eaf160b90 lsp: fix typo 2018-05-07 23:34:31 -04:00
Ting Zhou aaa8c93d00 Docs: fix javascript doc 2018-05-07 23:32:47 -04:00
Ting Zhou 8df99c440b Clean: move spacemacs//set-lsp-key-bindings to lsp layer 2018-05-07 23:32:47 -04:00
Ting Zhou a7982de966 Clean: rename lsp prefix fix function names 2018-05-07 23:32:47 -04:00
Ting Zhou 64cd095d86 Fix: remove unnecessary comments 2018-05-07 23:32:47 -04:00
Ting Zhou f3ee2edf1b Add: add lsp-javascript backend for javascript layer 2018-05-07 23:32:47 -04:00
syl20bnr fcd9d31bcb groovy: add import for symbol key binding 2018-05-07 01:03:47 -04:00
JAremko d4017b1ca7 Make sure that docs pass formatting cheques. 2018-04-15 22:16:17 +03:00
syl20bnr 0fa3658cd8 reorganize spacemacs-base distribution into +spacemacs/spacemacs-xxx
This idea is to have the spacemacs-base distribution only configure defaults for
built-in packages. Those buit-in packages are now configured in the new layer
spacemacs-defaults.
Additionally some other packages of spacemacs-base have been dispatched to
better suiting spacemacs layers.

Projectile has been moved to the new layer spacemacs-project

- Move the following packages to bootsrap distributio layer:
  - exec-path-from-shell
  - evil-evilified-state
  - holy-mode
  - hybrid-mode
  - spacemacs-theme
- ace-window has been moved to spacemacs-navigation
- centered-buffer-mode has been moved to spacemacs-editing-visual
- pcre2el has been moved to spacemacs-editing
- evil-escape and evil-visualstar have been moved to spacemacs-evil
2018-03-04 20:54:54 -05:00
Bet4 b0f77612e3 Call helm-mode when helm is initialized
Fixes #9826
2018-03-03 23:55:01 -05:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr cff0bb19bf c-c++: replace toggle-auto-newline lambda by a named function 2018-03-03 22:59:55 -05:00
Aaron Jensen 6c1339debb cc-mode: move c-toggle-auto-newline to hook 2018-03-03 22:50:00 -05:00
Aaron Jensen 31dc961ef8 typescript: Fix eldoc hooks 2018-03-03 22:46:47 -05:00
EMayej Bee 971719f55c fix(java): typo 2018-03-04 10:28:12 +08:00
syl20bnr baf154b0c3 typescript: isolate el-doc configuration
also ensure that eldoc-mode is called after tide-setup
2018-03-03 16:53:42 -05:00
Aaron Jensen e1e4aeb5a4 typescript: Fix eldoc
eldoc cannot be enabled until after tide-setup is run.
2018-03-03 16:47:41 -05:00
syl20bnr 3731d0d3fc Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-03-03 16:45:00 -05:00
Simon Altschuler ed1cccd319 Rename typescript "rename" bindings to "refactor" 2018-03-03 16:30:13 -05:00
Simon Altschuler 93c24c3cc7 Add tide-fix binding to typescript layer 2018-03-03 16:30:09 -05:00
Ayush Goyal d3bb27cbab Fix spacemacs/swiper-all-region-or-symbol function
spacemacs/swiper-all-region-or-symbol function doesn't work. This is probably
due to using old swiper api which has changed.
2018-03-03 15:02:21 +02:00
Aaron Jensen 13c7da3cd2 use-package-always-defer: fix regression in tmux 2018-03-03 14:39:36 +02:00
kyren 02a5a44ab7 Add :demand t to fix loading treemacs-evil package
It appears that 29c78ce changed `:defer t` to be the default for
use-package, and that previously the `treemacs` and
`treemacs-projectile` packages in treemacs/packages.el specified `:defer
t`, but *not* `treemacs-evil`.  Restoring `:demand t` (previously the
default) to `treemacs-evil` appears to fix #10422.
2018-03-03 14:38:43 +02:00