Commit graph

4944 commits

Author SHA1 Message Date
madand 57e6849c68
[ivy] SPC h m: fallback to woman on Windows
`man` command displays output from the external program with the same name,
so it will generally fail to work on Windows.

`woman` is a pure elisp parser for manpages, so it will work on Windows. But
`woman` lacks colorizing of manpages, so we only use it as a fallback.
2019-12-15 15:06:26 +01:00
madand 344e6e4a1d
Added support for native fill column indicator in Emacs 27+
`display-fill-column-indicator-mode` is a new native fill column indicator
mode implemented on C-level, thus has almost no performance penalty in contrast
with the legacy `fci-mode` implemented in elisp.

This commit implements conditional activation of the mentioned mode on
Emacs 27+. `fci-mode` is still available for previous Emacs versions.

Resolves #12884
2019-12-15 15:03:27 +01:00
Maximilian Wolff 6e1c8e6092
Remove obsolete requirement for lsp layer from python layer 2019-12-15 14:56:46 +01:00
emacspace a77f8f41f5
documentation formatting: Sun Dec 15 10:06:01 UTC 2019 2019-12-15 14:43:43 +01:00
Maximilian Wolff d3283fe04a
Fix "d d d starts with non prefix key" warning during loading of dap 2019-12-15 14:29:34 +01:00
Maximilian Wolff 9720127282
Revise python layer
Make LSP be used as default backend
Request DAP layer when LSP is used as backend
Update README.org with latest pyls package dependencies
Remove obsolete getter functions
2019-12-15 14:29:33 +01:00
lin.sun 7f6b4205cb
Automatically choose the `lsp' as python-formatter backend when lsp-layer is enabled. 2019-12-15 14:29:33 +01:00
Max Willsey e9ac45af30 [latex] Fix README to say auto-fill on by default. 2019-12-15 11:01:17 +01:00
Spenser Truex 05fb56bfbf Remove uses of lexical-let, part of the deprecated cl package
These prevented loading, a serious bug.
2019-12-15 08:45:27 +01:00
emacspace d18d09049d
documentation formatting: Sat Dec 14 20:26:43 UTC 2019 2019-12-14 20:56:29 +00:00
Nicholas Hurden 9730e16463
[scala] Update metals binary version in README
Update the version of metals referenced in the metals installation
instructions, so that an old version of the metals binary doesn't get installed
by accident.
2019-12-14 20:52:50 +00:00
Daniel Richtmann d795fad4ae
[search-engine]: Add latex's CTAN archive as new search engine 2019-12-14 20:47:33 +00:00
ajbond e919ba7e07
Fix clang-format-on-save 2019-12-14 20:39:35 +00:00
kimr da80634370
converted cl to cl-lib 2019-12-14 20:20:51 +00:00
kimr f86d7993bb
removed custom location for counsel-css
The URL is the same as default one at melpa.
2019-12-14 20:16:21 +00:00
Maximilian Wolff efe39163df
Revise quickurl layer
Added undocumented keybindings to README.org
Moved bindings from top level to application specific
Fix some smaller documentation issues
Added "quickurls" file to .gitignore
2019-12-14 20:13:01 +00:00
Spenser Truex 4645430084
Add quickurl layer on SPC Q. 2019-12-14 19:59:25 +00:00
emacspace 7933ec48fb documentation formatting: Sat Dec 14 04:47:43 UTC 2019 2019-12-14 16:24:57 +02:00
Nick Anderson a51b08133d Added keybinding to export org to mail from buffer to subtree
~org-mime-htmlize-subtree~ as has the ability to set the email =To=, =From=,
=Subject=, =CC=, and =BCC= fields based on properties. If you commonly capture
and email the subtree being able to bake these settings into your template is
very convenient.

https://github.com/org-mime/org-mime#m-x-org-mime-org-subtree-htmlize

~org-mime-org-subtree-htmlize~ is similar to ~org-mime-org-buffer-htmlize~ but
works on subtree. It can also read subtree properties =MAIL_SUBJECT=, =MAIL_TO=,
=MAIL_CC=, and =MAIL_BCC=. Here is the sample of subtree:

  ,,* mail one
   :PROPERTIES:
   :MAIL_SUBJECT: mail title
   :MAIL_TO: person1@gmail.com
   :MAIL_CC: person2@gmail.com
   :MAIL_BCC: person3@gmail.com
   :END:
  content ...
2019-12-14 05:43:53 +01:00
madand 239f60a65f [ivy][docs] Add SPC h m: search available man pages
This keybinding is documented in DOCUMENTATION.org, yet was missing in ivy layer.
2019-12-10 22:54:40 +01:00
Miloš Mošić e9c80d7d80 Update Vue layer README to fix the link formatting 2019-12-10 13:09:12 +01:00
emacspace 76245081d6 documentation formatting: Mon Dec 9 21:44:48 UTC 2019 2019-12-09 23:52:24 +02:00
JAremko e1eb157c63 Testing if .org fmt still works 2019-12-09 22:16:13 +02:00
kimr ccd6c48d46
use dynamic binding for "result" variable 2019-12-08 11:17:32 +01:00
Ivan Yonchovski 95650e0fbb
Use lsp-disabled-clients instead of lsp-enabled-clients
- lsp-mode supports defining remote versions of each clients(e. g. clangd which
works over tramp). Before this change the language server will be disabled
because it has different server-id.
2019-12-08 11:14:39 +01:00
duianto 085ae8af33
[html][vue] Improve Transient States
Add a full/minified transient state toggle.

Grouped backend transient state key bindings by column.

Moved the html/init-web-mode :init section before the :config section.
2019-12-08 11:13:37 +01:00
Maximilian Wolff d2f6d08247
Make helpful layer replace existing emacs help functions
The helpful layer delivers more sophisticated help buffers,
at least for elisp and emacs specific objects. Therefore
it makes sense to replace the existing help functions for
these bindings silently if this layer is loaded.
2019-12-08 10:29:46 +01:00
Thanh Vuong 088a036979 Vue layer
Thanks to sei40kr, duianto and others involved in
https://github.com/thanhvg/vue/issues for contribution
2019-12-07 19:24:31 +01:00
Maximilian Wolff 4e76cdefdf
Reformat kubernetes layer documentation 2019-12-07 00:40:24 +01:00
Maximilian Wolff 4e7a36b72e
Revise kubernetes layer
Add missing changelog entry
Replace license header with standard version
2019-12-07 00:37:13 +01:00
Matt Bray 5e7eb5d01c
Add kubernetes layer. 2019-12-07 00:28:04 +01:00
Maximilian Wolff f68cfc0975
Revise helpful layer
Streamlined keybindings
Adjust helpful-mode to work well with evil bindings
2019-12-07 00:15:49 +01:00
Johnson Denen 5485099263
Add helpful layer 2019-12-06 23:27:43 +01:00
Uros Perisic 628fe9adba
Add support to start external terminal emulators in context.
Integrated terminal emulators/integrated shells get the job done for
quick-and-dirty shell commands, but a lot of people take great care to tweak
their terminal workflow exactly to their liking. This makes it possible to
switch to that workflow seamlessly, by opening their terminal emulator of
choosing in the current directory or at the project root, and even supports
working over `ssh` using `tramp`.
2019-12-06 22:21:15 +01:00
Maximilian Wolff 43bf85c685
Revise php layer
Make doc more clearly describe which tools belong to which backend.
Change keybindings to be consistent with spacemacs conventions.
Simplify LSP layer code.
2019-12-06 20:12:40 +01:00
br3athein be2ac6313d
layers/php: Add debugging & refactoring capabilities
Features:
* configure geben package
* configure phpactor package
* add company-phpactor completion backend
2019-12-06 20:12:40 +01:00
Brian Wignall 4df6c9035f
Fix typos 2019-12-05 22:23:04 +01:00
duianto 979f4db640
[helm] Fix searching in projects with C-s from SPC p p
Fixes #11878

The issue seems to have been caused by helm making sure that
the functions that are called with: helm-exit-and-execute-action
are actions.

Ensure action is available before running it
d6dfb8f1e3
2019-12-05 22:17:11 +01:00
milserk 9f5e76e091 Fix typo "verbose" -> "verbatim"
The description for `SPC m x v` reads "make region verbose." However, this keybinding actually invokes `spacemacs/org-verbatim`.
2019-12-05 06:35:53 +01:00
Arjan Singh 4e9d62b80d fix(+lang/typescript): correct readme typos 2019-12-05 06:30:24 +01:00
duianto 6649e78f3e
Document helm and ivy colors/faces key bindings
Helm:
SPC C l   calls helm-colors
SPC h d F calls spacemacs/helm-faces

Ivy:
SPC C e   calls counsel-colors-emacs
SPC C f   calls counsel-colors-faces
SPC C w   calls counsel-colors-web
SPC h d F calls counsel-describe-face

Thanks Miciah for the SPC h d F suggestion.
2019-12-03 22:21:42 +00:00
duianto e863b6251e
[julia] Limit evil-surround redefinitions to julia-mode
problem:  The julia layer redefines evil-surround `b` globally to:
          begin <x> end
solution: Limit the redefinition to julia-mode buffers.
2019-12-03 22:16:17 +00:00
duianto ea11a256fd
Replaced obsolete function doom-modeline-init
doom-modeline-init was marked as obsolete in version: 1.6.0.
Add new mode: doom-modeline-mode.
868f1bb00b

The doom-modeline package is currently at version: 2.6.2.
2019-12-03 21:58:45 +00:00
emacspace eb9de01a36
documentation formatting: Tue Dec 3 20:31:20 UTC 2019 2019-12-03 20:38:39 +00:00
James Gough e6997638e7
Set VIRTUAL_ENV environment variable when switching to new pyenv
This environment variable is used by python LSP to determine
the pyenv virtual environment to use. When switching to a different
project using projectile 'switch-to-project', it should only be
necessary to restart the LSP server but a restart will only
work if this VIRTUAL_ENV changes value too.
2019-12-03 20:37:43 +00:00
duianto dd070e3b75
[semantic] Moved toggle keys to the layer
SPC T S and SPC T C-S showed void variable
semantic-stickyfunc messages when the semantic
layer wasn't installed.
2019-12-03 20:24:58 +00:00
emacspace f34ca06b0a
documentation formatting: Sat Nov 30 23:48:29 UTC 2019 2019-12-01 02:14:28 +01:00
Maximilian Wolff 64b607ce14
Revise docker layer
Adjust the documentation to be more clear how to activate the new lsp feature.
Simplify layer setup code.
Provide missing company-lsp integration in feature list.
Remove obsolete tests for a loaded lsp layer as the docker layer loads it
itself already.
2019-12-01 02:05:55 +01:00
Seong Yong-ju b26430df2a
Add LSP backend support for Dockerfile 2019-12-01 00:55:53 +01:00
Maximilian Wolff 39c42da792
Revise lua layer
Improve documentation to be clear about the choices of backends.
Remove obsolete functions.
Make sure that company-lua is only loaded when the right backend is used.
Make keybindings conform to conventions.
2019-12-01 00:39:37 +01:00
lin.sun cf376520ad
[lua] Add LSP support 2019-11-30 22:55:35 +01:00
Rodolfo Hansen 2d154bec8e [scala] sbt-supershell kills sbt-mode 2019-11-28 18:41:08 +01:00
Ivan Yonchovski 31a3449fca Add /** */ smartparens pair for java 2019-11-28 18:14:37 +01:00
Ivan Yonchovski bc55d9b6fd Make sure eldoc info is not removed when you switch to insert mode
- This will prevent jumping of eldoc box when you switch to insert mode.
2019-11-27 21:30:29 +01:00
Spenser Truex cab1e69585 rectangles: R; kmacros: km; timeclock: tt; ediff: E; insert-buf: ib 2019-11-26 13:56:44 +01:00
duianto 8fcc9d8490 [multiple-cursors] Remove layer keys. Added upstream
Removed the following key bindings from the multiple-cursors layer:
grI  evil-mc-make-cursor-in-visual-selection-beg
grA  evil-mc-make-cursor-in-visual-selection-end
because they have been added upstream in the evil-mc package.

Changed the changelog.develop entry from saying that they were
added to the layer, to say that they were documented in the layer.
2019-11-25 17:45:01 +01:00
duianto b59f8a3117 Update spacemacs/new-empty-buffer docstring
Removed the parentheses around the buffer name number,
because the angle brackets are enough.

Added the frame argument.

Rewrote the accepted SPLIT arguments as a table.
2019-11-25 10:24:01 +01:00
William Casarin 6e57bdc5c6
[notmuch] restore original movement keybindings
not sure why these we rebound...

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:34 +00:00
William Casarin 2c86f701c5
[notmuch] add next/prev matching message binding
These were lost in the evilfied map when in notmuch-tree mode

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:34 +00:00
William Casarin 117b6823db
[notmuch] open github patches fullscreen
It's a bit annoying when you have to maximize it each time

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:33 +00:00
duianto 9e184994ad Hide spacemacs// command prefixes in which-key
spacemacs/ was already hidden, but commands starting with
spacemacs// showed a leading slash: /<command name>
2019-11-24 22:14:02 +01:00
madand fd184bb94f Fix spacemacs/counsel-search with ag and rg
The commit 9c613b8 introduced a regression for ivy users that use ag or rg as
the search tool. It made `C-c C-e` and `F3` keybindings unavailable, and thus
making it impossible to make multi-file edits.

Partially fixes #12838
2019-11-24 22:07:17 +01:00
Maximilian Wolff f6fd88f40b
Change recompile-elpa to a more emacs file specific keybinding 2019-11-24 20:56:52 +00:00
Spenser Truex 5d1cf35e48 [gnus] Add bindings for slave/unplugged startup. FLAME ON.
Co-Authored-By: duianto <otnaiud@gmail.com>
2019-11-24 17:08:22 +01:00
emacspace b243785a33
documentation formatting: Sat Nov 23 22:32:46 UTC 2019 2019-11-24 02:16:41 +01:00
Maximilian Wolff dd7a5d98be
Revise helm recompile package action and bind recompile-elpa
The newly introduced function to compile an elpa package
was very much redundant with the existing recompile-elpa function.

I have adapted recompile-elpa so that it can be used for the helm action too.

In addition I have bound recompile-elpa to `SPC c C-c` to allow users to
easily recompile their entire elpa directory if the need arises.

I have also removed the error handling in the helm action in favor of
standard error reporting via the *Compile-Log* buffer.
2019-11-24 02:07:15 +01:00
Gia Thanh Vuong 94de754504
[core] [helm] add action to recompile an elpa package
How to use: `SCP h p` select package then `F3` or `C-z` and choose `Recompile`

Motivation: Some packages when compiling need other packages to be loaded first.
The pacakage maintainers should make sure of this requirement but sommetimes
they don't. It also doesn't help when Spacemacs is lazy loading and compiles
updated pacakges on startup. So the manual fix for this problem is recompile the
package once Spacemacs has fully loaded. This requires user go to the package
install location to delete elc files and then do a `spacemacs/recompile-elpa`.
This commit will do that chore for them.

This will make fixing the problem with `org-plus-contrib` or `dumb-jump` update
every now and then easier.
2019-11-23 23:40:50 +01:00
duianto eced685481
Rename window-manipulation transient state var/funcs
Renamed window transient state related variables and functions,
from: `*window-manipulation*`
to:   `*window*`.
2019-11-23 23:12:37 +01:00
duianto 9f16032f69
Update transient state wording, etc.
- Removed the word `Manipulation` from the transient state titles:
  - Buffer Manipulation Transient State and Window Manipulation TS
  - Expanded the TS abbreviation to Transient State
- Documented the Buffer Transient State key binding:
  `q` to quit the transient state
- Capitalized `Transient State` in the titles
- Window Transient State:
  - Added a line break after the title in the folded hint.
    This allows for more keys to be visible horizontally.
  - Moved up the [?] help key after the title, so that
    it's in the same place in both the folded and full
    transient state.
2019-11-23 23:12:37 +01:00
emacspace fd9b8c71d7
documentation formatting: Sat Nov 23 21:43:58 UTC 2019 2019-11-23 22:52:16 +01:00
duianto 331031b60e
[mercury] Rename layer: mercury-layer to mercury
Thanks Miciah for the suggestion.
2019-11-23 22:49:45 +01:00
duianto 3a51e00a40
Add dired evil search next/previous key bindings
The search next/previous commands are different
because of the `evil-search-module' values:
vim    = evil-search
hybrid = isearch

