summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorDavid Houston <houstdav000@gmail.com>2021-11-18 17:41:05 -0500
committerGitHub <noreply@github.com>2021-11-19 07:41:05 +0900
commitea643b97ab08e571a543f4bd89cd3170f3f288e2 (patch)
treef701724bf0911b445107fc5caa23d6d1503de260 /ale_linters
parentaee0cc45bea7f190c27f0fc06f98a465ecff56fa (diff)
downloadale-ea643b97ab08e571a543f4bd89cd3170f3f288e2.zip
Add cspell Linter (#3981)
* Add cspell linter Add cspell linter, with the languages it supports. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell Global Variables Documentation Add documentation to /doc/ale.txt with cspell configuration options. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell to docs, Minor Cleanup Add cspell for each supported language, adding some spaces and removing others when caught navigating the file. Signed-off-by: David Houston <houstdav000@gmail.com>
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/ada/cspell.vim5
-rw-r--r--ale_linters/asciidoc/cspell.vim5
-rw-r--r--ale_linters/c/cspell.vim5
-rw-r--r--ale_linters/cpp/cspell.vim5
-rw-r--r--ale_linters/cs/cspell.vim5
-rw-r--r--ale_linters/css/cspell.vim5
-rw-r--r--ale_linters/elixir/cspell.vim5
-rw-r--r--ale_linters/go/cspell.vim5
-rw-r--r--ale_linters/haskell/cspell.vim5
-rw-r--r--ale_linters/help/cspell.vim5
-rw-r--r--ale_linters/html/cspell.vim5
-rw-r--r--ale_linters/java/cspell.vim5
-rw-r--r--ale_linters/javascript/cspell.vim5
-rw-r--r--ale_linters/json/cspell.vim5
-rw-r--r--ale_linters/lua/cspell.vim5
-rw-r--r--ale_linters/markdown/cspell.vim5
-rw-r--r--ale_linters/php/cspell.vim5
-rw-r--r--ale_linters/powershell/cspell.vim5
-rw-r--r--ale_linters/python/cspell.vim5
-rw-r--r--ale_linters/rst/cspell.vim5
-rw-r--r--ale_linters/ruby/cspell.vim5
-rw-r--r--ale_linters/rust/cspell.vim5
-rw-r--r--ale_linters/scala/cspell.vim5
-rw-r--r--ale_linters/sh/cspell.vim5
-rw-r--r--ale_linters/swift/cspell.vim5
-rw-r--r--ale_linters/tex/cspell.vim5
-rw-r--r--ale_linters/texinfo/cspell.vim5
-rw-r--r--ale_linters/text/cspell.vim5
-rw-r--r--ale_linters/typescript/cspell.vim5
-rw-r--r--ale_linters/vue/cspell.vim5
-rw-r--r--ale_linters/xhtml/cspell.vim5
31 files changed, 155 insertions, 0 deletions
diff --git a/ale_linters/ada/cspell.vim b/ale_linters/ada/cspell.vim
new file mode 100644
index 00000000..7342d2b6
--- /dev/null
+++ b/ale_linters/ada/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Ada files.
+
+call ale#handlers#cspell#DefineLinter('ada')
diff --git a/ale_linters/asciidoc/cspell.vim b/ale_linters/asciidoc/cspell.vim
new file mode 100644
index 00000000..b228b2e8
--- /dev/null
+++ b/ale_linters/asciidoc/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for ASCIIDoc files.
+
+call ale#handlers#cspell#DefineLinter('asciidoc')
diff --git a/ale_linters/c/cspell.vim b/ale_linters/c/cspell.vim
new file mode 100644
index 00000000..5f016548
--- /dev/null
+++ b/ale_linters/c/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for C files.
+
+call ale#handlers#cspell#DefineLinter('c')
diff --git a/ale_linters/cpp/cspell.vim b/ale_linters/cpp/cspell.vim
new file mode 100644
index 00000000..ace4c3b2
--- /dev/null
+++ b/ale_linters/cpp/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for C++ files.
+
+call ale#handlers#cspell#DefineLinter('cpp')
diff --git a/ale_linters/cs/cspell.vim b/ale_linters/cs/cspell.vim
new file mode 100644
index 00000000..c62dd11b
--- /dev/null
+++ b/ale_linters/cs/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for C# files.
+
+call ale#handlers#cspell#DefineLinter('cs')
diff --git a/ale_linters/css/cspell.vim b/ale_linters/css/cspell.vim
new file mode 100644
index 00000000..d42375b4
--- /dev/null
+++ b/ale_linters/css/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for CSS files.
+
+call ale#handlers#cspell#DefineLinter('css')
diff --git a/ale_linters/elixir/cspell.vim b/ale_linters/elixir/cspell.vim
new file mode 100644
index 00000000..12dc271f
--- /dev/null
+++ b/ale_linters/elixir/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Elixir files.
+
+call ale#handlers#cspell#DefineLinter('elixir')
diff --git a/ale_linters/go/cspell.vim b/ale_linters/go/cspell.vim
new file mode 100644
index 00000000..f986a31a
--- /dev/null
+++ b/ale_linters/go/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Go files.
+
+call ale#handlers#cspell#DefineLinter('go')
diff --git a/ale_linters/haskell/cspell.vim b/ale_linters/haskell/cspell.vim
new file mode 100644
index 00000000..b0971a9e
--- /dev/null
+++ b/ale_linters/haskell/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Haskell files.
+
+call ale#handlers#cspell#DefineLinter('haskell')
diff --git a/ale_linters/help/cspell.vim b/ale_linters/help/cspell.vim
new file mode 100644
index 00000000..92eb9501
--- /dev/null
+++ b/ale_linters/help/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for help files.
+
+call ale#handlers#cspell#DefineLinter('help')
diff --git a/ale_linters/html/cspell.vim b/ale_linters/html/cspell.vim
new file mode 100644
index 00000000..743350ea
--- /dev/null
+++ b/ale_linters/html/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for HTML files.
+
+call ale#handlers#cspell#DefineLinter('html')
diff --git a/ale_linters/java/cspell.vim b/ale_linters/java/cspell.vim
new file mode 100644
index 00000000..a6eecc0b
--- /dev/null
+++ b/ale_linters/java/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Java files.
+
+call ale#handlers#cspell#DefineLinter('java')
diff --git a/ale_linters/javascript/cspell.vim b/ale_linters/javascript/cspell.vim
new file mode 100644
index 00000000..5a496779
--- /dev/null
+++ b/ale_linters/javascript/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for JavaScript files.
+
+call ale#handlers#cspell#DefineLinter('javascript')
diff --git a/ale_linters/json/cspell.vim b/ale_linters/json/cspell.vim
new file mode 100644
index 00000000..0d7314a4
--- /dev/null
+++ b/ale_linters/json/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for JSON files.
+
+call ale#handlers#cspell#DefineLinter('json')
diff --git a/ale_linters/lua/cspell.vim b/ale_linters/lua/cspell.vim
new file mode 100644
index 00000000..215b82f8
--- /dev/null
+++ b/ale_linters/lua/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Lua files.
+
+call ale#handlers#cspell#DefineLinter('lua')
diff --git a/ale_linters/markdown/cspell.vim b/ale_linters/markdown/cspell.vim
new file mode 100644
index 00000000..45c586cc
--- /dev/null
+++ b/ale_linters/markdown/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Markdown files.
+
+call ale#handlers#cspell#DefineLinter('markdown')
diff --git a/ale_linters/php/cspell.vim b/ale_linters/php/cspell.vim
new file mode 100644
index 00000000..574df575
--- /dev/null
+++ b/ale_linters/php/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for PHP files.
+
+call ale#handlers#cspell#DefineLinter('php')
diff --git a/ale_linters/powershell/cspell.vim b/ale_linters/powershell/cspell.vim
new file mode 100644
index 00000000..4a66dbaa
--- /dev/null
+++ b/ale_linters/powershell/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for PowerShell files.
+
+call ale#handlers#cspell#DefineLinter('powershell')
diff --git a/ale_linters/python/cspell.vim b/ale_linters/python/cspell.vim
new file mode 100644
index 00000000..a2325311
--- /dev/null
+++ b/ale_linters/python/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Python files.
+
+call ale#handlers#cspell#DefineLinter('python')
diff --git a/ale_linters/rst/cspell.vim b/ale_linters/rst/cspell.vim
new file mode 100644
index 00000000..14cfb42e
--- /dev/null
+++ b/ale_linters/rst/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for ReStructuredText files.
+
+call ale#handlers#cspell#DefineLinter('rst')
diff --git a/ale_linters/ruby/cspell.vim b/ale_linters/ruby/cspell.vim
new file mode 100644
index 00000000..780356b1
--- /dev/null
+++ b/ale_linters/ruby/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Ruby files.
+
+call ale#handlers#cspell#DefineLinter('ruby')
diff --git a/ale_linters/rust/cspell.vim b/ale_linters/rust/cspell.vim
new file mode 100644
index 00000000..d2523c7d
--- /dev/null
+++ b/ale_linters/rust/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Rust files.
+
+call ale#handlers#cspell#DefineLinter('rust')
diff --git a/ale_linters/scala/cspell.vim b/ale_linters/scala/cspell.vim
new file mode 100644
index 00000000..fa09d420
--- /dev/null
+++ b/ale_linters/scala/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Scala files.
+
+call ale#handlers#cspell#DefineLinter('scala')
diff --git a/ale_linters/sh/cspell.vim b/ale_linters/sh/cspell.vim
new file mode 100644
index 00000000..e3c5a6f0
--- /dev/null
+++ b/ale_linters/sh/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for shell scripts.
+
+call ale#handlers#cspell#DefineLinter('sh')
diff --git a/ale_linters/swift/cspell.vim b/ale_linters/swift/cspell.vim
new file mode 100644
index 00000000..25451e9d
--- /dev/null
+++ b/ale_linters/swift/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Swift files.
+
+call ale#handlers#cspell#DefineLinter('swift')
diff --git a/ale_linters/tex/cspell.vim b/ale_linters/tex/cspell.vim
new file mode 100644
index 00000000..4cf2b08e
--- /dev/null
+++ b/ale_linters/tex/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for TeX files.
+
+call ale#handlers#cspell#DefineLinter('tex')
diff --git a/ale_linters/texinfo/cspell.vim b/ale_linters/texinfo/cspell.vim
new file mode 100644
index 00000000..d691b3a7
--- /dev/null
+++ b/ale_linters/texinfo/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for TeXInfo files.
+
+call ale#handlers#cspell#DefineLinter('texinfo')
diff --git a/ale_linters/text/cspell.vim b/ale_linters/text/cspell.vim
new file mode 100644
index 00000000..813ef3b8
--- /dev/null
+++ b/ale_linters/text/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for general text files.
+
+call ale#handlers#cspell#DefineLinter('text')
diff --git a/ale_linters/typescript/cspell.vim b/ale_linters/typescript/cspell.vim
new file mode 100644
index 00000000..6061b75c
--- /dev/null
+++ b/ale_linters/typescript/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for TypeScript files.
+
+call ale#handlers#cspell#DefineLinter('typescript')
diff --git a/ale_linters/vue/cspell.vim b/ale_linters/vue/cspell.vim
new file mode 100644
index 00000000..2d8bfdc3
--- /dev/null
+++ b/ale_linters/vue/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for Vue files.
+
+call ale#handlers#cspell#DefineLinter('vue')
diff --git a/ale_linters/xhtml/cspell.vim b/ale_linters/xhtml/cspell.vim
new file mode 100644
index 00000000..c465b41b
--- /dev/null
+++ b/ale_linters/xhtml/cspell.vim
@@ -0,0 +1,5 @@
+scriptencoding utf-8
+" Author: David Houston <houstdav000>
+" Description: cspell support for XHTML files.
+
+call ale#handlers#cspell#DefineLinter('xhtml')