From ee901b0dcde35e7d4d026832c47135a96fa7cf56 Mon Sep 17 00:00:00 2001 From: Ryan Roberts Date: Tue, 10 Mar 2015 23:11:29 +0000 Subject: [PATCH] FSharpbinding support --- contrib/lang/fsharp/README.md | 50 ++++++++++++++++++++++++++ contrib/lang/fsharp/extensions.el | 21 +++++++++++ contrib/lang/fsharp/img/fsharp256.png | Bin 0 -> 3331 bytes contrib/lang/fsharp/packages.el | 26 ++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 contrib/lang/fsharp/README.md create mode 100644 contrib/lang/fsharp/extensions.el create mode 100644 contrib/lang/fsharp/img/fsharp256.png create mode 100644 contrib/lang/fsharp/packages.el diff --git a/contrib/lang/fsharp/README.md b/contrib/lang/fsharp/README.md new file mode 100644 index 000000000000..02754f44bfaa --- /dev/null +++ b/contrib/lang/fsharp/README.md @@ -0,0 +1,50 @@ +# F# contribution layer for Spacemacs + +![logo_fsharp](img/fsharp.png) + +## Description + +This layer adds support for F# language using [fsharpbindng](https://github.com/fsharp/fsharpbinding). + +## Packages Included + +- [fsharp-mode](https://github.com/fsharp/fsharpbinding) + +## Install + +To use this contribution add it to your `~/.spacemacs` + +```elisp +(setq-default dotspacemacs-configuration-layers '(fsharp)) +``` + +## Key Bindings + +### Compilation + + Key Binding | Description +----------------------|------------------------------------------------------------ +mcc | Build the project + +### Navigation + + Key Binding | Description +----------------------|------------------------------------------------------------ +mcd | Go to definition at point +men | Next error +mep | Previous error + +### REPL + + Key Binding | Description +----------------------|------------------------------------------------------------ +mer | Evaluate region +mep | Evaluate phrase +mef | Evaluate buffer +mss | Start REPL + +### Helpers (documentation, info) + + Key Binding | Description +----------------------|------------------------------------------------------------ +mst | Show tooltip at point diff --git a/contrib/lang/fsharp/extensions.el b/contrib/lang/fsharp/extensions.el new file mode 100644 index 000000000000..0a742f348625 --- /dev/null +++ b/contrib/lang/fsharp/extensions.el @@ -0,0 +1,21 @@ +(defvar fsharp-pre-extensions + '( + ;; pre extension fsharps go here + ) + "List of all extensions to load before the packages.") + +(defvar fsharp-post-extensions + '( + ;; post extension fsharps go here + ) + "List of all extensions to load after the packages.") + +;; For each extension, define a function fsharp/init- +;; +;; (defun fsharp/init-my-extension () +;; "Initialize my extension" +;; ) +;; +;; Often the body of an initialize function uses `use-package' +;; For more info on `use-package', see readme: +;; https://github.com/jwiegley/use-package diff --git a/contrib/lang/fsharp/img/fsharp256.png b/contrib/lang/fsharp/img/fsharp256.png new file mode 100644 index 0000000000000000000000000000000000000000..f98449050bd1289a6cd3ef4df3623b19820b1d12 GIT binary patch literal 3331 zcmZu!dt8!NAAi87W2X>OKx-NNjGl9Ht@!NPFmWHyxA zY+{zyYiKje!W6?UE=L5jk>BjN zGq773^26wVjOO6zm*RaLXT#q|bvGQ1Z?py>{Le?wll@UNHTZ({pnpWE?2Z`@^wEgiz>HB9S?C#JiWsn;t!Fv3VS%p3G_Ev|Z3K0a33 zB!dMvHfxm?7Tk(B{fG{wR6#F8vCY^hZB4oK%DD-%rx;K6`PrBgXXA7<+|sFd_1K&| z5Q?RH4hxk9abr|$>MRrr*p&k49u(JC16MyjQ>W7I^+9diV9>{*xa#DYECl*JW`XJJ ztSU9`V}7d7^?VM7UMg;meuFN#&Mg;S3{-s%`ve*A@EB@;!f;u+Fiq-#wH zj>>Xa5Rzg6-DX=)9R-w@MFi8=iW0T$yVGy={T)qNQ!`?T%^n3d0Mo^`o;-YoKRLX? zY`9ayi-aC{Qw_U$ky6so4iOQm-opcdby2)p>t~`+Of>_v-cY=**S8y=D!<7#>KFE7 z>8zTG2b~@*n_0UZ)QJ$2aoL^};_R2|4*VQj*wc5ME`v4dm!J@gUB}C!IBpmRjtHncz1&8Z zdxOZzUlG9^S}Y}11d7UAxff1=1jWy557fO0#a`}Bu@KWEoul?|M?gH3+Mj^S>zD{Z z25?bDW`ODAb5d>79^#M4whaT_pA_dbuU1Q-ZyQAByPNnvnQuan*5Tz=7oGxows68M zgBJ%P60IB6E}J#$){*nCzLwCFgoB$}Ub`%7upK5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