- With the =vim= editing style in =normal= state:
  - ~n~ =evil-ex-search-next=
  - ~N~ =evil-ex-search-previous=
- With the =hybrid= editing style in =normal= state:
  - ~n~ =evil-search-next=
  - ~N~ =evil-search-previous=
2019-11-23 22:37:41 +01:00
Magnus Therning 3240c24873
Use "mgb" for jumping back
[elisp] use "mgb" for jumping back
[lsp] use "mgb"/"mGb" to jump back
[haskell] use "mgb" for jumping back
2019-11-23 21:52:13 +01:00
chysi fe028e9887
Update hy layer to new hy/python modes
Replace old "hy-shall-start-or-switch-to-shell" with "run-hy"
Expand pipenv to hy-mode
2019-11-23 21:20:16 +01:00
Tommy Groshong 740e6a2a3c
Fixes function name bug in react layer fmt-on-save 2019-11-23 20:51:57 +01:00
Tommi Komulainen 50c48bc301
rust: fix LSP/DAP integration so it doesn't depend on java layer
Fixes error with rust files when java layer isn't loaded:
```
File local-variables error: (void-function spacemacs//java-setup-lsp-dap)
```
2019-11-23 20:39:11 +01:00
Alexander Miller 3407ecde6b
[treemacs] Deprecate treemacs-use-collapsed-directories.
Also contains below squashed commit
[treemacs] Make sure width (un)locking message won't appear on every start.
2019-11-23 01:40:14 +01:00
Magnus Therning 8401feabe5 [persp] Add action for opening project in dired
Signed-off-by: Magnus Therning <magnus@therning.org>
2019-11-22 23:58:50 +01:00
emacspace 9a82ee3ba7 documentation formatting: Fri Nov 22 19:37:23 UTC 2019 2019-11-22 22:47:35 +01:00
Seong Yong-ju 889a40cdc3 Add eslint_d support for JavaScript, React, TypeScript modes 2019-11-22 18:03:42 +01:00
Brooklyn Zelenka df34916300 Add solidity layer 2019-11-22 17:16:54 +01:00
duianto 8bb98bcffa [multiple-cursors] Add evil-mc keys, cursors from selection
Added evil-mc make cursors from selection key bindings:
grI calls evil-mc-make-cursor-in-visual-selection-beg
grA calls evil-mc-make-cursor-in-visual-selection-end
2019-11-22 07:34:00 +01:00
duianto b653de015d Update window manipulation transient state
Front end:
minified hint:
- Added `a`
- Sorted `w` alphabetically

