From b9d35359bef21268240b074c0d15d57d71642249 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Mon, 24 Apr 2017 16:45:44 +0300 Subject: [PATCH] New checker julia/lint for Julia. --- README.markdown | 2 +- doc/syntastic-checkers.txt | 32 +++++++++++++++++++++ plugin/syntastic.vim | 2 +- plugin/syntastic/registry.vim | 1 + syntax_checkers/julia/lint.vim | 51 ++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 syntax_checkers/julia/lint.vim diff --git a/README.markdown b/README.markdown index 4212c95a..5c86183e 100644 --- a/README.markdown +++ b/README.markdown @@ -62,7 +62,7 @@ AppleScript, AsciiDoc, Assembly languages, BEMHTML, Bro, Bourne shell, C, C++, C#, Cabal, Chef, CoffeeScript, Coco, Coq, CSS, Cucumber, CUDA, D, Dart, DocBook, Dockerfile, Dust, Elixir, Erlang, eRuby, Fortran, Gentoo metadata, GLSL, Go, Haml, Haskell, Haxe, Handlebars, HSS, HTML, Java, JavaScript, JSON, -JSX, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown, +JSX, Julia, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown, MATLAB, Mercury, NASM, Nix, Objective-C, Objective-C++, OCaml, Perl, Perl POD, PHP, gettext Portable Object, OS X and iOS property lists, Pug (formerly Jade), Puppet, Python, QML, R, Racket, RDF TriG, RDF Turtle, Relax NG, diff --git a/doc/syntastic-checkers.txt b/doc/syntastic-checkers.txt index 7c902f9a..54975474 100644 --- a/doc/syntastic-checkers.txt +++ b/doc/syntastic-checkers.txt @@ -58,6 +58,7 @@ SYNTAX CHECKERS BY LANGUAGE *syntastic-checkers-lang* Java.....................................|syntastic-checkers-java| JavaScript...............................|syntastic-checkers-javascript| JSON.....................................|syntastic-checkers-json| + Julia....................................|syntastic-checkers-julia| LESS.....................................|syntastic-checkers-less| Lex......................................|syntastic-checkers-lex| @@ -3591,6 +3592,37 @@ Checker options~ This checker is initialised using the "makeprgBuild()" function and thus it accepts the standard options described at |syntastic-config-makeprg|. +============================================================================== +SYNTAX CHECKERS FOR JULIA *syntastic-checkers-julia* + +The following checkers are available for Julia (filetype "julia"): + + 1. lint.....................|syntastic-julia-lint| + +------------------------------------------------------------------------------ +1. lint *syntastic-julia-lint* + +Name: lint +Maintainer: LCD 47 + +This is a checker for Julia files (https://julialang.org/), using the Julia +package "Lint". See the package's documentation for more information: + + http://lintjl.readthedocs.io/ + +Installation~ + +You need to install Julia itself, and the package "Lint". You can install +"Lint" from the Julia package manager, with the command: > + Pkg.add("Lint") + +Checker Options~ + +This checker doesn't call the "makeprgBuild()" function, and thus it ignores +the usual 'g:syntastic_julia_lint_