From 4b56b91ac859e18a632343ed8692696c70b34e46 Mon Sep 17 00:00:00 2001 From: Jansen Mitchell Date: Tue, 19 Dec 2017 20:27:12 -0600 Subject: [PATCH 1/5] Add support for Fountain with proselint. --- ale_linters/fountain/proselint.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ale_linters/fountain/proselint.vim diff --git a/ale_linters/fountain/proselint.vim b/ale_linters/fountain/proselint.vim new file mode 100644 index 0000000..5761adc --- /dev/null +++ b/ale_linters/fountain/proselint.vim @@ -0,0 +1,9 @@ +" Author: Jansen Mitchell https://github.com/JansenMitchell +" Description: proselint for Fountain files + +call ale#linter#Define('fountain', { +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\}) From 537d162ee7f083faed817ba069fafc6c10c4ad5f Mon Sep 17 00:00:00 2001 From: Jansen Mitchell Date: Tue, 19 Dec 2017 21:57:25 -0600 Subject: [PATCH 2/5] Add Fountain and linter support information to README. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e939e6f..f769e6e 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ formatting. | Erb | [erb](https://github.com/jeremyevans/erubi), [erubis](https://github.com/kwatch/erubis) | | Erlang | [erlc](http://erlang.org/doc/man/erlc.html), [SyntaxErl](https://github.com/ten0s/syntaxerl) | | Fortran | [gcc](https://gcc.gnu.org/) | +| Fountain | [proselint](http://proselint.com/) | | FusionScript | [fusion-lint](https://github.com/RyanSquared/fusionscript) | | GLSL | [glslang](https://github.com/KhronosGroup/glslang), [glslls](https://github.com/svenstaro/glsl-language-server) | | Go | [gofmt](https://golang.org/cmd/gofmt/), [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports), [go vet](https://golang.org/cmd/vet/), [golint](https://godoc.org/github.com/golang/lint), [gometalinter](https://github.com/alecthomas/gometalinter) !!, [go build](https://golang.org/cmd/go/) !!, [gosimple](https://github.com/dominikh/go-tools/tree/master/cmd/gosimple) !!, [staticcheck](https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck) !! | From 2c9c5dec1e1337ecaffbe5e9818f98b09c134cd3 Mon Sep 17 00:00:00 2001 From: Jansen Mitchell Date: Wed, 20 Dec 2017 12:39:10 -0600 Subject: [PATCH 3/5] Add Fountain with proselint info to ale.txt. Add Fountain online documentation. --- doc/ale-fountain.txt | 6 ++++++ doc/ale.txt | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 doc/ale-fountain.txt diff --git a/doc/ale-fountain.txt b/doc/ale-fountain.txt new file mode 100644 index 0000000..ac0870c --- /dev/null +++ b/doc/ale-fountain.txt @@ -0,0 +1,6 @@ +=============================================================================== +ALE Fountain Integration *ale-fountain-options* + + +=============================================================================== +vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: diff --git a/doc/ale.txt b/doc/ale.txt index bdcb39f..b343989 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -66,6 +66,7 @@ CONTENTS *ale-contents* eruby.................................|ale-eruby-options| fortran...............................|ale-fortran-options| gcc.................................|ale-fortran-gcc| + fountain..............................|ale-fountain-options| fusionscript..........................|ale-fuse-options| fusion-lint.........................|ale-fuse-fusionlint| glsl..................................|ale-glsl-options| @@ -299,6 +300,7 @@ Notes: * Erb: `erb`, `erubis` * Erlang: `erlc`, `SyntaxErl` * Fortran: `gcc` +* Fountain: `proselint` * FusionScript: `fusion-lint` * GLSL: glslang, `glslls` * Go: `gofmt`, `goimports`, `go vet`, `golint`, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!! From 4d4d2d812292b0976c6e0241df53208131d3291c Mon Sep 17 00:00:00 2001 From: Jansen Mitchell Date: Wed, 20 Dec 2017 22:53:03 -0600 Subject: [PATCH 4/5] Add four spaces, not tabs. --- ale_linters/fountain/proselint.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ale_linters/fountain/proselint.vim b/ale_linters/fountain/proselint.vim index 5761adc..353a2e5 100644 --- a/ale_linters/fountain/proselint.vim +++ b/ale_linters/fountain/proselint.vim @@ -2,8 +2,8 @@ " Description: proselint for Fountain files call ale#linter#Define('fountain', { -\ 'name': 'proselint', -\ 'executable': 'proselint', -\ 'command': 'proselint %t', -\ 'callback': 'ale#handlers#unix#HandleAsWarning', +\ 'name': 'proselint', +\ 'executable': 'proselint', +\ 'command': 'proselint %t', +\ 'callback': 'ale#handlers#unix#HandleAsWarning', \}) From 1e34210f9a231da26074e6af6643e57ae7f1f402 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 2 Jan 2018 13:22:40 +0000 Subject: [PATCH 5/5] Fix some bad indentation --- doc/ale.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ale.txt b/doc/ale.txt index b343989..61465ed 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -66,7 +66,7 @@ CONTENTS *ale-contents* eruby.................................|ale-eruby-options| fortran...............................|ale-fortran-options| gcc.................................|ale-fortran-gcc| - fountain..............................|ale-fountain-options| + fountain..............................|ale-fountain-options| fusionscript..........................|ale-fuse-options| fusion-lint.........................|ale-fuse-fusionlint| glsl..................................|ale-glsl-options|