full hint:
Sorted keys alphabetically:
- Select: a, o, w
- Other:  d, D, u, U

Back end:
Grouped the keys by the transient state columns
2019-11-22 06:46:59 +01:00
fleimgruber 73a4a5c9db Window manipulation: Transient state includes ace-window movement 2019-11-21 21:46:11 +00:00
Ivan Yonchovski 38838cce9a Fix handling of java-backend
- Without this line the lsp-java package won't be enabled when java-backend is
nil and lsp layer is present
2019-11-20 18:12:48 +01:00
Jake Romer e96b899daf Set doom-modeline-display-default-persp-name 2019-11-20 12:14:39 +01:00
Carlos Ibáñez 6ca42efe7c Fix wrong initial directory 2019-11-18 15:32:25 +01:00
Carlos Ibáñez b5727f7799 Fix sudo-edit on TRAMP
The indentation was changed in the second tramp-make-tramp-file-name for
consistency with the first tramp-make-tramp-file-name.
2019-11-18 15:32:25 +01:00
Seong Yong-ju 777d685c46 Fix spacemacs/kill-other-buffers to kill only buffers in the persp 2019-11-17 18:20:12 +01:00
Seong Yong-ju 2e7a5c5929 Do not use go-eldoc for LSP backend 2019-11-17 16:45:39 +01:00
lovrolu bc22a259e8 Don't assume the previous binding was evil-insert-digraph 2019-11-15 20:05:23 +01:00
Seong Yong-ju 6556cfc80d [multiple-cursors] Improvements
Fixed evil-mc-mode won't start automatically
Moved evil-mc key bindings to evil-mc-key-map, not global keymap
2019-11-15 13:49:02 +01:00
smile13241324 7a83b5a7ad Remove javascript-eslint from next checker for lsp-ui
To activate javascript-eslint all lsp layers where
running eslint during lsp-ui flycheck phase. This
caused a lot of side effects and has been deactivated
for now. Eslint shall be called by the lsp server instead.
2019-11-15 00:27:38 +01:00
Nam Nguyen 22d200fbab Update YAML layer docs to include the yaml-yamllint flycheck checker. 2019-11-14 13:13:58 +01:00
emacspace 300abd74bd documentation formatting: Tue Nov 12 14:58:39 UTC 2019 2019-11-12 17:19:28 +02:00
wgjak47 58ce74d80d [chinese] Add fcitx5 support 2019-11-12 15:44:17 +01:00
jaremko 247830ab40 fix links 2019-11-10 16:13:13 +02:00
emacspace 73c2141fab documentation formatting: Sat Nov 9 15:00:44 UTC 2019 2019-11-10 13:55:10 +02:00
syl20bnr bd46b02f7f [c-c++] Defer ccls and cquery packages 2019-11-09 09:53:55 -05:00
syl20bnr 1e278a3cb9 Fix bad value for :requires, list is mandatory when multiple symbols
Also remove unecessary required packages for lsp-java package.
2019-11-09 09:41:40 -05:00
syl20bnr 911e45820d [c-c++] Simplify LSP backends cache directory
Make it a cquery only variable by renaming it to
=c-c++-lsp-cquery-cache-directory=.

