Commit graph

3714 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
549b18a97e New dotfile variable dotspacemacs-use-ido 2015-05-31 21:48:16 -04:00
Christoph Paulik
e6ef875b7a Add custom calling function for helm-find-files
In order remove the guessing of the input based on thing at point
2015-05-31 20:59:46 -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
syl20bnr
4884794642 Add quick how to to enable navigation by visual lines 2015-05-31 17:58:15 -04:00
syl20bnr
d26b7f2c52 Disable paste micro-state by default 2015-05-31 17:52:55 -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
syl20bnr
549aaf169f Minor change to change log 2015-05-31 17:43:15 -04:00
syl20bnr
138a82f60e Change log ready for 0.102.0 2015-05-31 00:33:28 -04:00
syl20bnr
ccc0da05f1 ... Feeding change log for 0.102.0 2015-05-30 23:47:08 -04:00
syl20bnr
f0c3e1c728 Still feeding change log for 0.102.0 2015-05-30 00:26:42 -04:00
syl20bnr
67480ee86d Feeding the change log for 0.102.0 2015-05-29 23:51:54 -04:00
syl20bnr
4f409b58c9 Move evil key bindings to init-evil function 2015-05-28 00:16:13 -04:00
Tu Do
413653684a Fix toggle-maximize-buffer
- Use high level function window-configuration-to-register. Using
set-register causes the error wrong-type-argument integer-or-marker-p
when we later want to jump to the register.

- Check if the register actually has a window configuration before
jumping to it. Otherwise error happens because we try jump to non-existent
window configuration.

- Add key bindings.
2015-05-28 00:13:16 -04:00
justbur
33e439e9cc Add option to select other layer directories in create-layer 2015-05-27 23:56:11 -04:00
Tu Do
700cc51212 [Fix #1611] Add an entry for Helm help buffer in display-buffer-alist
When a Helm help buffer is detected, we don't treat it like other Helm
buffers by simply adding its own entry in display-buffer-alist that does
no additional action.
2015-05-27 23:55:27 -04:00
Török Edwin
b06b52d10a avoid conflict with hydra's lv.el
fixes #1463
2015-05-27 23:52:15 -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
person808
3a2594e6bc Update layer templates. 2015-05-27 23:07:45 -04:00
Max Veytsman
2740c3a5d6 Refactored spacemacs/init-evil-lisp-state to use use-package 2015-05-27 23:06:15 -04:00
jupl
28577fbb65 Help popup focus on single window
Fixes #1734

Update value for :noselect, not :noselect itself
2015-05-27 23:04:34 -04:00
Eivind Fonn
5c0862c4aa Fix smex prompt whitespace 2015-05-27 23:03:35 -04:00
syl20bnr
640aad0a82 Cleanup dotfile template 2015-05-27 16:09:56 -04:00
Rl3x Fish ⚓
ca9fa6cdfe Fix the recentf-exclude variable
recentf-exclude variable takes regexps or functions for filenames
excluded. spacemacs-cache-directory should not be quoted since it's not a
function. I also excluded elpa directory.

You should run M-x recentf-cleanup to update the recentf-exclude rules.
2015-05-26 00:31:30 -04:00
Eivind Fonn
91462a6d41 Don't close compilation buffer after success 2015-05-26 00:26:41 -04:00
Ricardo Lima
fe7fec7c6b Add missing evil-window-* commands
Adds missing evil-window-* commands to golden-ratio-extra-commands to
allow golden-ratio-mode to resize windows when an evil-window-*
function is called.
2015-05-26 00:24:24 -04:00
person808
27eba151b5 Move sp-local-pair to :config of smartparens. 2015-05-26 00:23:14 -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
7a4a9724a4 Improve support for images in Spacemacs banner 2015-05-25 23:35:47 -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
1ac8c2689a Update docs for renaming. 2015-05-25 00:50:43 -04:00
Tristan Hume
eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
syl20bnr
2319c9f57c Add SPC / to managing projects section of DOCUMENTATION.md 2015-05-25 00:48:50 -04:00
Swaroop
65aab670c5 Docs - update projectile key bindings 2015-05-25 00:47:41 -04:00
Swaroop
fdffbd1b78 s/helm-projectile-vc/projectile-vc fixes #1706
As per @tuhdo feedback
2015-05-25 00:47:15 -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
Tu Do
92da48db9f Enable helm-buffers-fuzzy-matching again
It was accidentally deleted in the commit 4316668. Restore it.
2015-05-25 00:46:07 -04:00