Merge pull request #33 from prashcr/comment-headers

Add comment headers for every source file
This commit is contained in:
w0rp 2016-10-04 00:30:27 +02:00 committed by GitHub
commit e9d6f5a707
18 changed files with 51 additions and 12 deletions

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: gcc linter for c files
if exists('g:loaded_ale_linters_c_gcc') if exists('g:loaded_ale_linters_c_gcc')
finish finish
endif endif

View File

@ -1,4 +1,5 @@
" Author: prashcr - https://github.com/prashcr " Author: Prashanth Chandra https://github.com/prashcr
" Description: coffeelint linter for coffeescript files
if exists('g:loaded_ale_linters_coffee_coffeelint') if exists('g:loaded_ale_linters_coffee_coffeelint')
finish finish

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: "dmd for D files"
if exists('g:loaded_ale_linters_d_dmd') if exists('g:loaded_ale_linters_d_dmd')
finish finish
endif endif

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: gcc for Fortran files
if exists('g:loaded_ale_linters_fortran_gcc') if exists('g:loaded_ale_linters_fortran_gcc')
finish finish
endif endif

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: ghc for Haskell files
if exists('g:loaded_ale_linters_haskell_ghc') if exists('g:loaded_ale_linters_haskell_ghc')
finish finish
endif endif

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: eslint for JavaScript files
if exists('g:loaded_ale_linters_javascript_eslint') if exists('g:loaded_ale_linters_javascript_eslint')
finish finish
endif endif

View File

@ -1,4 +1,5 @@
" Author: Chris Kyrouac - https://github.com/fijshion " Author: Chris Kyrouac - https://github.com/fijshion
" Description: jscs for JavaScript files
if exists('g:loaded_ale_linters_javascript_jscs') if exists('g:loaded_ale_linters_javascript_jscs')
finish finish

View File

@ -1,4 +1,5 @@
" Author: Chris Kyrouac - https://github.com/fijshion " Author: Chris Kyrouac - https://github.com/fijshion
" Description: JSHint for Javascript files
if exists('g:loaded_ale_linters_javascript_jshint') if exists('g:loaded_ale_linters_javascript_jshint')
finish finish

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: flake8 for python files
if exists('g:loaded_ale_linters_python_flake8') if exists('g:loaded_ale_linters_python_flake8')
finish finish
endif endif

View File

@ -1,4 +1,5 @@
" Author: ynonp - https://github.com/ynonp " Author: ynonp - https://github.com/ynonp
" Description: rubocop for Ruby files
if exists('g:loaded_ale_linters_ruby_rubocop') if exists('g:loaded_ale_linters_ruby_rubocop')
finish finish

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: Lints sh files using bash -n
if exists('g:loaded_ale_linters_sh_shell') if exists('g:loaded_ale_linters_sh_shell')
finish finish
endif endif

View File

@ -1,6 +1,7 @@
#!/bin/bash -eu #!/bin/bash -eu
# This script wraps DMD so we can get something which is capable of reading # Author: w0rp <devw0rp@gmail.com>
# Description: This script wraps DMD so we can get something which is capable of reading
# D code from stdin. # D code from stdin.
temp_file=`mktemp` temp_file=`mktemp`

View File

@ -1,6 +1,6 @@
" This file sets up configuration settings for the ALE plugin. " Author: w0rp <devw0rp@gmail.com>
" Flags can be set in vimrc files and so on to disable particular features, " Description: This file sets up configuration settings for the ALE plugin.
" etc. " Flags can be set in vimrc files and so on to disable particular features
if exists('g:loaded_ale_flags') if exists('g:loaded_ale_flags')
finish finish

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: Echoes lint message for the current line, if any
if exists('g:loaded_ale_cursor') if exists('g:loaded_ale_cursor')
finish finish
endif endif

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: Draws error and warning signs into signcolumn
if exists('g:loaded_ale_sign') if exists('g:loaded_ale_sign')
finish finish
endif endif

View File

@ -1,3 +1,6 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: Contains miscellaneous functions
if exists('g:loaded_ale_util') if exists('g:loaded_ale_util')
finish finish
endif endif

View File

@ -1,3 +1,7 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: Main entry point for this plugin
" Loads linters and manages lint jobs
if exists('g:loaded_ale_zmain') if exists('g:loaded_ale_zmain')
finish finish
endif endif

View File

@ -1,12 +1,12 @@
#!/bin/bash -eu #!/bin/bash -eu
# This script implements a wrapper for any program which does not accept # Author: w0rp <devw0rp@gmail.com>
# Description: This script implements a wrapper for any program which does not accept
# stdin input on most Unix machines. The input to the script is read to a # stdin input on most Unix machines. The input to the script is read to a
# temporary file, and the first argument sets a particular file extension # temporary file, and the first argument sets a particular file extension
# for the temporary file. # for the temporary file.
#
# All of the following arguments are read as command to run.
# All of the following arguments are read as command to run.
file_extension="$1" file_extension="$1"
shift shift