Reword README.org and update the section about cache directory.
2019-11-09 09:41:23 -05:00
syl20bnr b49e28c541 [c-c++] Add missing spacemacs//c-c++-setup-semantic function 2019-11-09 09:41:20 -05:00
syl20bnr 5ad1ecd542 [c-c++] Add instruction to set path to LSP server executables 2019-11-09 09:41:16 -05:00
Sylvain Benner 6ddcf6f0a6 [c-c++] Fix typos and improve wording
Co-Authored-By: duianto <otnaiud@gmail.com>
2019-11-09 09:41:12 -05:00
syl20bnr 84dd79fe78 [c-c++] Allow to have different servers for different projects 2019-11-09 09:41:04 -05:00
syl20bnr 06708b2039 [ycmd] Remove ycmd layer (move to c-c++ layer) 2019-11-09 09:41:01 -05:00
syl20bnr d536b36d15 [c-c++] C/C++ layer refactor to support multiple backends 2019-11-09 09:40:56 -05:00
syl20bnr ab818140d0 [cmake] Remove cmake forgotten cmake config in c-c++ layer 2019-11-09 09:40:51 -05:00
syl20bnr bb145f3e70 [c-c++] Reorganize layer variables in config.el 2019-11-09 09:40:47 -05:00
cormacc 0a39263e2d Added clangd support. Separated lsp server selection from backend.
<<Amendment 1>>
Fixed clangd executable when c-c++-lsp-executable not set

<<Amendment 2>>
Rebased. Updated DAP configuration for compatibility with upstream dap layer
changes (specifically per-mode keybindings).

<<Amendment 3>>
Fixed DAP configuration.
Correction: declare-layers -> declare-layer-dependencies

