diff options
-rw-r--r-- | README.markdown | 50 | ||||
-rw-r--r-- | assets/Logo/PNG/1.5x/Recurso 4hdpi.png | bin | 0 -> 31195 bytes | |||
-rw-r--r-- | assets/Logo/PNG/1.5x/Recurso 5hdpi.png | bin | 0 -> 6850 bytes | |||
-rw-r--r-- | assets/Logo/PNG/1.5x/Recurso 6hdpi.png | bin | 0 -> 6799 bytes | |||
-rw-r--r-- | assets/Logo/PNG/1x/Recurso 4mdpi.png | bin | 0 -> 19503 bytes | |||
-rw-r--r-- | assets/Logo/PNG/1x/Recurso 5mdpi.png | bin | 0 -> 4398 bytes | |||
-rw-r--r-- | assets/Logo/PNG/1x/Recurso 6mdpi.png | bin | 0 -> 4380 bytes | |||
-rw-r--r-- | assets/Logo/PNG/2x/Recurso 4xhdpi.png | bin | 0 -> 44632 bytes | |||
-rw-r--r-- | assets/Logo/PNG/2x/Recurso 5xhdpi.png | bin | 0 -> 9461 bytes | |||
-rw-r--r-- | assets/Logo/PNG/2x/Recurso 6xhdpi.png | bin | 0 -> 9442 bytes | |||
-rw-r--r-- | assets/Logo/PNG/3x/Recurso 4xxhdpi.png | bin | 0 -> 74358 bytes | |||
-rw-r--r-- | assets/Logo/PNG/3x/Recurso 5xxhdpi.png | bin | 0 -> 15531 bytes | |||
-rw-r--r-- | assets/Logo/PNG/3x/Recurso 6xxhdpi.png | bin | 0 -> 15656 bytes | |||
-rw-r--r-- | assets/Logo/SVG/PinkLogo.svg | 1 | ||||
-rw-r--r-- | assets/Logo/SVG/RoundedLogo.svg | 1 | ||||
-rw-r--r-- | assets/Logo/SVG/WhiteLogo.svg | 1 |
16 files changed, 24 insertions, 29 deletions
diff --git a/README.markdown b/README.markdown index 97c8507..870a40c 100644 --- a/README.markdown +++ b/README.markdown @@ -1,10 +1,10 @@ -stylish-haskell -=============== +## stylish-haskell + +<img src="./assets/Logo/SVG/RoundedLogo.svg" width="100px"> [![Build Status](https://img.shields.io/circleci/project/github/jaspervdj/stylish-haskell.svg)](https://circleci.com/gh/jaspervdj/stylish-haskell) -Introduction ------------- +## Introduction A simple Haskell code prettifier. The goal is not to format all of the code in a file, since I find those kind of tools often "get in the way". However, @@ -12,18 +12,17 @@ manually cleaning up import statements etc. gets tedious very quickly. This tool tries to help where necessary without getting in the way. -Installation ------------- +## Installation You can install it using `stack install stylish-haskell` or `cabal install stylish-haskell`. You can also install it using your package manager: - * Debian 9 or later: `apt-get install stylish-haskell` - * Ubuntu 16.10 or later: `apt-get install stylish-haskell` - * Arch Linux: `pacman -S stylish-haskell` -Features --------- +- Debian 9 or later: `apt-get install stylish-haskell` +- Ubuntu 16.10 or later: `apt-get install stylish-haskell` +- Arch Linux: `pacman -S stylish-haskell` + +## Features - Aligns and sorts `import` statements - Groups and wraps `{-# LANGUAGE #-}` pragmas, can remove (some) redundant @@ -39,8 +38,7 @@ Feature requests are welcome! Use the [issue tracker] for that. [issue tracker]: https://github.com/jaspervdj/stylish-haskell/issues -Example -------- +## Example Turns: @@ -84,8 +82,8 @@ data Point = Point , pointName :: String } deriving (Show) ``` -Configuration -------------- + +## Configuration The tool is customizable to some extent. It tries to find a config file in the following order: @@ -107,8 +105,7 @@ Use `stylish-haskell --defaults > .stylish-haskell.yaml` to dump a well-documented default configuration to a file, this way you can get started quickly. -VIM integration ---------------- +## VIM integration Since it works as a filter it is pretty easy to integrate this with VIM. @@ -136,14 +133,13 @@ autocmd FileType haskell let b:autoformat_autoindent=0 There are also plugins that run stylish-haskell automatically when you save a Haskell file: -* [vim-stylish-haskell] -* [vim-stylishask] +- [vim-stylish-haskell] +- [vim-stylishask] [vim-stylish-haskell]: https://github.com/nbouscal/vim-stylish-haskell [vim-stylishask]: https://github.com/alx741/vim-stylishask -Emacs integration ------------------ +## Emacs integration [haskell-mode] for Emacs supports `stylish-haskell`. For configuration, see [the “Using external formatters” section][haskell-mode/format] of the @@ -152,8 +148,7 @@ haskell-mode manual. [haskell-mode]: https://github.com/haskell/haskell-mode [haskell-mode/format]: http://haskell.github.io/haskell-mode/manual/latest/Autoformating.html -Atom integration ----------------- +## Atom integration [ide-haskell] for Atom supports `stylish-haskell`. @@ -162,15 +157,13 @@ Atom integration [ide-haskell]: https://atom.io/packages/ide-haskell [atom-beautify]: Https://atom.io/packages/atom-beautify -Visual Studio Code integration ------------------------------- +## Visual Studio Code integration [stylish-haskell-vscode] for VSCode supports `stylish-haskell`. [stylish-haskell-vscode]: https://github.com/vigoo/stylish-haskell-vscode -Using with Continuous Integration ---------------------------------- +## Using with Continuous Integration You can quickly grab the latest binary and run `stylish-haskell` like so: @@ -178,8 +171,7 @@ You can quickly grab the latest binary and run `stylish-haskell` like so: Where the `.` can be replaced with the arguments you pass to `stylish-haskell`. -Credits -------- +## Credits Written and maintained by Jasper Van der Jeugt. diff --git a/assets/Logo/PNG/1.5x/Recurso 4hdpi.png b/assets/Logo/PNG/1.5x/Recurso 4hdpi.png Binary files differnew file mode 100644 index 0000000..30c7a37 --- /dev/null +++ b/assets/Logo/PNG/1.5x/Recurso 4hdpi.png diff --git a/assets/Logo/PNG/1.5x/Recurso 5hdpi.png b/assets/Logo/PNG/1.5x/Recurso 5hdpi.png Binary files differnew file mode 100644 index 0000000..c73f840 --- /dev/null +++ b/assets/Logo/PNG/1.5x/Recurso 5hdpi.png diff --git a/assets/Logo/PNG/1.5x/Recurso 6hdpi.png b/assets/Logo/PNG/1.5x/Recurso 6hdpi.png Binary files differnew file mode 100644 index 0000000..f574889 --- /dev/null +++ b/assets/Logo/PNG/1.5x/Recurso 6hdpi.png diff --git a/assets/Logo/PNG/1x/Recurso 4mdpi.png b/assets/Logo/PNG/1x/Recurso 4mdpi.png Binary files differnew file mode 100644 index 0000000..cf35dd8 --- /dev/null +++ b/assets/Logo/PNG/1x/Recurso 4mdpi.png diff --git a/assets/Logo/PNG/1x/Recurso 5mdpi.png b/assets/Logo/PNG/1x/Recurso 5mdpi.png Binary files differnew file mode 100644 index 0000000..4d84ff3 --- /dev/null +++ b/assets/Logo/PNG/1x/Recurso 5mdpi.png diff --git a/assets/Logo/PNG/1x/Recurso 6mdpi.png b/assets/Logo/PNG/1x/Recurso 6mdpi.png Binary files differnew file mode 100644 index 0000000..e4a4767 --- /dev/null +++ b/assets/Logo/PNG/1x/Recurso 6mdpi.png diff --git a/assets/Logo/PNG/2x/Recurso 4xhdpi.png b/assets/Logo/PNG/2x/Recurso 4xhdpi.png Binary files differnew file mode 100644 index 0000000..114929e --- /dev/null +++ b/assets/Logo/PNG/2x/Recurso 4xhdpi.png diff --git a/assets/Logo/PNG/2x/Recurso 5xhdpi.png b/assets/Logo/PNG/2x/Recurso 5xhdpi.png Binary files differnew file mode 100644 index 0000000..ec1a2f4 --- /dev/null +++ b/assets/Logo/PNG/2x/Recurso 5xhdpi.png diff --git a/assets/Logo/PNG/2x/Recurso 6xhdpi.png b/assets/Logo/PNG/2x/Recurso 6xhdpi.png Binary files differnew file mode 100644 index 0000000..4b6353e --- /dev/null +++ b/assets/Logo/PNG/2x/Recurso 6xhdpi.png diff --git a/assets/Logo/PNG/3x/Recurso 4xxhdpi.png b/assets/Logo/PNG/3x/Recurso 4xxhdpi.png Binary files differnew file mode 100644 index 0000000..61c667e --- /dev/null +++ b/assets/Logo/PNG/3x/Recurso 4xxhdpi.png diff --git a/assets/Logo/PNG/3x/Recurso 5xxhdpi.png b/assets/Logo/PNG/3x/Recurso 5xxhdpi.png Binary files differnew file mode 100644 index 0000000..c877ce4 --- /dev/null +++ b/assets/Logo/PNG/3x/Recurso 5xxhdpi.png diff --git a/assets/Logo/PNG/3x/Recurso 6xxhdpi.png b/assets/Logo/PNG/3x/Recurso 6xxhdpi.png Binary files differnew file mode 100644 index 0000000..eb9fa18 --- /dev/null +++ b/assets/Logo/PNG/3x/Recurso 6xxhdpi.png diff --git a/assets/Logo/SVG/PinkLogo.svg b/assets/Logo/SVG/PinkLogo.svg new file mode 100644 index 0000000..6ff8d9d --- /dev/null +++ b/assets/Logo/SVG/PinkLogo.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144.51 177.64"><defs><style>.cls-1{fill:#95538e;}</style></defs><title>Recurso 8</title><g id="Capa_2" data-name="Capa 2"><g id="Capa_3" data-name="Capa 3"><path class="cls-1" d="M60.76,108.89,41.94,75.78h0L1.41,147.14a10.65,10.65,0,0,0,9.26,15.92H35.74A10.67,10.67,0,0,0,45,157.67l15.75-27.73A21.35,21.35,0,0,0,60.76,108.89Z"/><path class="cls-1" d="M53,76.49A21.31,21.31,0,0,0,71.56,87.28h37.18L62.22,5.39A10.65,10.65,0,0,0,53,0H27.88a10.65,10.65,0,0,0-9.26,15.92Z"/><path class="cls-1" d="M143.13,147.13,120.75,107.4a21.3,21.3,0,0,0-18.57-10.86H65.06l34.38,61.05a10.63,10.63,0,0,0,9.28,5.42h25.12A10.65,10.65,0,0,0,143.13,147.13Z"/><path class="cls-1" d="M72.35,128.53,58.18,153.08a16.37,16.37,0,0,0,14.17,24.56h0a16.37,16.37,0,0,0,14.18-24.56Z"/></g></g></svg>
\ No newline at end of file diff --git a/assets/Logo/SVG/RoundedLogo.svg b/assets/Logo/SVG/RoundedLogo.svg new file mode 100644 index 0000000..bf2fcd7 --- /dev/null +++ b/assets/Logo/SVG/RoundedLogo.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 221.77 221.77"><defs><style>.cls-1{fill:url(#Degradado_sin_nombre_17);}.cls-2{fill:#f3f8fc;}</style><linearGradient id="Degradado_sin_nombre_17" x1="32.48" y1="189.3" x2="189.3" y2="32.48" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#7b4a91"/><stop offset="1" stop-color="#9e5597"/></linearGradient></defs><title>Recurso 7</title><g id="Capa_2" data-name="Capa 2"><g id="Capa_3" data-name="Capa 3"><circle class="cls-1" cx="110.89" cy="110.89" r="110.89"/><path class="cls-2" d="M88.07,101.07,57.55,154.79a8,8,0,0,0,7,12H83.4a8,8,0,0,0,7-4.06l11.85-20.87a16,16,0,0,0,0-15.84L88.07,101.07Z"/><path class="cls-2" d="M96.36,44H77.48a8,8,0,0,0-7,12l25.9,45.6a16.06,16.06,0,0,0,14,8.12h28l-35-61.64A8,8,0,0,0,96.36,44Z"/><path class="cls-2" d="M164.23,154.78l-16.84-29.91a16,16,0,0,0-14-8.17H105.47l25.88,46a8,8,0,0,0,7,4.09h18.92A8,8,0,0,0,164.23,154.78Z"/><path class="cls-2" d="M111,140.78l-10.67,18.48A12.33,12.33,0,0,0,111,177.75h0a12.33,12.33,0,0,0,10.67-18.49Z"/></g></g></svg>
\ No newline at end of file diff --git a/assets/Logo/SVG/WhiteLogo.svg b/assets/Logo/SVG/WhiteLogo.svg new file mode 100644 index 0000000..ebb2d69 --- /dev/null +++ b/assets/Logo/SVG/WhiteLogo.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144.51 177.64"><defs><style>.cls-1{fill:#f3f8fc;}</style></defs><title>Recurso 6</title><g id="Capa_2" data-name="Capa 2"><g id="Capa_3" data-name="Capa 3"><path class="cls-1" d="M60.76,108.89,41.94,75.78h0L1.41,147.14a10.65,10.65,0,0,0,9.26,15.92H35.74A10.67,10.67,0,0,0,45,157.67l15.75-27.73A21.35,21.35,0,0,0,60.76,108.89Z"/><path class="cls-1" d="M53,76.49A21.31,21.31,0,0,0,71.56,87.28h37.18L62.22,5.39A10.65,10.65,0,0,0,53,0H27.88a10.65,10.65,0,0,0-9.26,15.92Z"/><path class="cls-1" d="M143.13,147.13,120.75,107.4a21.3,21.3,0,0,0-18.57-10.86H65.06l34.38,61.05a10.63,10.63,0,0,0,9.28,5.42h25.12A10.65,10.65,0,0,0,143.13,147.13Z"/><path class="cls-1" d="M72.35,128.53,58.18,153.08a16.37,16.37,0,0,0,14.17,24.56h0a16.37,16.37,0,0,0,14.18-24.56Z"/></g></g></svg>
\ No newline at end of file |