Commit graph

46 commits

Author SHA1 Message Date
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
JAremko
4f37acdfae add go coverage key bindings
fix copypasta
2016-05-11 20:50:16 -04:00
Eivind Fonn
3561b4dcf9 Fix go/README.org 2016-05-05 12:47:04 +02:00
JAremko
11e696ad06 add var go-use-gometalinter 2016-05-04 08:34:32 +03:00
syl20bnr
d94b17d57b go: use :toggle for flycheck-gometalinter package
Turn the maybe function into an always since the package
flycheck-gometalinter is installed only if gometalinter is found.
2016-04-29 22:58:23 -04:00
JAremko
ae512ee8f1 Use gometalinter if present. 2016-04-29 22:52:05 -04:00
NJBS
32466ca272 Update go README to include goimports prereq
see #5855
2016-04-28 15:40:26 +02:00
Matt Jaffee
f0f2034a53 support underscores in Go test functions
When trying to run a single test function with LEADER m t t in a Golang
test file, spacemacs failed to find functions which had underscores in
their names. This commit simply adds an underscore to the regular
expression which spacemacs uses when searching for the current test
function.
2016-04-17 00:37:47 -04:00
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
Fabien Dubosson
80195d15c7 Justify a paragraph in the go README 2016-04-05 12:28:11 +02:00
james sangho nah
1773cca021 Fix minor typo in Go README 2016-04-05 12:22:01 +02:00
syl20bnr
74fb719b44 go: make go-tab-width a regular layer variable 2016-04-04 22:36:51 -04:00
james sangho nah
4129264302 go: new variable `go-tab-width' 2016-04-04 22:34:17 -04:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
syl20bnr
6e0a76f8ca go: set location property of go-oracle to site
instead of local
it had no bad side effect but `site` is the correct value for a package
that comes from somewhere else on the system.
2016-03-27 12:22:14 -04:00
Carlos Galdino
874e67b6ec Show function signature for Golang buffers.
This fixes #4368.
2016-02-16 23:59:51 -05:00
Eivind Fonn
e9f8377b92 Tweak flycheck loading process 2016-01-31 23:04:48 -05:00
Xue Fuqiao
4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
bogdanteleaga
6371784b2e Change regex to accomodate cases where there's no test suite 2016-01-22 15:50:43 +01:00
bogdanteleaga
ef140f37c5 Improve indentation in golang 2016-01-21 21:53:52 +01:00
syl20bnr
33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
Syohei YOSHIDA
aec2437071 Don't call exec-path-from-shell function on Windows 2016-01-13 00:43:30 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Will Maier
6d8222cedc Avoid clobbering golang variables
Instead of checking for our platform, simply test if the variables have
already been set. If not, let exec-path-from-shell figure out the right
values.
2016-01-11 01:13:09 -05:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Fabien Dubosson
6cb7399cac Change SPC f e h to SPC h SPC for helm-spacemacs default binding
This make `SPC h SPC` as default binding for accessing `helm-spacemacs`,
by either A) changing all the documentation; and B) adding a deprecation
message for `SPC f e h`.

The deprecation use a warning, because if a message is used it's hidden
directly when the helm buffer is shown, making it nearly unnoticeable
for the user.
2016-01-03 22:23:12 -05:00
Eivind Fonn
ac0ba50154 Make flycheck/flyspell hooks more explicit 2015-12-11 02:08:55 -05:00
mike-work
b358f6c7f7 added gorename to docs 2015-12-03 23:59:43 -05:00
Eivind Fonn
c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Jenan Wise
8998c1de71 Declare prefixes for go layer. 2015-11-29 12:14:44 +01:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn
c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Eivind Fonn
13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
bogdanteleaga
0917dc8337 Added more features for testing in golang layer 2015-10-29 19:42:32 +01:00
bogdanteleaga
9c7033cee5 Updated readme with example for goimports 2015-10-29 19:41:30 +01:00
Eivind Fonn
16e7ad2923 Clean up PATH documentation 2015-10-29 13:48:46 +01:00
d12frosted
a89a05ca9a add note about setting up $PATH 2015-10-29 13:48:46 +01:00
sectorzero
5c0bbd1660 go layer : function to 'go run' on current 'main' package 2015-10-22 21:55:35 -04:00
sectorzero
5f40cc56fa go layer : import GO15VENDOREXPERIMENT from env
New Go package management tools will follow this env variable to
determine the location to look for dependencies
See : https://github.com/golang/go/wiki/PackageManagementTools
2015-10-22 18:46:23 -04:00
Eivind Fonn
56ecd43753 Add variables to opt-in to flycheck/flyspell 2015-10-10 23:18:46 -04:00
Eivind Fonn
b85c153291 Document other layers in go
Fix #2750

[ci-skip]
2015-10-05 12:07:45 +02:00
Eivind Fonn
5d04465c69 Document gofmt-command
Fix #3065

[ci-skip]
2015-10-05 12:07:45 +02:00
syl20bnr
5e0fa16a32 go: move SPC m h p to SPC m h h
To follow conventions
2015-09-17 13:45:37 -04:00
bogdanteleaga
9daac9b306 lang/go: change keybindings to removed shadowed oracle and follow conventions 2015-09-17 14:45:27 +02:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00