<<Amendment 4>>
...ahem...
Fixed DAP configuration (missing '/' in func name)
2019-11-09 09:40:33 -05:00
Nam Nguyen 729ad60b28 Support relative virtualenv path in .venv file for Python layer 2019-11-08 23:28:30 +01:00
emacspace 604f8aba00 documentation formatting: Fri Nov 8 17:14:20 UTC 2019 2019-11-08 17:45:36 +00:00
jaremko 9c2cb17e54 doc fixes and new tags 2019-11-08 17:09:01 +00:00
emacspace c91779aff4 documentation formatting: Fri Nov 8 16:03:53 UTC 2019 2019-11-08 16:08:22 +00:00
jaremko 6be744b8bb fix a link in Haskell docs 2019-11-08 15:58:38 +00:00
duianto d125f2abd2 Fix void counsel-find-file-map
When the ivy package is installed without counsel,
and (require 'ivy) is called, then an error message
appears: void-variable counsel-find-file-map
2019-11-08 11:23:10 +01:00
Ag Ibragimov 08fdb02d7d [shell] Add vterm key bindings
- ~M-n~     =vterm-send-down= (next command)
- ~M-p~     =vterm-send-up=   (previous command)
- ~M-y~     =vterm-yank-pop=  (previous paste)
- ~M-/~     =vterm-send-tab=  (hippie expand)
Evil insert state:
- ~C-y~     =vterm-yank=      (paste)
Evil normal state:
- ~p~       =vterm-yank=      (paste)
- ~u~       =vterm-undo=

vterm: more keys
2019-11-06 12:01:31 +01:00
Hong Xu 5cd73edd1d Use string= instead of eq when comparing strings.
This is a follow-up of #12885, in which I used the wrong operator.
2019-11-06 10:07:50 +01:00
Hong Xu 9c613b8770 Optimize =spacemacs/counsel-search= for =ag= and =rg=
Use =counsel-ag= and =counsel-rg= when possible. They have more
optimizations, such as switching directory, the ability to turn
on and off casefold, etc. Counsel will also carry future
improvement with these two functions, and spacemacs will
automatically benefit from it.
2019-11-05 16:40:27 +01:00
duianto 7af300a225 Add visual line navigation keys, up and down
up   evil-previous-visual-line
down evil-next-visual-line
2019-11-03 22:44:27 +01:00
duianto 38752beffa Descriptive rename function file variables
problem:
the variable names: `dir`, `name`, and `filename` leads to confusion if they are
the old or new names

solution:
add the prefix `old-` to match `new-`,
use (`old-` `new-`) + `short-name` for just the `file.ext` (the `short-` idea
came from the `spacemacs/rename-file` function that's defined above this one),
and `old-full-path` instead of `old-filename` makes it clear that it's not just
the files name and extension.
2019-11-03 22:05:14 +01:00
duianto 4c728f041a Update file renaming, handle same new and old name
problem:
renaming a file to it's current name, results in the message:
"File 'current-name' successfully renamed to 'current-name'"

solution:
when the new and old names are the same, show a rename failed message, and call
the rename function again
2019-11-03 21:03:10 +01:00
duianto 8fbdd61e1e Update renaming, move and/or rename messages
problem:
the rename command shows the same message:
"File 'old-file-name' successfully renamed to 'new-file-name'"
(without the directory path) for all three file operations:
move, rename and both move & rename

solution:
show messages that fit the rename operation,
and align the from and to path/file names,
to make it easier to see what changed.

And use the same message format when renaming a buffer.
2019-11-03 20:40:56 +01:00
smile13241324 e74fc70de8 Revise spacemacs/last-error function and change key binding 2019-11-03 20:14:10 +01:00
Benoit Coste 93ac5203b4 Add function 'spacemacs/last-error
Sometimes it is useful to go directly to the last error message in the buffer.
This function recursively calls 'spacemacs/next-error until the last error is
reached.
The binding "SPC e l" is associated with it
2019-11-03 20:14:10 +01:00
Ivan Yonchovski 06cf8e3842 lsp layer must depend on yasnippet
- if this line is missing yasnippets might not be loaded because lsp-mode might
load the snippets before the auto-completion layer kick in.
2019-11-02 13:39:48 +01:00
duianto b837c1d397 [ivy] remove boundp check
Thanks yuhan0 for the suggestion
https://github.com/syl20bnr/spacemacs/pull/12865/files#r340909922
2019-10-31 10:55:23 +01:00
jpathy 72e49c6f2b No need for hook. It gives error as 'ediprolog is not defined. 2019-10-31 10:41:58 +01:00
Hong Xu 383da46e38 Keep ~C-h~ binding in =counsel-find-file-map= only for hjkl navigation
It has already been bound to <kbd>C-backspace</kbd> and
<kbd>C-delete</kbd>. Such an
additional binding is redundant (if hjkl navigation is not used) and
makes the original <kbd>C-h</kbd> binding
(help) unavailable.
2019-10-30 18:18:54 +01:00
Matt Kramer e4c8cef412 Add toggle visual-line-navigation-globally 2019-10-29 18:19:05 +01:00
duianto 5bcc96e9a9 [helm] Add helm-ls-git-ls to SPC g f f
The HELM Lsgit buffer has three sections:
- Git status (files: modified, deleted, etc.)
- Buffers in git project
- Git files
2019-10-28 21:26:04 +01:00
Carlos Ibáñez 0b0203e03f Fix git-grep on point 2019-10-27 12:59:06 +01:00
Carlos Ibáñez cb99bf9f39 Fix broken ivy-occur 2019-10-27 12:59:06 +01:00
Hong Xu cff6b47e6f Set counsel-find-file-at-point to t by default.
This enables better auto completion of =counsel-find-file=.
2019-10-27 05:06:02 +01:00
duianto 5fcd6e31eb [julia] Update readme.org
Removed org verbatim emphasis around link descriptions.

Moved up a paragraph before the julia-mode-enable-lsp code snippet,
because it ended with "then install this layer with:".

Removed the link from the same paragraph, it linked to it's own section.
2019-10-24 21:35:42 +02:00
Guido Kraemer 4e57ebe42b [julia] Load lsp-julia from melpa, etc.
Loaded lsp-julia from melpa

And fixed #12852
spacemacs/go-setup-backend was incorrectly added to the hook:
julia-mode-local-vars-hook
The correct function is now added: spacemacs/julia-setup-lsp

correct a tick
2019-10-24 20:36:01 +02:00
Didier A 58dcd6320b [clojure] Added support for joker linter and having mutliple active linters
The variable clojure-enable-linters can now be set to a list of linters:

'(clj-kondo joker)
  or
'(joker squiggly)
  or any other combination of the available linters.

In which case, all linters in the list will be active if they are
available to be. In that flycheck is configured so that each linter
in the list has as next-checker the next linter in the list.

The variable can also now be set to:

'joker

If only the newly added joker linter should be used.

This will pull down flycheck-joker and add Joker as a checker for
Clojure modes.

--

Implementation Details

The way it works is that for each Clojure linting mode, clj, cljc,
cljs and edn, a primary linter is chosen based on the order the
user specifies in clojure-enable-linters which support that mode.
It is made the primary linter for flycheck to use by being promoted
to the front of the flycheck-checkers list. All other linters specified
by the user which the mode also supports get added to it as a
next-checker.

Tested with clj-kondo, joker and squiggly. The only issue I saw was that
the way flycheck-clojure works, and the way I currently have setup the
logic for multiple checkers mean that we can't add to a mode multiple
checkers for the same linter. flycheck-clojure has eastwood, kibit and
core.typed. If you have it configured to use eastwood linter, then it
will all work, as eastwood gets added as the next-checker. But if you
have it disabled in flycheck-clojure, there won't be any
flycheck-clojure linters to activate. I'm not sure as of now how to best
support that. Ideally, we would not clubber linters into a single packge
like that, and so the layer would have instead of squiggly: eastwood,
kibit, core.typed. But that's not how flycheck-clojure works. Future
commit might be able to do something smarter about this.
2019-10-20 00:23:58 +02:00
duianto 1de8157a5c Unfold org headings from helm-ag and magit
Unfold org headings to a target line when opening a .org file from:
helm-ag, magit diff or blame buffers
2019-10-19 23:47:45 +02:00
duianto a7d45a5221 [ivy] Fix spacemacs/layouts-ts-close-other
Problem: It called: (spacemacs/helm-persp-close)
Solution: Call (spacemacs/ivy-spacemacs-layout-close-other) when ivy is used.
2019-10-19 23:20:55 +02:00
duianto 86c4ca2133 [ivy] Add counsel colors and faces key bindings
SPC C e calls counsel-colors-emacs
SPC C f calls counsel-faces
SPC C w calls counsel-colors-web
2019-10-19 23:13:35 +02:00
duianto 6472dfe3c2 [auto-completion] List feature pkg company-quickhelp
The company-quickhelp package wasn't mentioned in the auto-completion readme.

And the variable name auto-completion-enable-help-tooltip that enables the
package doesn't mention the package name either (which is fine).

This just makes it somewhat easier to see/find that the company-quickhelp
package is related to tooltips and that it's part of the auto-completion layer.
2019-10-19 23:03:05 +02:00
br3athein e528c6b038 shell: Set initial shell state better 2019-10-19 22:58:22 +02:00
smile13241324 bbe3e5bde1 [shell] Revise documentation 2019-10-19 22:34:49 +02:00
br3athein 72844d2ae9 shell: Tell vterm to respect shell-default-term-shell setting
Effectively, this forces `vterm` to spawn a shell set in a
`shell-default-term-shell` variable i/o default "/bin/bash" - just like
other shells from `shell-pop` do.
2019-10-19 22:21:05 +02:00
Billy Wade 59ba80853d [org] Make README point to org-re-reveal instead of org-reveal 2019-10-19 21:57:26 +02:00
duianto 75b266ff39 [javascript] Document layer var: javascript-fmt-on-save
Also mention prettier as the other formatter in the features section.
And wrap some long lines.
2019-10-19 21:32:42 +02:00
smile13241324 25dbbd1e5a [conda] Revise conda layer
Conda layer needed some additions to be spacemacs
conform. In detail I did:
* Add missing features block and TOC declaration in README
* Change bindings to extent the existing python bindings
  rather than adding new general bindings.
* Make conda layer require python layer
2019-10-19 21:06:57 +02:00
Zach Pearson b4ff40b941 Add conda layer (to work with anaconda environments) 2019-10-19 20:00:00 +02:00
duianto e96f0adfdd Fix C-k in company with tooltip
Got the idea for the fix from this comment:
https://github.com/expez/company-quickhelp/issues/17#issuecomment-526783169

I simplified it to only un/define C-k, since C-j worked without the fix.
2019-10-19 19:42:21 +02:00
Martin Račák 320504dfc1 Fix GNU Global install instructions for macOS
Original command throws error. Previously optional features are now enabled by
default.
2019-10-19 15:36:02 +02:00
kalium 1ee7a9a640 Update NixOS layer banner
The NixOS logo has changed since the NixOS layer was made. This commit
replaces the layers banner with the current official NixOS logo.

Source of the new logo: https://github.com/NixOS/nixos-artwork/tree/master/logo
2019-10-19 11:55:56 +02:00
Miloš Mošić b9f3ed61f4 [elixir] Enable evil-matchit in elixir mode 2019-10-19 10:47:28 +02:00
Gia Thanh Vuong 18715b872b bind c-ret to cider-repl-newline-and-indent in repl
For evil insert mode
2019-10-19 00:32:51 +02:00
Hong Xu 301d867aff tags-table-mode should be in spacemacs-large-file-modes-list
It is light-weight and it is common that tags are large.
2019-10-19 00:20:21 +02:00
alex argunov 92b7b65d13 Add available formatters to typescript readme 2019-10-18 22:39:44 +02:00
Tianyi Wang 8d474b1e10 [spotify] Add notes for ivy search 2019-10-18 22:27:31 +02:00
Zach Pearson ef1cecce01 Add a way to start an EIN Jupyter server from Spacemacs's UI 2019-10-18 20:59:09 +02:00
Aaron Jensen 1bd3777006 Fix tide with tsx files
This was broken in
ac30247811
if you do not specify a backend explicitly
2019-10-18 20:36:05 +02:00
Tianyao Chou 06786b4e66 Add company-box and basic setup
add auto-completion-enable-help-tooltip support

add auto-completion-use-company-box option and update document

add company-box config source url, remove empty line and join single line parenthesis

hide company-box mode line

update CHANGELOG.develop

hide doc popup when selection changed

add all-the-icon in auto-completion-packages

move icons config to auto-completion/init-all-the-icons according to duianto's advice
2019-10-18 13:20:55 +02:00
Hong Xu d35e7b85bf Allow users to enable treemacs-tag-follow-mode as initial setup. 2019-10-17 09:34:12 +02:00
Hong Xu e37b70cfa3 Bound counsel-git to gff and move magit-find-file to gfF.
counsel-git find a file in the current git repository. "gff" is
currently bound to magit-find-file. While counsel-git seemingly performs the
same functionality as magit-find-file, they are substantially different:
magit-find-file is not intended to find a file, contrary to what the
name indicates. See https://github.com/magit/magit/issues/3967 for
explanation. This is why we need another key binding for counsel-git.
2019-10-16 22:03:42 +02:00
wenpin a45948c759 fix typo
There are two `dap-firefox-setup` while `dap-chrome-setup` never show up
2019-10-16 21:04:14 +02:00
Boris Buliga 5785f1788f [python] update jedi instructions
Following 150390968b
2019-10-14 22:18:11 +02:00
Miciah Masters 8d6f736209 Delete old git-link and git-timemachine code
Delete integration code for git-link and git-timemachine, which is
superseded by upstream changes to git-link committed in August 2016:
433ba1dba7

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/git/funcs.el (spacemacs/git-link-copy-url-only):
Replace call to spacemacs/git-link with a call to git-link.
(spacemacs/git-link-commit-copy-url-only): Replace call to
spacemacs/git-link-commit with a call to git-link-commit.
(spacemacs/git-link, spacemacs/git-link-commit): Delete functions.
* layers/+source-control/git/packages.el (git/init-git-link): Replace
binding to spacemacs/git-link with a binding to git-link.
2019-10-14 18:18:49 +02:00
duianto 98e7bf38ad [ivy] Rename counsel-more-chars to ivy-more-chars
counsel-more-chars was renamed to ivy-more-chars a year ago:
Move counsel-more-chars-alist and counsel-more-chars to ivy.el.
4461ef302a

with an alias to counsel-more-chars.

The alias was removed 2 days ago:
ivy.el: Clean up obsolete aliases
1a9002bf4b
2019-10-14 10:34:19 +02:00
Thijs Vermeir f753076772 fix documentation in markdown layer 2019-10-13 16:22:44 +02:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Miciah Masters 991aa5a6e5 [search-engine] Fix typo of "Hoogle" as "Hoggle"
* layers/+web-services/search-engine/packages.el
(search-engine/init-engine-mode): Fix typo "Hoggle" for the name of the
Hoogle search engine.
2019-10-13 11:31:33 +02:00
Miciah Masters 7db8815ee5 Simplify loading logic for eshell-z
* layers/+tools/shell/packages.el (shell/init-eshell-z): Replace use of
with-eval-after-load by using use-package's :after keyword to load eshell-z
when eshell is loaded.
2019-10-13 11:15:46 +02:00
Miciah Masters c7516a84c6 Fix documentation for key bindings
* layers/+lang/mercury-layer/README.org: Fix key bindings.
2019-10-13 10:46:45 +02:00
Miciah Masters ec0a535b27 Show conflicts in smerge ts hint
Use a dynamic hint for the smerge transient state in order to show the
current and total numbers of conflicts, and make the full hint toggleable.

* CHANGELOG.develop: Add an entry for this change.
* layers/+source-control/version-control/config.el
(spacemacs--smerge-ts-full-hint-toggle): New variable.
* layers/+source-control/version-control/funcs.el
(spacemacs//smerge-ts-hint): New function.  Return a string indicating the
index of the current conflict and the total number of conflicts detected by
smerge-mode.  If spacemacs--smerge-ts-full-hint-toggle is true, append the
smerge transient state's full hint.
(spacemacs//smerge-ts-toggle-hint): Toggle showing the full hint for the
smerge transient state.
* layers/+source-control/version-control/packages.el
(version-control/init-smerge-mode): Define the transient state in :init so
we can use spacemacs|transient-state-format-hint.  Use
spacemacs//smerge-ts-hint to display a dynamic hint.  Bind the ? key to
spacemacs//smerge-ts-toggle-hint.
2019-10-13 10:09:42 +02:00
Miciah Masters e8cdaac8d3 Unique defvar for each ts full-hint toggle
Instead of using a single variable for all transient states' full-hint
toggle functions, define a unique variable for each toggle function so that
toggling the full hint for one transient state does not affect the others.

* CHANGELOG.develop: Add an entry for this change.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs--window-manipulation-ts-full-hint-toggle): New variable.
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint): Replace
spacemacs--ts-full-hint-toggle with
spacemacs--window-manipulation-ts-full-hint-toggle.
* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Delete variable.
(spacemacs--layouts-ts-full-hint-toggle)
(spacemacs--workspaces-ts-full-hint-toggle): New variables.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint): Replace
spacemacs--ts-full-hint-toggle with spacemacs--layouts-ts-full-hint-toggle.
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace spacemacs--ts-full-hint-toggle with
spacemacs--workspaces-ts-full-hint-toggle.
2019-10-13 10:09:42 +02:00
Miciah Masters 7be37a2aed Use truth values for spacemacs--ts-full-hint
Use nil and t instead of 0 and 1 for spacemacs--ts-full-hint values.

* layers/+spacemacs/spacemacs-layouts/config.el
(spacemacs--ts-full-hint-toggle): Define with an initial value of nil.
* layers/+spacemacs/spacemacs-defaults/keybindings.el
(spacemacs//window-manipulation-ts-toggle-hint)
(spacemacs//window-manipulation-ts-hint):
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//layouts-ts-toggle-hint, spacemacs//layouts-ts-hint)
(spacemacs//workspaces-ts-toggle-hint, spacemacs//workspaces-ts-hint):
Replace (logxor ... 1) and (equal 1 ...) with (not ...) and a simple truth
check.
2019-10-13 10:09:42 +02:00
Martin Račák 1fec4ec135 Fix conditional backend setup
* Use spacemacs//python-backend to check which backend is being used
* Set leader keys for anaconda in :config to avoid overwriting by tags layer
2019-10-12 15:21:40 +02:00
Martin Račák c95534ace5 Revert "Use anaconda-mode-find-definition for SPC-m-g-g"
This reverts commit 9bafd3f561.
2019-10-12 15:21:40 +02:00
Rakan Alhneiti 9bafd3f561 Use anaconda-mode-find-definition for SPC-m-g-g 2019-10-11 22:03:59 +02:00
Lorenzo Manacorda 4b810795ea org-mode: Document more insertion bindings
`C-RET` and `C-S-RET`, from https://orgmode.org/manual/Structure-editing.html.
2019-10-10 21:21:28 +02:00
Tommy Groshong 59c95e7da2 Make react layer respect js fmt on save
The react layer relies on the javascript layer and uses multiple values
from it including definition of a formatter. However, the react layer
does not respect the javascript layer setting for formatting a file on
save.

This patch configures the react layer to add a before save hook that
calls the javascript layer formatting function when the
'javascript-fmt-on-save variable is enabled.
2019-10-09 18:29:23 +02:00
Thanh Vuong ba1fba2455 add lsp for html buffer 2019-10-09 15:29:29 +02:00
Daniel Caixinha 7dd4118820 Add instructions to PlantUML README to set exec-mode accordingly 2019-10-06 21:16:05 +02:00
Matthew Leach d3cb959e36 [gnus] add gnus perspective
Configure the gnus layer to add a gnus perspective, similar to the erc layout.
2019-10-06 17:09:15 +02:00
Roman Gonzalez 28f3b6289d Add spacemacs/git-permalink functionality
Context:

When using org files, one normally tends to add Github code links to an
algorithm/bug explanation so that readers are able to follow along with a PR
change.

The current `<SPC> g l L` command gets us the URL to the current branch; given
the code is in flux, the link becomes non-sensical rather quickly, loosing value
when trying to build a document with explanations about the code.

This PR allows us to get the Permalink (e.g. link associated to the commit, not
the branch); using this, the URL contents will never change with new commits
submitted to the repository.

Changes:

  * Add two new functions with associated keybindings:

    - `<SPC> g l p` maps to `spacemacs/git-permalink`

    - `<SPC> g l P` maps to `spacemacs/git-permalink-copy-url-only`

  * The above changes rely on mechanisms of `git-link`, so no new code needs to
    be introduced
2019-10-05 19:19:41 +02:00
Hong Xu 50bb8a6dc1 Add document for option treemacs-use-git-mode
This option has been implemented but was not documented.
2019-10-05 18:51:36 +02:00
syl20bnr fdd38eec9b [shell] Add instruction to install cmake on MacOS 2019-09-30 02:29:50 -04:00
syl20bnr 996da0505f [dap] Fix errors in README.org 2019-09-30 02:25:48 -04:00
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
syl20bnr ac30247811 [lsp] When used, make LSP the default backend for all supported lang
* Added a new function to each language to select the backend
* Use these new functions in all `pcase`.
2019-09-30 00:49:44 -04:00
syl20bnr 9606dd344e [dap] Refactor configuration dap config in layers
* use local-vars-hook coupled to setup function for dap
* define new private layer variable `spacemacs--dap-supported-modes` to
  configure key bindings. This allows to move the key bindings definition from
  `funcs.el` to `packages.el`
* remove duplication of DAP key bindings in READMEs by pointing to the dap layer
  documentation
* alphabetically sort package configuration
2019-09-30 00:34:26 -04:00
syl20bnr 6f6497d3c9 [dap] Make dap layer to depend on lsp layer 2019-09-30 00:34:26 -04:00
syl20bnr 5b34756529 [dap] Add mouse toggle key binding 2019-09-30 00:34:26 -04:00
syl20bnr 2b70cd5f45 [java] Remove unconfigured eldoc package 2019-09-30 00:34:26 -04:00
syl20bnr bdfefd5e5d [dap] Reorganise key bindings in sections 2019-09-30 00:34:26 -04:00
Ivan Yonchovski 3908fc752b [dap] Add mouse support in dap-mode
- Disable it with `dap-enable-mouse-support`
2019-09-30 00:34:26 -04:00
smile13241324 58e342f242 [dart] Explain LSP dependency and make layer require LSP layer
The dart layer requires the official LSP server as the
emacs mode alternative is not longer properly maintained.
Therefore I have added some more description of how to
install the server properly and let the layer load
the LSP layer automatically.

In addition I have removed the unsupported variable
`dart-server-enable-analysis-server` from the
documentation.

See https://github.com/bradyt/dart-mode/wiki/LSP for
details.
2019-09-28 23:01:49 +02:00
smile13241324 aa244a91a5 [shell-scripts] Load lsp layer when an lsp backend has been selected 2019-09-28 22:21:51 +02:00
smile13241324 9730173e94 [shell-scripts] Make readme describe the available backends more clearly 2019-09-28 22:04:51 +02:00
Georgy Lukyanov bee9bea1b6 Fix #9429: Make agda layer retain indentation on paste.
Add `(add-to-list 'spacemacs-indent-sensitive-modes 'agda2-mode)`
into the definition of `agda/init-agda`.
2019-09-28 14:23:17 +02:00
duianto 8ca2af4215 [php] Enable evil-matchit-mode 2019-09-27 13:35:29 +02:00
duianto 3142f070f5 [dart] Fix reverting a dart buffer
While getting the dart-server major mode key bindings to work.
Everything was moved from the `dart/init-dart-mode` function,
to the `dart/init-dart-server` function.

This revealed that an empty `dart/init-dart-mode` section causes
`M-x revert-buffer`
to switch the dart buffer to `fundamental-mode`.

The fix was to load `dart-mode` from the `dart/init-dart-mode`
function. And add `:after dart-mode` to the
`dart/init-dart-server` function.
2019-09-25 10:59:43 +02:00