Commit graph

1086 commits

Author SHA1 Message Date
syl20bnr 012375839f c-c++ layer: rename default mode for header variable
New name is `c-c++-default-mode-for-headers`, possible values are
`c-mode` or `c++-mode`.
2015-05-31 23:09:27 -04:00
Craig Eales a78c59cf2d Add option to open .h files with c++-mode
Remove default auto-mode-alist mapping from *.h to c++-mode.
Introduce a variable and use that in the init: section of cc-mode to
conditionally update the auto-mode-alist.
Updated the documentation.

Conflicts:
	contrib/!lang/c-c++/README.md
2015-05-31 23:03:00 -04:00
Török Edwin e57c8aa095 ocaml: comment out auto-complete initialization code
to make sure only one completion engine is active
2015-05-31 22:52:05 -04:00
Török Edwin f23aa2b0da ocaml layer: Add key bindings
- enable ocamldoc in company completion
- enable merlin-document binding
- add binding for ML <-> MLI switch
- bind most merlin commands

user visible change:
  printing type at point was moved to SPC mht, and SPC mhT asks for an expression
  SPC mgg/mgG is now consistent with CONVENTIONS.md, and
  SPC mgb can be used to go back(in addition to default C-c &)
2015-05-31 22:51:27 -04:00
Török Edwin ab1a1eae60 ocaml: fix flycheck
but keep it disabled (need to test interaction with auto-complete and company)
2015-05-31 22:48:46 -04:00
Török Edwin 264a3c2019 ocaml: support both auto-complete and company 2015-05-31 22:34:16 -04:00
syl20bnr 4489de827b Now :variables values must be quoted like in setq sexps
Fixes #1596
2015-05-31 20:55:46 -04:00
syl20bnr 4b0c84ebb9 Move SPC p $ t to shell layer 2015-05-31 18:06:35 -04:00
mike-work 872b26e0ed Add company-mode hook for lua 2015-05-31 17:47:35 -04:00
Diego Berrocal 43acc9314f Add Search Engine layer 2015-05-31 17:45:16 -04:00
Tu Do 7f90d99a48 Fix Python and Semantic integration
When no Python executable is detected, Semantic causes an error that it cannot
retrieve include paths from the executable, causing an error that prevents
Python buffer to be switched and error is repeatedly reported whenever a Python
buffer is opened. This commit ignores the error from
semantic-python-get-system-include-path that is called when Semantic setup
itself for a Python buffer.
2015-05-27 23:50:58 -04:00
syl20bnr a514f6f569 Add TODO for python inferior process key bindings 2015-05-27 23:49:19 -04:00
Tu Do ae48bd866b [Fix #1668] Don't enable Vim key bindings if holy-mode 2015-05-27 23:45:13 -04:00
Bjarke Vad 78b39f1f72 ghci-ng for haskell-process-do-type-on-prev-line` 2015-05-27 23:29:08 -04:00
Eivind Fonn 5c0862c4aa Fix smex prompt whitespace 2015-05-27 23:03:35 -04:00
Tu Do fafb9c4b3e Enable company in Python REPL for code completion
- Company should be enabled in Python REPL for displaying completion
candidates. Note that in Python REPL, we must use company-capf to
display the candidates from Python REPL, since in the REPL it uses
completion-at-point to display candidates from the REPL. Also, we
locally set company-minimum-prefix-length to 0, so that completion
starts immediately after the first character. We also need to set the
idle delay a bit higher (0.5) compared with Spacemacs default (0.2),
since setting it too low may cause company unable to retrieve completion
candidates.

- Anaconda should NOT be enabled in Python REPL for retrieving proper
completion candidates. This can be tested in Python REPL: when
anaconda-mode is enabled and without any prefix string before point, run
the command completion-at-point (bound to C-M-i by default), completion
candidates from Anaconda are displayed but NOT the ones from the real
REPL. So, when you import a module i.e. os and try to access the
functions in the module with "os." prefix, nothing inside the module is
displayed because Anaconda does not work in Python REPL. When
anaconda-mode is disabled, candidates in "os." are displayed properly
with company-capf. company-anaconda backend cannot be used in Python
REPL since it is buggy: it cannot retrieve any prefix before point and
narrow properly.
2015-05-25 23:39:05 -04:00
jupl 5d7199a905 Turn on rainbow-delimiters for LESS and SCSS 2015-05-25 23:34:46 -04:00
Tu Do 8ef3b52a9f Explicitly enable yas-minor-mode
yas-global-mode is always enabled to ensure snippets are loaded
properly, but to use the snippets, a major mode must have yas-minor-mode
enabled. This commit ensure such condition happen.
2015-05-25 23:08:59 -04:00
syl20bnr 38b5cf9263 emoji layer: fix lazy loading of emoji-cheat-sheet-plus-buffer 2015-05-25 00:54:34 -04:00
syl20bnr 92064d14c2 Move emoji layer to new category !fun 2015-05-25 00:53:15 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
Tu Do d6b5f596b5 Remove auto change directory in ansi-term
By sending `cd` command, it clears previous shell output. This is only
an issue with ansi-term, not other shells.
2015-05-25 00:46:18 -04:00
syl20bnr 60550b290b Delete obsolete README 2015-05-25 00:45:21 -04:00
syl20bnr 0088b6d689 Remove obsolete comment 2015-05-25 00:44:18 -04:00
syl20bnr b662651595 emoji layer: fix org rendering 2015-05-24 23:38:56 -04:00
syl20bnr 3ff8136d1d shell layer: add support for multi-term
`SPC a s m`
or `set shell-default-shell` to `multi-term` and press `SPC '`
2015-05-24 22:01:26 -04:00
syl20bnr 5e9ceccf23 emoji layer: fix rendering in org buffers
There is still an issue with the first colon that is not invisible
but I guess we can live with it
2015-05-24 20:07:34 -04:00
syl20bnr 0d5ea1b5a4 emoji layer: fix invisible text after emoji image 2015-05-24 19:49:57 -04:00
syl20bnr f734b51768 emoji layer: increase helm candidate limit 2015-05-24 19:32:40 -04:00
syl20bnr 27223caada new layer: emoji 2015-05-24 19:13:33 -04:00
Tu Do 0cb6acb7af [Fix #1553] Make sure yasnippet is actually loaded
By checking if the yas-minor-mode is enabled. If so, load yasnippet. We
must do so because some package might load yasnippet and make
yas-minor-mode definition available, thus prevent Spacemacs to load
yasnippet properly. By checking yas-global-mode variable, we can assure
that yas-global-mode is enabled properly.

Also exclude yasnippet from eshell.
2015-05-22 23:16:02 -04:00
Tu Do 18465ce740 Quit sub-jobs when exiting ansi-term 2015-05-22 22:32:27 -04:00
syl20bnr efb0f812c4 Fix binding conflict with shell and evil-nerd-commenter
Move `SPC ;` to `SPC '` for spawning the shell
2015-05-22 21:23:53 -04:00
Tu Do 5308baf764 Enhance shell-pop and term integration
- Only set Eshell by default on Windows; in other OSes we use `ansi-term`,
NOT `term`. The reason is that `ansi-term` can use Emacs key bindings
such as C-x b, C-x 1... even editing commands such as M-u/M-l. `term`
cannot and we have to use the default `C-c b` variants i.e. C-c b to
switch buffer instead of "C-x b". `ansi-term` is currently the best
terminal emulator in Emacs.

- Allow ansi-term/term to close its shell-pop window when a user type
"exit".

- With shell-pop, we can allow ansi-term/term to track current directory
of current buffer. It is a useful feature and it also makes ansi-term
consistent with eshell/shell.

- Swap "term" and "ansi-term" key bindings, since the old "ast" was used
  for multi-term, which is a wrapper around ansi-term.
2015-05-22 00:49:58 -04:00
syl20bnr f586aa8b39 shell layer: set shell-pop-full-span to t 2015-05-21 00:53:54 -04:00
syl20bnr df97639e19 Add doc for helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:18:29 -04:00
Michael Hauser-Raspe bc64641e87 Add helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:16:47 -04:00
montauk 6229927c70 add/map org-tree-to-indirect-buffer to mb 2015-05-20 23:04:03 -04:00
syl20bnr c75a09c981 shell layer: move some doc in DOCUMENTATION to shell layer README 2015-05-20 22:48:03 -04:00
syl20bnr d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00
syl20bnr 5c6269f9df emacs-lisp layer: do not use minibuffer for macrostep micro-step 2015-05-20 02:05:10 -04:00
syl20bnr a94808b040 clojure layer: change test bindings to fit conventions 2015-05-18 23:03:32 -04:00
Stephen Caudill aab22541be Improve cider-test integration
* `mtt` now reloads test ns before running all tests
* added `mtT` to reload test ns and run focused test
* added `mtr` to reload test ns and re-run failed tests for namespace

The test namespace reloading is a workflow optimization. The alternative
is a minimum of two commands (`SPC m e b` or `SPC m e f` and `SPC m t
t`) in order to re-run a single test. When driving development from
tests, this is onerous at best (and I couldn't think of a good reason
_not_ to reload the test ns).
2015-05-18 23:01:25 -04:00
Tristan Hume 5f3bd7c476 Add D language layer 2015-05-18 22:52:11 -04:00
syl20bnr cfa7fd1d91 scala layer: move attach to debugger bindings to SPC m d A
`SPC m d a` is used to abort a debugging session.
2015-05-18 22:48:44 -04:00
Kenneth Brown e7ceda9cbd Scala: Added shortcut to attach to remote debugger 2015-05-18 22:46:58 -04:00
syl20bnr b0cbae7d23 git layer: move helm-gitignore on SPC g I 2015-05-18 22:37:31 -04:00
jupl 20a3d17ad7 Add helm-gitignore to git layer 2015-05-18 22:35:51 -04:00
Jean-Christophe Petkovich 248ddde176 company-ess has been merged with ess
`company-ess` has been removed from melpa, it has been merged with
`ess`.

This is my suggestion for the fix.

Modifications as requested.
2015-05-18 22:33:33 -04:00
syl20bnr 5b72221fe8 agda layer: add TOC to README 2015-05-18 03:03:41 -04:00
syl20bnr 75c170cc06 agda layer: refactor layer to use use-package
- display a warning if agda has not been found
- add a micro-state to easily navigate between the goals
- use face-remapping-alist to redefine the faces
- add some missing key bindings
- add support for golden-ratio
- add quick cabal instruction to install agda
- sort key bindings alphabetically
2015-05-18 01:51:03 -04:00
syl20bnr 501c747fd7 games layer: remove unnecessary key binding for 2048 2015-05-17 21:50:19 -04:00
Oliver Charles ae8559648a lang/agda-mode: New layer 2015-05-17 12:49:37 -04:00
syl20bnr 5a1ee91f70 games layers: game selection front-end on SPC a G and add Tetris 2015-05-16 23:57:28 -04:00
nashamri f0c84afacb Add games layer to spacemacs 2015-05-16 22:21:33 -04:00
jupl 3ff2780e24 Fix typos in org-present keybinds 2015-05-16 22:21:17 -04:00
syl20bnr d2a7ce7ae5 vim-empty-lines layer: Minor refactor of excluded major-mode 2015-05-16 22:20:04 -04:00
Tony Lotts 54387b12a3 Exclude terminal modes from vim-empty-lines Fixes #1615 2015-05-16 22:11:54 -04:00
syl20bnr 5ee7203ab5 Modifiy auto-yasnippet key bindings and auto switch to insert state on expand 2015-05-16 22:07:28 -04:00
Diego Berrocal fa362cc406 Define insert <kbd> tag a la C-h k for org and md
This makes it possible to use the kbd tag. I'm not sure where should
this be in. Feel free to move it around.

Renamed endless to spacemacs

Added fontification to @@html: stuff (could be changed)
2015-05-16 12:03:19 -04:00
Tu Do 745d3e0845 Add auto-yasnippet
Make it easy to create snippets.
2015-05-16 11:59:13 -04:00
Diego Berrocal 49fb70c0f6 Added Gmail messages support! with ham mode:
ATTENTION: this needs users to have pandoc installed...or any other
markdown executable in their path
2015-05-16 11:46:26 -04:00
Diego Berrocal 8852c37bc0 Add better integration with edit-server package 2015-05-16 11:46:24 -04:00
syl20bnr 1241b1e536 chrome layer: fix variable and function names 2015-05-16 01:40:18 -04:00
syl20bnr 50a3f8bd05 Rename edit-server layer to chrome 2015-05-16 01:32:46 -04:00
syl20bnr ca0888eec6 edit-server layer: remove unneeded eval-after-load 2015-05-16 01:25:48 -04:00
Ben Hayden 3abb869f73 Adding edit-server layer. 2015-05-16 01:09:29 -04:00
Ben Hayden 2389fea56c Add salt config layer. 2015-05-16 01:00:46 -04:00
syl20bnr 23f99259f7 Remove windows line endings 2015-05-16 00:59:09 -04:00
syl20bnr f7db1d972c Use configuration-layer/get-layer-property to find init file for org async 2015-05-16 00:57:13 -04:00
justbur a0afc56a9d Add init file to fix problem with org async 2015-05-16 00:52:58 -04:00
Diego Berrocal 553e85cb15 yas-new-snippet tries to create a Snippet in ~/.emacs.d/snippets
This is because the list of snippet dirs had our
~/.emacs.d/private/snippets at the end so it doesn't guess that.
Something must have changed upstream. Also it's better to have our own
custom snippets to be first so as to override the default ones if we
pleased.
2015-05-16 00:52:22 -04:00
Diego Berrocal f7dfad9253 Create dir for semanticdb if it doesn't exist 2015-05-14 23:27:12 -04:00
syl20bnr cf187b7454 org layer: add to documentation how to activate org-present 2015-05-14 23:26:04 -04:00
syl20bnr 7e18daf5f5 org layer: move org-present to org layer 2015-05-14 00:17:12 -04:00
Swaroop C H 63e62e3e0d Add org-present layer 2015-05-13 23:53:12 -04:00
syl20bnr 539ff8da7c rust: adapt Cargo key binding to conventions 2015-05-13 23:45:26 -04:00
Swaroop C H a386b5a7b7 rust: add key bindings for cargo build, run, test 2015-05-13 23:38:59 -04:00
syl20bnr d7cc695ad9 ruby layer: simplify declaration of rails key bindings 2015-05-13 23:25:36 -04:00
Matthew Westbrook caab8a00cb Fix Rails mappings showing up in non rails projects.
Fixes #1586
2015-05-13 23:21:50 -04:00
syl20bnr 561676d675 Move flyspell and helm-flyspell to syntax-checking layer 2015-05-13 23:11:34 -04:00
syl20bnr 802c573661 Move around toggle bindings
ts for syntax checking
tS for spelling checking
tf for fill column
tF for auto-fill
tc for camelcase
2015-05-13 22:57:30 -04:00
Chris Ewald 7d07909146 remove unneeded yasnippet-snippets submodule
This submodule is already part of yasnippet
update yas-snippet-dirs to use yas-installed-snippets-dir
2015-05-13 22:33:59 -04:00
syl20bnr b7dfc18cff c-c++ layer: introduce variable c-c++-enable-clang-support 2015-05-13 22:32:39 -04:00
gnzlbg fd8c0e8423 add clang-format support to the c-c++ layer 2015-05-13 22:14:02 -04:00
syl20bnr ddaa1eb106 ruby layer: remove overloading of erm-darken-color
Seems that it has been fixed upstream
Fixes #1332
2015-05-13 00:01:51 -04:00
syl20bnr bb29c92cd2 ibuffer layer: add README and move C-x C-b replacement to the layer 2015-05-12 23:45:10 -04:00
syl20bnr 2da8982d06 ibuffer layer: refactor use-package sexps and simplify variables 2015-05-12 23:34:04 -04:00
Aleksandr Guljajev 80a134c7e8 Add ibuffer layer 2015-05-12 23:02:16 -04:00
person808 172dde934d Fix typos in ocaml layer. 2015-05-12 20:17:10 -04:00
syl20bnr db1821a97f ocaml: refactor layer to make it better for spacemacs idioms
Fix activation of auto-complete
Sort packages
Improvement with hook usage
Move opam init function in funcs.el and call it only in tuareg config
Fix errors if opam is not installed, warn if it has not been found
Small edition of the README
Rename additional REPL functions with spacemacs prefix
2015-05-11 23:45:26 -04:00
Török Edwin 626b4d644c ocaml: various tweaks 2015-05-11 20:38:40 -04:00
Török Edwin 54f5179a83 ocaml: add note about additional config layers supported 2015-05-11 20:38:14 -04:00
Török Edwin 1ec4ce2282 ocaml: basic REPL(utop) and merlin key bindings 2015-05-11 20:38:10 -04:00
Török Edwin 9b598b1d72 ocaml: flycheck support
if syntax-checking configuration layer is turned on in .spacemacs
2015-05-11 20:38:06 -04:00
Török Edwin a4d6c78ef3 ocaml: auto-complete with merlin and company mode
if auto-completion configuration layer is turned on in .spacemacs
2015-05-11 20:38:01 -04:00
Török Edwin 4450058b08 ocaml: use utop and ocp-indent plugins
utop as REPL
ocp-indent for indentation
2015-05-11 20:37:46 -04:00
Tu Do fe5c6ec1bc Auto-indent when pasting
This is a nice feature taken from Prelude. This commit advises yank and
yank-pop and evil-paste-after to indent after pasting, unless a prefix
arugment is specified or the major mode is one of
spacemacs-indent-sensitive-modes.

Conflicts:
	contrib/better-defaults/README.md
2015-05-10 21:51:24 -04:00
person808 f77035da9a [Fix #1547] Make org-ctrl-c-ctrl-c fallback to <Leader>m,.
Fixes errors when dotspacemacs-major-mode-leader-key is nil.
2015-05-10 21:42:57 -04:00
syl20bnr c39f6e4b98 puppet layer: Remove conditional sexp for post-init-company
It is not needed in this case because a post-init does not mark
the package as used (so if there is not init function for company
it won't be installed and the post-init function won't be evaluated)
2015-05-10 12:12:12 -04:00
Pierre Radermecker 76e3bdf4fc Fix #1557: Add auto-completion to puppet 2015-05-10 12:11:43 -04:00
Bjarke Vad c786435fd2 Fixed ghci-ng loading 2015-05-10 12:10:55 -04:00
person808 0f967a79d3 Load evil-snipe conditionally.
This fixes a bug that caused magit-status to launch in a blank split.
2015-05-10 12:09:31 -04:00
syl20bnr 68eb5fcc35 auto-completion layer: SPC t a toggle company backend by default
fixes #1289
2015-05-10 10:52:39 -04:00
syl20bnr b46a200fa6 colors layer: new variable colors-theme-identifiers-sat&light
add support for jazz theme
2015-05-10 10:36:07 -04:00
Kosta Harlan fc8dc9c285 php-layer: Fix ggtags hook.
Follow up to #1140

temp
2015-05-10 01:40:16 -04:00
Carl Lange 093b2e1135 add markdown render buffer command 2015-05-10 01:38:03 -04:00
Tu Do b89ce54df3 Fix company and fci-mode incompatibility
It is reported in this issue: https://github.com/company-mode/company-mode/issues/180
that company has distorted completion popup with fci-mode turned on.
Company maintainer proposed a fix for this issue that is added in this
commit.
2015-05-10 01:35:32 -04:00
Tu Do 9f715a5cf7 Enable fci-mode in git-commit-mode
Having fci-mode to visually indicate the limit of commit message region
is nice. With it, we know exactly our text does not cross the limit (i.e
72 columns). Sometimes, text can cross the boundary if we add something
but use C-n or j to move to next line.
2015-05-10 01:35:24 -04:00
syl20bnr a48d39b74f Convolute last change to define the advice only if evil-jump is used 2015-05-10 01:32:13 -04:00
luxbock f4fd948725 Advice evil-jump-to-var with evil-set-jump 2015-05-10 01:31:07 -04:00
Tu Do e2dea377b7 Disable smartparens in SLIME REPL 2015-05-10 01:18:44 -04:00
Bjarke Vad 7c3d95c962 Fixed ghci-ng keybindings being overriden 2015-05-10 01:18:01 -04:00
jupl 7f8fa1de8d Remove editorconfig layer
Since it does not bring anything to spacemacs
Use `dotspacemacs-additional-packages` instead to install it.
2015-05-10 01:16:00 -04:00
syl20bnr f4670d6c7a osx layer: add documentation for coreutils' gls 2015-05-10 01:15:00 -04:00
Uri Sharf 0a21a28165 Make dired use coreutils' gls, if installed 2015-05-10 01:12:17 -04:00
Chris Barrett e1d2cbd1c4 haskell: fix haskell-indentation eval-after-load
The `progn` in the eval-after-load was not quoted, so it was being
evaluated unconditionally. This led to the haskell-indentation guides
being unconditionally enabled.

Additionally, only enable the indentation guides when
haskell-indentation-mode is on.

Resolves #1136.
2015-05-10 01:10:16 -04:00
Tu Do 0e2662dc3c Replace C-o with M-o in Dired buffer
Since `C-o` is replaced with evil-execute-in-normal-state.
2015-05-10 01:09:51 -04:00
Michishige Kaito 24da945166 Move Rust to own layer 2015-05-10 01:07:53 -04:00
Brian Hicks 5532d8e0d5 spotify: add layer 2015-05-10 01:04:41 -04:00
person808 79988f375d Disable evil-snipe in magit-status-mode.
Evil-snipe takes over the keybinding for s, making it impossible to
stage part of a hunk.
2015-05-10 01:03:33 -04:00
Eivind Fonn 3749668e24 Add matlab to extra-langs layer 2015-05-10 01:02:56 -04:00
Chris Sims d333e86fa8 Add binding to connect to REPL in Cider 2015-05-10 01:01:57 -04:00
person808 1c6fe70982 Add macrostep micro-state to emacs-lisp layer. 2015-05-10 01:00:09 -04:00
Suman Nandan 4317bbcae3 updated README of contrib/perforce 2015-05-10 00:59:23 -04:00
Suman Nandan 6793eda4a9 Added more keybindings to p4 2015-05-10 00:59:17 -04:00
Zhe Cao 2ab2725b2d add htmlize package to enable syntax highlight in export html 2015-05-10 00:58:04 -04:00
syl20bnr 07e2465868 emacs layer: sort key bindings 2015-05-09 12:08:49 -04:00
syl20bnr 620b59725a Fix key bindings for emacs lisp format commands 2015-05-09 12:05:44 -04:00
Tu Do fe51de1637 Fix key binding for Elisp format sexp
It should be "mfs" to better synergize with srefactor-lisp-format-sexp.
2015-05-09 12:02:53 -04:00
Quang Linh Le f5314f2985 Command S works with other modes (Customs, EIN...) 2015-05-08 00:20:00 -04:00
syl20bnr 37e515a57c TypeScript layer: tweak layer
- remove not necessary binding for flymake
- adapt key bindings to conventions
- minor reformat of README.md
2015-05-08 00:16:26 -04:00
Chris Bowdon f9fa443f83 Add TypeScript configuration layer 2015-05-07 23:44:35 -04:00
syl20bnr 68e8b3e524 Tweak conventions for markup languages
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
2015-05-07 23:08:52 -04:00
Christoph Paulik ed861cf0ff Create conventions for markup languages 2015-05-07 22:17:45 -04:00
Christoph Paulik 7b6678efd6 Org markdown: Improve consistency of key bindings for markup language 2015-05-07 22:17:01 -04:00
Diego Berrocal f51d006672 Add more pairs to sp-local-pair in web-mode
Supporting in this way more templating modes...We could grab all these
from web mode itself.
2015-05-07 00:54:10 -04:00
syl20bnr 18762615ae Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
syl20bnr 36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
Tu Do db47cead53 [Fix Smantic layer] Load srefactor-lisp
Otherwise the symbol definition is void and the commands can't be
executed.
2015-05-06 22:46:18 -04:00
Jean-Christophe Petkovich 4a9083a109 Fix package loading in lang/ess
Originally `load-ess-on-demand` used `use-package` for the purposes of
actually loading `ess-site` and related elisp for dealing with R. But
since `use-package` doesn't return true or false when a package is
actually successfully loaded anymore, and the semantics of how it will
work aren't precisely clear, it makes sense to use `require` here
instead.

    (defun load-ess-on-demand ()
      (interactive)
      (-all? '---truthy? (list
                          (require 'ess-site)
                          (require 'ess-R-object-popup)
                          (require 'ess-R-data-view))))

All the normal hooks setup by `use-package` will work as normal. I
actually don't see a reason we should use `use-package` instead of
`require` in this specific instance. Since `use-package` often defers
loading packages, it's arguably clearer to use `require` in this
particular instance.
2015-05-06 22:27:38 -04:00
Matthew Lyon 4e23326db0 New org-mode leader keys for narrowing
SPC m n      org-narrow-to-subtree
SPC m N      widen
2015-05-06 22:26:50 -04:00
Tu Do 128a420a4f [Fix] Disable company-tooltip-flip
Currently by default company knows when to flip the popup. However, when
the above option is set to t, it causes a strange behaviour: when the
tooltip is flipped, press down (i.e. M-n or arrow key) go up and press
up (i.e. M-p or arrow key) go down.
2015-05-06 22:23:53 -04:00
syl20bnr d149c5beae auto-completion layer: rename auto-completion-sort-by-usage
to auto-completion-enable-sort-by-usage
When it is possible we try to use the verb `enable`.
2015-05-06 22:22:01 -04:00
person808 866f59e41f Add support for company-statistics. 2015-05-06 22:18:48 -04:00
syl20bnr 91e560d415 html layer: move html/init-company-web
This way this package is installed only if auto-completion is used
2015-05-06 22:16:18 -04:00
Diego Berrocal ef2e037c92 Add company-web to web-mode 2015-05-06 22:09:04 -04:00
syl20bnr 640d8fc19c auto-completion layer: improve implementation of key sequence to complete
default value `auto-completion-complete-with-key-sequence` is now nil
resolves conflict with evil-escape
fixes #1491
2015-05-05 22:32:28 -04:00
syl20bnr 480c6df909 haskell layer: fix haskell-snippets loading
fixes #1471
2015-05-04 00:27:13 -04:00
syl20bnr c634baceec auto-completion layer: rename auto-completion-enable-company-help-tooltip
to auto-completion-enable-help-tooltip
2015-05-04 00:15:58 -04:00