Commit graph

8787 commits

Author SHA1 Message Date
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
Adam Kruszewski
e11f7badc4 Added known-issues, features and multi-dict sections.
Added:
 - Information about incompatibility of vim-empty-lines and spell-checking
inside org-mode.
 - Features section to Description section (to comply with standard).
 - Section how to enable multi-dictionary for hunspell.
2018-01-18 01:22:21 -05:00
Benjamin Reynolds
93d2fa6f9c evil-mc: Fix misaligned cursors on macOS and Windows
See #8641
See also gabesoft/evil-mc#49
2018-01-18 01:20:12 -05:00
Tad Fisher
4b111f7701 spacemacs-layouts: Use counsel-projectile-switch-project-action
Use `counsel-projectile-switch-project-action` instead of
`projectile-switch-project-by-name`, to match the additional actions available
via `counsel-projectile-switch-project` (SPC p p).
2018-01-18 01:16:58 -05: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
syl20bnr
904523293c conventions: add SPC m f for web frameworks 2018-01-18 00:27:22 -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
Kalle Lindqvist
00bea00672 Make popwin handle google-translate buffers 2018-01-18 00:09:37 -05:00
Kalle Lindqvist
6efe43b222 Fix hjkl bindings in image-mode and add leader bindings. 2018-01-18 00:09:09 -05:00
Cheng,Rong
293b98151a Make auto-completion triggers more friendly in "react" layer
Auto completion menu triggers too frequently in react-mode, for example, the
completion menu will pop up right after user finishes typing a javascript
statement.

The root cause is that the 'company-minimum-prefix-length variable has been set
to 0 in "html" layer, which is used by "react" layer.

Overriding this variable to 2, as defined in "auto-completion" layer, will
resolve this issue.
2018-01-17 23:46:54 -05:00
Martin Račák
aeb26596c2 Move vagrant-tramp-term key binding to correct prefix 2018-01-17 23:44:16 -05:00
Steven Allen
60f11d8afc Fix using eyebrowse without persp-mode 2018-01-17 23:43:36 -05:00
syl20bnr
1c9d74151a org: update documentation for SPC m s a and SPC m s A 2018-01-17 23:42:04 -05:00
Ag Ibragimov
73988ce799 Adds org-toggle-archive-tag keybinding 2018-01-17 23:40:57 -05:00
Jeremy Bi
53b2c8851c Enable idris-simple-indent 2018-01-17 23:36:01 -05:00
Hij Krix
79df057654 Fix bindings in imenu-list 2018-01-17 23:35:12 -05:00
Jack Kamm
da64ca5a0b fix autoloading for spacemacs/helm-find-files #9826 2018-01-17 23:26:09 -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
deb0ch
1b61b11074 .spacemas.template: add newline after each configuration variable
This allows to navigate between params using the '{' and '}' paragraph movements
and makes it clearer wether description is for the variable below or above.
2018-01-17 23:14:35 -05:00
deb0ch
781e86d0f7 document how to use a local version of a package 2018-01-17 23:07:52 -05:00
syl20bnr
2c16d19ab7 semantic: make it possible to exclude stickyfunc 2018-01-17 23:03:33 -05:00
Dela Anthonio
026964d3c5 filetree: Press ~SPC 0~ to open the neotree and treemacs windows
Resolve #9313

Window 0 is reserved for file trees. Let's open the file tree window using
~SPC 0~ instead of ~SPC f T~ since it's less key strokes.
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
syl20bnr
a2f16fa876 Add toggle for spaceline responsivness under SPC t m r 2018-01-17 15:23:37 -05:00
syl20bnr
ab7b3109dc Fix potential unsupported separator by base powerline package
This error can happen if you set the cup separator or any other separator type
only supported by all-the-icons and not spaceline/powerline.
2018-01-17 14:10:42 -05:00
syl20bnr
509ff96c66 It is not necesary to restart emacs when changing mode-line theme 2018-01-17 11:29:59 -05:00
syl20bnr
ac215effc2 Fix dotfile tests for dotspacemacs-mode-line-theme variable 2018-01-17 11:28:52 -05:00
syl20bnr
530ca288ad Fix void variable spaceline-all-the-icons-separator-scale 2018-01-17 10:52:08 -05:00
Benjamin Reynolds
095d9d895a Fix spelling errors in org layer documentation 2018-01-17 10:51:08 -05:00
Muneeb Shaikh
81e54f5039 core: remove obsolete :powerline-scale variable from template 2018-01-17 14:41:04 +05:30
syl20bnr
0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
Nikolai Myllymäki
ce13fd51b0 CONTRIBUTING.org: Fix broken link to reviewing PRs 2018-01-16 21:26:36 -05:00
Nikolai Myllymäki
909d89f16b CONTRIBUTING.org: require a changelog entry from new PRs
Add a section in CONTRIBUTING.org mandating a changelog entry in every
PR. This is done to share the workload of maintainers and streamline the
merge process as suggested by @kain88-de in #8686.
2018-01-16 18:35:27 +02:00
syl20bnr
4c231ae282 Replace SPC j j and SPC j J by evil-avy-goto-char-timer
evil-avy-goto-char-timer is a better all around solution.
2018-01-15 16:41:24 -05:00
duianto
d0aeaa0f1e Add evil-avy-goto-char-timer to leader jt 2018-01-15 16:37:17 -05:00
Alexander Miller
eae6497b02 syntax-check: use correct error list faces when defining error levels with custom bitmaps. 2018-01-14 23:31:19 -05:00