summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--ale_linters/fountain/proselint.vim9
-rw-r--r--doc/ale-fountain.txt6
-rw-r--r--doc/ale.txt2
4 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 129033c9..e0eac1a2 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) |
| Git Commit Messages | [gitlint](https://github.com/jorisroovers/gitlint) |
| GLSL | [glslang](https://github.com/KhronosGroup/glslang), [glslls](https://github.com/svenstaro/glsl-language-server) |
diff --git a/ale_linters/fountain/proselint.vim b/ale_linters/fountain/proselint.vim
new file mode 100644
index 00000000..353a2e5f
--- /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',
+\})
diff --git a/doc/ale-fountain.txt b/doc/ale-fountain.txt
new file mode 100644
index 00000000..ac0870cf
--- /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 bec086d1..3eb6c6df 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|
git commit............................|ale-gitcommit-options|
@@ -301,6 +302,7 @@ Notes:
* Erb: `erb`, `erubis`
* Erlang: `erlc`, `SyntaxErl`
* Fortran: `gcc`
+* Fountain: `proselint`
* FusionScript: `fusion-lint`
* Git Commit Messages: `gitlint`
* GLSL: glslang, `glslls`