Nimbin[12]?Mirrors & Forks / syntastic / commits / dd226673

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Remove checker julia/lint.

LCD 47 · 2020-09-27 18:09 · dd226673063b189683b98133d7a2243c1316e71e

 README.markdown                | 15 ++++++++++---
 doc/syntastic-checkers.txt     | 39 --------------------------------
 plugin/syntastic.vim           |  2 +-
 plugin/syntastic/registry.vim  |  1 -
 syntax_checkers/julia/lint.vim | 51 ------------------------------------------
 5 files changed, 13 insertions(+), 95 deletions(-)

diff --git a/README.markdown b/README.markdown
index 36e0c1a8..903b8279 100644
--- a/README.markdown
+++ b/README.markdown
@@ -42,6 +42,7 @@
 4.15. [What happened to the `tsc` checker?](#faqtsc)  
 4.16. [What happened to the `xcrun` checker?](#faqxcrun)  
 4.17. [What happened to the `valac` checker?](#faqvalac)  
+4.18. [What happened to the Julia `lint` checker?](#faqjulialint)  
 5. [Resources](#otherresources)  
 
 - - -
@@ -63,13 +64,13 @@ AppleScript, AsciiDoc, Assembly languages, BEMHTML, Bro, Bourne shell, C, C++,
 C#, Cabal, Chef, CMake, 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, Julia, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown,
+JSX, LESS, Lex, Limbo, LISP, LLVM intermediate language, Lua, Markdown,
 MATLAB, Mercury, NASM, Nix, Objective-C, Objective-C++, OCaml, Perl, Perl
 6, 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, reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Solidity,
-Sphinx, SQL, Stylus, Tcl, TeX, Texinfo, Twig, TypeScript, Verilog, VHDL,
-Vim help, VimL, Vue.js, xHtml, XML, XSLT, XQuery, YACC, YAML, YANG data models,
+Sphinx, SQL, Stylus, Tcl, TeX, Texinfo, Twig, TypeScript, Verilog, VHDL, Vim
+help, VimL, Vue.js, xHtml, XML, XSLT, XQuery, YACC, YAML, YANG data models,
 YARA rules, z80, Zope page templates, and Zsh. See the [manual][checkers] for
 details about the corresponding supported checkers (`:help syntastic-checkers`
 in Vim).
@@ -495,6 +496,13 @@ __4.17. Q. What happened to the `valac` checker?__
 A. It is now part of the [vala.vim][vala] plugin. If you install this plugin the
 checker should be picked up automatically by syntastic.
 
+<a name="julialint"></a>
+
+__4.18. Q. What happened to the Julia `lint` checker?__
+
+A. It was removed, since the `Lint.jl` package [has been deprecated][julialint]
+and no longer works with recent Julia versions.
+
 <a name="otherresources"></a>
 
 ## 5\. Resources
@@ -522,6 +530,7 @@ a look at [ghcmod-vim][ghcmod], [jedi-vim][jedi], [python-mode][python_mode], [v
 [google_group]:     https://groups.google.com/group/vim-syntastic
 [guide]:            https://github.com/vim-syntastic/syntastic/wiki/Syntax-Checker-Guide
 [jedi]:             https://github.com/davidhalter/jedi-vim
+[julialint]:        https://github.com/tonyhffong/Lint.jl/issues/269
 [merlin]:           https://github.com/the-lambda-church/merlin
 [myint]:            https://github.com/myint/syntastic-extras
 [neobundle]:        https://github.com/Shougo/neobundle.vim
diff --git a/doc/syntastic-checkers.txt b/doc/syntastic-checkers.txt
index f6a17920..fcf0e335 100644
--- a/doc/syntastic-checkers.txt
+++ b/doc/syntastic-checkers.txt
@@ -59,7 +59,6 @@ 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|
@@ -3881,44 +3880,6 @@ 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 <lcd047@gmail.com>
-
-This is a linter 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_<option>' variables. The only exception is
-'g:syntastic_julia_lint_exec', which can still be used to override the "julia"
-executable.
-
-Note~
-
-You probably also need a plugin to set |filetype| for Julia files, such as
-"julia-vim":
-
-    https://github.com/JuliaEditorSupport/julia-vim
-
 ==============================================================================
 SYNTAX CHECKERS FOR LESS                             *syntastic-checkers-less*
 
diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim
index 28bd52d9..e8eba24e 100644
--- a/plugin/syntastic.vim
+++ b/plugin/syntastic.vim
@@ -19,7 +19,7 @@ if has('reltime')
     lockvar! g:_SYNTASTIC_START
 endif
 
-let g:_SYNTASTIC_VERSION = '3.10.0-17'
+let g:_SYNTASTIC_VERSION = '3.10.0-19'
 lockvar g:_SYNTASTIC_VERSION
 
 " Sanity checks {{{1
diff --git a/plugin/syntastic/registry.vim b/plugin/syntastic/registry.vim
index 72aaff61..b1bda27a 100644
--- a/plugin/syntastic/registry.vim
+++ b/plugin/syntastic/registry.vim
@@ -51,7 +51,6 @@ let s:_DEFAULT_CHECKERS = {
         \ 'java':          ['javac'],
         \ 'javascript':    ['jshint', 'jslint'],
         \ 'json':          ['jsonlint', 'jsonval'],
-        \ 'julia':         [],
         \ 'less':          ['lessc'],
         \ 'lex':           ['flex'],
         \ 'limbo':         ['limbo'],
diff --git a/syntax_checkers/julia/lint.vim b/syntax_checkers/julia/lint.vim
deleted file mode 100644
index bf660d0f..00000000
--- a/syntax_checkers/julia/lint.vim
+++ /dev/null
@@ -1,51 +0,0 @@
-"============================================================================
-"File:        lint.vim
-"Description: Syntax checking plugin for syntastic
-"Maintainer:  LCD 47 <lcd047 at gmail dot com>
-"License:     This program is free software. It comes without any warranty,
-"             to the extent permitted by applicable law. You can redistribute
-"             it and/or modify it under the terms of the Do What The Fuck You
-"             Want To Public License, Version 2, as published by Sam Hocevar.
-"             See http://sam.zoy.org/wtfpl/COPYING for more details.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_julia_lint_checker')
-    finish
-endif
-let g:loaded_syntastic_julia_lint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_julia_lint_GetHighlightRegex(item)
-    let term = matchstr(a:item['text'], '\m^\S\+\ze:')
-    return term !=# '' ? '\V' . escape(term, '\') : ''
-endfunction
-
-function! SyntaxCheckers_julia_lint_IsAvailable() dict
-    return
-        \ executable(self.getExec()) &&
-        \ syntastic#util#system(self.getExecEscaped() . ' -e ' . syntastic#util#shescape('import Lint')) ==# '' &&
-        \ v:shell_error == 0
-endfunction
-
-function! SyntaxCheckers_julia_lint_GetLocList() dict
-    let buf = bufnr('')
-
-    let makeprg = self.getExecEscaped() . ' -e ' . syntastic#util#shescape('using Lint; display(filter(err -> !isinfo(err), lintfile("' . escape(bufname(buf), '\"') . '")))')
-
-    let errorformat = '%f:%l %t%n %m'
-
-    return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
-    \ 'filetype': 'julia',
-    \ 'name': 'lint',
-    \ 'exec': 'julia' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker: