Updated plugins
This commit is contained in:
parent
795a8fb80d
commit
e81e42ec4d
214 changed files with 5916 additions and 1107 deletions
89
sources_non_forked/ack.vim/LICENSE
Normal file
89
sources_non_forked/ack.vim/LICENSE
Normal file
|
@ -0,0 +1,89 @@
|
|||
ack.vim is distributed under the same license terms as Vim itself, which you
|
||||
can find in full with `:help license` within Vim, or copied in full herein.
|
||||
|
||||
Copyright (c) 2007-2015 Antoine Imbert <antoine.imbert+ackvim@gmail.com>
|
||||
and contributors.
|
||||
|
||||
Maintainers may be contacted via GitHub Issues at:
|
||||
|
||||
https://github.com/mileszs/ack.vim/issues
|
||||
|
||||
|
||||
VIM LICENSE
|
||||
|
||||
I) There are no restrictions on distributing unmodified copies of Vim except
|
||||
that they must include this license text. You can also distribute
|
||||
unmodified parts of Vim, likewise unrestricted except that they must
|
||||
include this license text. You are also allowed to include executables
|
||||
that you made from the unmodified Vim sources, plus your own usage
|
||||
examples and Vim scripts.
|
||||
|
||||
II) It is allowed to distribute a modified (or extended) version of Vim,
|
||||
including executables and/or source code, when the following four
|
||||
conditions are met:
|
||||
1) This license text must be included unmodified.
|
||||
2) The modified Vim must be distributed in one of the following five ways:
|
||||
a) If you make changes to Vim yourself, you must clearly describe in
|
||||
the distribution how to contact you. When the maintainer asks you
|
||||
(in any way) for a copy of the modified Vim you distributed, you
|
||||
must make your changes, including source code, available to the
|
||||
maintainer without fee. The maintainer reserves the right to
|
||||
include your changes in the official version of Vim. What the
|
||||
maintainer will do with your changes and under what license they
|
||||
will be distributed is negotiable. If there has been no negotiation
|
||||
then this license, or a later version, also applies to your changes.
|
||||
The current maintainer is Bram Moolenaar <Bram@vim.org>. If this
|
||||
changes it will be announced in appropriate places (most likely
|
||||
vim.sf.net, www.vim.org and/or comp.editors). When it is completely
|
||||
impossible to contact the maintainer, the obligation to send him
|
||||
your changes ceases. Once the maintainer has confirmed that he has
|
||||
received your changes they will not have to be sent again.
|
||||
b) If you have received a modified Vim that was distributed as
|
||||
mentioned under a) you are allowed to further distribute it
|
||||
unmodified, as mentioned at I). If you make additional changes the
|
||||
text under a) applies to those changes.
|
||||
c) Provide all the changes, including source code, with every copy of
|
||||
the modified Vim you distribute. This may be done in the form of a
|
||||
context diff. You can choose what license to use for new code you
|
||||
add. The changes and their license must not restrict others from
|
||||
making their own changes to the official version of Vim.
|
||||
d) When you have a modified Vim which includes changes as mentioned
|
||||
under c), you can distribute it without the source code for the
|
||||
changes if the following three conditions are met:
|
||||
- The license that applies to the changes permits you to distribute
|
||||
the changes to the Vim maintainer without fee or restriction, and
|
||||
permits the Vim maintainer to include the changes in the official
|
||||
version of Vim without fee or restriction.
|
||||
- You keep the changes for at least three years after last
|
||||
distributing the corresponding modified Vim. When the maintainer
|
||||
or someone who you distributed the modified Vim to asks you (in
|
||||
any way) for the changes within this period, you must make them
|
||||
available to him.
|
||||
- You clearly describe in the distribution how to contact you. This
|
||||
contact information must remain valid for at least three years
|
||||
after last distributing the corresponding modified Vim, or as long
|
||||
as possible.
|
||||
e) When the GNU General Public License (GPL) applies to the changes,
|
||||
you can distribute the modified Vim under the GNU GPL version 2 or
|
||||
any later version.
|
||||
3) A message must be added, at least in the output of the ":version"
|
||||
command and in the intro screen, such that the user of the modified Vim
|
||||
is able to see that it was modified. When distributing as mentioned
|
||||
under 2)e) adding the message is only required for as far as this does
|
||||
not conflict with the license used for the changes.
|
||||
4) The contact information as required under 2)a) and 2)d) must not be
|
||||
removed or changed, except that the person himself can make
|
||||
corrections.
|
||||
|
||||
III) If you distribute a modified version of Vim, you are encouraged to use
|
||||
the Vim license for your changes and make them available to the
|
||||
maintainer, including the source code. The preferred way to do this is
|
||||
by e-mail or by uploading the files to a server and e-mailing the URL.
|
||||
If the number of changes is small (e.g., a modified Makefile) e-mailing a
|
||||
context diff will do. The e-mail address to be used is
|
||||
<maintainer@vim.org>
|
||||
|
||||
IV) It is not allowed to remove this license from the distribution of the Vim
|
||||
sources, parts of it or from a modified version. You may use this
|
||||
license for previous Vim releases instead of the license that they came
|
||||
with, at your option.
|
|
@ -129,15 +129,6 @@ optional background search execution with [vim-dispatch], and auto-previewing.
|
|||
|
||||
Please see [the Github releases page][releases].
|
||||
|
||||
### 1.0.9 (unreleased)
|
||||
|
||||
* Fix location list and layout of quickfix when using Dispatch (#154)
|
||||
* Fix the quick help overlay clobbering the list mappings
|
||||
* Fix `:AckFile` when using Dispatch
|
||||
* Restore original `'makeprg'` and `'errorformat'` when using Dispatch
|
||||
* Arrow keys also work for auto-preview (#158)
|
||||
* Internal refactoring and clean-up
|
||||
|
||||
## Credits
|
||||
|
||||
This plugin is derived from Antoine Imbert's blog post [Ack and Vim
|
||||
|
|
|
@ -67,6 +67,9 @@ In the quickfix window, you can use:
|
|||
gv to open in vertical split silently
|
||||
q to close the quickfix window
|
||||
|
||||
### Related Plugin ###
|
||||
[vim-ag-anything](https://github.com/Chun-Yang/vim-ag-anything) adds an 'ga' action to search any text object.
|
||||
|
||||
### Acknowledgements ###
|
||||
|
||||
This Vim plugin is derived (and by derived, I mean copied, almost entirely)
|
||||
|
|
|
@ -33,7 +33,7 @@ function! s:get_color(group, attr)
|
|||
endfunction
|
||||
|
||||
function! s:set_color(group, attr, color)
|
||||
let gui = has('gui_running')
|
||||
let gui = a:color =~ '^#'
|
||||
execute printf("hi %s %s%s=%s", a:group, gui ? 'gui' : 'cterm', a:attr, a:color)
|
||||
endfunction
|
||||
|
||||
|
@ -106,7 +106,7 @@ function! s:resize_pads()
|
|||
endfunction
|
||||
|
||||
function! s:tranquilize()
|
||||
let bg = s:get_color('Normal', 'bg')
|
||||
let bg = s:get_color('Normal', 'bg#')
|
||||
for grp in ['NonText', 'FoldColumn', 'ColorColumn', 'VertSplit',
|
||||
\ 'StatusLine', 'StatusLineNC', 'SignColumn']
|
||||
" -1 on Vim / '' on GVim
|
||||
|
|
|
@ -54,17 +54,17 @@ compile their code or execute their script to find them.
|
|||
|
||||
At the time of this writing, syntastic has checking plugins for ActionScript,
|
||||
Ada, Ansible configurations, API Blueprint, AppleScript, AsciiDoc, ASM,
|
||||
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, Jade, Java, JavaScript, JSON, JSX, 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, Puppet, Python, QML, R, Racket, Relax NG, reStructuredText,
|
||||
RPM spec, Ruby, SASS/SCSS, Scala, Slim, SML, Sphinx, SQL, Stylus, Tcl, TeX,
|
||||
Texinfo, Twig, TypeScript, Vala, Verilog, VHDL, VimL, xHtml, XML, XSLT, XQuery,
|
||||
YACC, YAML, z80, Zope page templates, and zsh. See the [wiki][3] for details
|
||||
about the corresponding supported checkers.
|
||||
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, 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, Relax NG, reStructuredText, RPM spec, Ruby, SASS/SCSS, Scala, Slim,
|
||||
SML, Sphinx, SQL, Stylus, Tcl, TeX, Texinfo, Twig, TypeScript, Vala, Verilog,
|
||||
VHDL, VimL, xHtml, XML, XSLT, XQuery, YACC, YAML, z80, Zope page templates, and
|
||||
zsh. See the [wiki][3] for details about the corresponding supported checkers.
|
||||
|
||||
A number of third-party Vim plugins also provide checkers for syntastic,
|
||||
for example: [merlin][30], [omnisharp-vim][25], [rust.vim][12],
|
||||
|
|
|
@ -173,10 +173,17 @@ endfunction " }}}2
|
|||
|
||||
" Utilities {{{1
|
||||
|
||||
function! s:_log_timestamp() abort " {{{2
|
||||
function! s:_log_timestamp_smart() abort " {{{2
|
||||
return printf('syntastic: %f: ', reltimefloat(reltime(g:_SYNTASTIC_START)))
|
||||
endfunction " }}}2
|
||||
|
||||
function! s:_log_timestamp_dumb() abort " {{{2
|
||||
return 'syntastic: ' . split(reltimestr(reltime(g:_SYNTASTIC_START)))[0] . ': '
|
||||
endfunction " }}}2
|
||||
|
||||
let s:_log_timestamp = function(has('float') && exists('*reltimefloat') ? 's:_log_timestamp_smart' : 's:_log_timestamp_dumb')
|
||||
lockvar s:_log_timestamp
|
||||
|
||||
function! s:_format_variable(name) abort " {{{2
|
||||
let vals = []
|
||||
if exists('g:syntastic_' . a:name)
|
||||
|
|
|
@ -284,6 +284,42 @@ function! syntastic#preprocess#rparse(errors) abort " {{{2
|
|||
return out
|
||||
endfunction " }}}2
|
||||
|
||||
function! syntastic#preprocess#scss_lint(errors) abort " {{{2
|
||||
let errs = join(a:errors, '')
|
||||
if errs ==# ''
|
||||
return []
|
||||
endif
|
||||
|
||||
let json = s:_decode_JSON(errs)
|
||||
|
||||
let out = []
|
||||
if type(json) == type({})
|
||||
for fname in keys(json)
|
||||
if type(json[fname]) == type([])
|
||||
for e in json[fname]
|
||||
try
|
||||
cal add(out, fname . ':' .
|
||||
\ e['severity'][0] . ':' .
|
||||
\ e['line'] . ':' .
|
||||
\ e['column'] . ':' .
|
||||
\ e['length'] . ':' .
|
||||
\ ( has_key(e, 'linter') ? e['linter'] . ': ' : '' ) .
|
||||
\ e['reason'])
|
||||
catch /\m^Vim\%((\a\+)\)\=:E716/
|
||||
call syntastic#log#warn('checker scss/scss_lint: unrecognized error item ' . string(e))
|
||||
let out = []
|
||||
endtry
|
||||
endfor
|
||||
else
|
||||
call syntastic#log#warn('checker scss/scss_lint: unrecognized error format')
|
||||
endif
|
||||
endfor
|
||||
else
|
||||
call syntastic#log#warn('checker scss/scss_lint: unrecognized error format')
|
||||
endif
|
||||
return out
|
||||
endfunction " }}}2
|
||||
|
||||
function! syntastic#preprocess#stylelint(errors) abort " {{{2
|
||||
let out = []
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ endfunction " }}}2
|
|||
function! syntastic#util#tmpdir() abort " {{{2
|
||||
let tempdir = ''
|
||||
|
||||
if (has('unix') || has('mac')) && executable('mktemp')
|
||||
if (has('unix') || has('mac')) && executable('mktemp') && !has('win32unix')
|
||||
" TODO: option "-t" to mktemp(1) is not portable
|
||||
let tmp = $TMPDIR !=# '' ? $TMPDIR : $TMP !=# '' ? $TMP : '/tmp'
|
||||
let out = split(syntastic#util#system('mktemp -q -d ' . tmp . '/vim-syntastic-' . getpid() . '-XXXXXXXX'), "\n")
|
||||
|
@ -90,18 +90,7 @@ function! syntastic#util#rmrf(what) abort " {{{2
|
|||
endif
|
||||
|
||||
if getftype(a:what) ==# 'dir'
|
||||
if !exists('s:rmrf')
|
||||
let s:rmrf =
|
||||
\ has('unix') || has('mac') ? 'rm -rf' :
|
||||
\ has('win32') || has('win64') ? 'rmdir /S /Q' :
|
||||
\ has('win16') || has('win95') || has('dos16') || has('dos32') ? 'deltree /Y' : ''
|
||||
endif
|
||||
|
||||
if s:rmrf !=# ''
|
||||
silent! call syntastic#util#system(s:rmrf . ' ' . syntastic#util#shescape(a:what))
|
||||
else
|
||||
call s:_rmrf(a:what)
|
||||
endif
|
||||
call s:_delete(a:what, 'rf')
|
||||
else
|
||||
silent! call delete(a:what)
|
||||
endif
|
||||
|
@ -274,8 +263,9 @@ function! syntastic#util#unique(list) abort " {{{2
|
|||
let seen = {}
|
||||
let uniques = []
|
||||
for e in a:list
|
||||
if !has_key(seen, e)
|
||||
let seen[e] = 1
|
||||
let k = string(e)
|
||||
if !has_key(seen, k)
|
||||
let seen[k] = 1
|
||||
call add(uniques, e)
|
||||
endif
|
||||
endfor
|
||||
|
@ -478,6 +468,27 @@ function! s:_translateElement(key, term) abort " {{{2
|
|||
return ret
|
||||
endfunction " }}}2
|
||||
|
||||
" @vimlint(EVL103, 1, a:flags)
|
||||
function! s:_delete_dumb(what, flags) abort " {{{2
|
||||
if !exists('s:rmrf')
|
||||
let s:rmrf =
|
||||
\ has('unix') || has('mac') ? 'rm -rf' :
|
||||
\ has('win32') || has('win64') ? 'rmdir /S /Q' :
|
||||
\ has('win16') || has('win95') || has('dos16') || has('dos32') ? 'deltree /Y' : ''
|
||||
endif
|
||||
|
||||
if s:rmrf !=# ''
|
||||
silent! call syntastic#util#system(s:rmrf . ' ' . syntastic#util#shescape(a:what))
|
||||
else
|
||||
call s:_rmrf(a:what)
|
||||
endif
|
||||
endfunction " }}}2
|
||||
" @vimlint(EVL103, 0, a:flags)
|
||||
|
||||
" delete(dir, 'rf') was added in Vim 7.4.1107, but it didn't become usable until 7.4.1128
|
||||
let s:_delete = function(v:version > 704 || (v:version == 704 && has('patch1128')) ? 'delete' : 's:_delete_dumb')
|
||||
lockvar s:_delete
|
||||
|
||||
function! s:_rmrf(what) abort " {{{2
|
||||
if !exists('s:rmdir')
|
||||
let s:rmdir = syntastic#util#shescape(get(g:, 'netrw_localrmdir', 'rmdir'))
|
||||
|
|
|
@ -36,6 +36,7 @@ CONTENTS *syntastic-contents*
|
|||
5.2.Choosing the executable................|syntastic-config-exec|
|
||||
5.3.Configuring specific checkers..........|syntastic-config-makeprg|
|
||||
5.4.Sorting errors.........................|syntastic-config-sort|
|
||||
5.5.Debugging..............................|syntastic-config-debug|
|
||||
6.Notes........................................|syntastic-notes|
|
||||
6.1.Handling of composite filetypes........|syntastic-composite|
|
||||
6.2.Editing files over network.............|syntastic-netrw|
|
||||
|
@ -158,6 +159,11 @@ Something like this could be more useful: >
|
|||
When syntax errors are detected a flag will be shown. The content of the flag
|
||||
is derived from the |syntastic_stl_format| option.
|
||||
|
||||
Please note that these settings might conflict with other Vim plugins that
|
||||
change the way statusline works. Refer to these plugins' documentation for
|
||||
possible solutions. See also |syntastic-powerline| below if you're using the
|
||||
"powerline" Vim plugin (https://github.com/powerline/powerline).
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
2.2. Error signs *syntastic-error-signs*
|
||||
|
||||
|
@ -541,10 +547,10 @@ overriding filters, cf. |filter-overrides|).
|
|||
|
||||
"level" - takes one of two values, "warnings" or "errors"
|
||||
"type" - can be either "syntax" or "style"
|
||||
"regex" - is matched against the messages' text as a case-insensitive
|
||||
|regular-expression|
|
||||
"file" - is matched against the filenames the messages refer to, as a
|
||||
case-sensitive |regular-expression|.
|
||||
"regex" - each item in list is matched against the messages' text as a
|
||||
case-insensitive |regular-expression|
|
||||
"file" - each item in list is matched against the filenames the messages
|
||||
refer to, as a case-sensitive |regular-expression|.
|
||||
|
||||
If a key is prefixed by an exclamation mark "!", the corresponding filter is
|
||||
negated (i.e. the above example silences all messages that are NOT errors).
|
||||
|
@ -814,6 +820,25 @@ defined.
|
|||
For aggregated lists (see |syntastic-aggregating-errors|) these variables are
|
||||
ignored if |'syntastic_sort_aggregated_errors'| is set (which is the default).
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
5.5 Debugging *syntastic-config-debug*
|
||||
|
||||
Syntastic can log a trace of its working to Vim's |message-history|. To verify
|
||||
the command line constructed by syntastic to run a checker, set the variable
|
||||
|'syntastic_debug'| to a non-zero value, run the checker, then run |:mes| to
|
||||
display the messages, and look for "makeprg" in the output.
|
||||
|
||||
From a user's perspective, the useful values for |'syntastic_debug'| are 1, 3,
|
||||
and 33:
|
||||
|
||||
1 - logs syntastic's workflow
|
||||
3 - logs workflow, checker's output, and |location-list| manipulations
|
||||
33 - logs workflow and checker-specific details (such as version checks).
|
||||
|
||||
Debug logs can be saved to a file; see |'syntastic_debug_file'| for details.
|
||||
|
||||
Setting |'syntastic_debug'| to 0 turns off logging.
|
||||
|
||||
==============================================================================
|
||||
6. Notes *syntastic-notes*
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ if has('reltime')
|
|||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.7.0-69'
|
||||
let g:_SYNTASTIC_VERSION = '3.7.0-88'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
|
|
@ -40,7 +40,7 @@ let s:_DEFAULT_CHECKERS = {
|
|||
\ 'go': ['go'],
|
||||
\ 'haml': ['haml'],
|
||||
\ 'handlebars': ['handlebars'],
|
||||
\ 'haskell': ['ghc_mod', 'hdevtools', 'hlint'],
|
||||
\ 'haskell': ['hdevtools', 'hlint'],
|
||||
\ 'haxe': ['haxe'],
|
||||
\ 'hss': ['hss'],
|
||||
\ 'html': ['tidy'],
|
||||
|
@ -68,6 +68,7 @@ let s:_DEFAULT_CHECKERS = {
|
|||
\ 'po': ['msgfmt'],
|
||||
\ 'pod': ['podchecker'],
|
||||
\ 'puppet': ['puppet', 'puppetlint'],
|
||||
\ 'pug': ['pug_lint'],
|
||||
\ 'python': ['python', 'flake8', 'pylint'],
|
||||
\ 'qml': ['qmllint'],
|
||||
\ 'r': [],
|
||||
|
|
|
@ -22,14 +22,14 @@ function! SyntaxCheckers_asciidoc_asciidoc_GetLocList() dict
|
|||
let makeprg = self.makeprgBuild({ 'args_after': syntastic#c#NullOutput() })
|
||||
|
||||
let errorformat =
|
||||
\ '%Easciidoc: %tRROR: %f: line %l: %m,' .
|
||||
\ '%Easciidoc: %tRROR: %f: %m,' .
|
||||
\ '%Easciidoc: FAILED: %f: line %l: %m,' .
|
||||
\ '%Easciidoc: FAILED: %f: %m,' .
|
||||
\ '%Wasciidoc: %tARNING: %f: line %l: %m,' .
|
||||
\ '%Wasciidoc: %tARNING: %f: %m,' .
|
||||
\ '%Wasciidoc: DEPRECATED: %f: line %l: %m,' .
|
||||
\ '%Wasciidoc: DEPRECATED: %f: %m'
|
||||
\ '%E%\w%\+: %tRROR: %f: line %l: %m,' .
|
||||
\ '%E%\w%\+: %tRROR: %f: %m,' .
|
||||
\ '%E%\w%\+: FAILED: %f: line %l: %m,' .
|
||||
\ '%E%\w%\+: FAILED: %f: %m,' .
|
||||
\ '%W%\w%\+: %tARNING: %f: line %l: %m,' .
|
||||
\ '%W%\w%\+: %tARNING: %f: %m,' .
|
||||
\ '%W%\w%\+: DEPRECATED: %f: line %l: %m,' .
|
||||
\ '%W%\w%\+: DEPRECATED: %f: %m'
|
||||
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"============================================================================
|
||||
|
||||
if exists('g:loaded_syntastic_c_clang_check_checker')
|
||||
finish
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_c_clang_check_checker = 1
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"============================================================================
|
||||
|
||||
if exists('g:loaded_syntastic_c_clang_tidy_checker')
|
||||
finish
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_c_clang_tidy_checker = 1
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@ function! SyntaxCheckers_chef_foodcritic_GetLocList() dict
|
|||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
\ 'filetype': 'chef',
|
||||
\ 'name': 'foodcritic'})
|
||||
\ 'filetype': 'chef',
|
||||
\ 'name': 'foodcritic'})
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"============================================================================
|
||||
|
||||
if exists('g:loaded_syntastic_cpp_clang_check_checker')
|
||||
finish
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_cpp_clang_check_checker = 1
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"============================================================================
|
||||
|
||||
if exists('g:loaded_syntastic_cpp_clang_tidy_checker')
|
||||
finish
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_cpp_clang_tidy_checker = 1
|
||||
|
||||
|
|
|
@ -19,8 +19,12 @@ let g:loaded_syntastic_css_stylelint_checker = 1
|
|||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
let s:args_after = {
|
||||
\ 'css': '-f json',
|
||||
\ 'scss': '-f json -s scss' }
|
||||
|
||||
function! SyntaxCheckers_css_stylelint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-f json' })
|
||||
let makeprg = self.makeprgBuild({ 'args_after': get(s:args_after, self.getFiletype(), '') })
|
||||
|
||||
let errorformat = '%t:%f:%l:%c:%m'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
"============================================================================
|
||||
"File: jade_lint.vim
|
||||
"Description: Syntax checking plugin for syntastic.vim
|
||||
"Maintainer: Ben Parnell <benjaminparnell.94@gmail.com>
|
||||
"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
|
||||
|
@ -15,26 +15,10 @@ if exists('g:loaded_syntastic_jade_jade_lint_checker')
|
|||
endif
|
||||
let g:loaded_syntastic_jade_jade_lint_checker = 1
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_jade_jade_lint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-r inline' })
|
||||
|
||||
let errorformat = '%f:%l:%c %m'
|
||||
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'returns': [0, 2] })
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
\ 'filetype': 'jade',
|
||||
\ 'name': 'jade_lint',
|
||||
\ 'exec': 'jade-lint' })
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
\ 'exec': 'jade-lint',
|
||||
\ 'redirect': 'pug/pug_lint'})
|
||||
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
||||
|
|
|
@ -34,7 +34,7 @@ function! SyntaxCheckers_javascript_flow_GetLocList() dict
|
|||
endif
|
||||
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'exe': self.getExecEscaped() . ' status',
|
||||
\ 'exe': self.getExecEscaped() . ' check',
|
||||
\ 'args_after': '--show-all-errors --json' })
|
||||
|
||||
let errorformat =
|
||||
|
|
|
@ -29,7 +29,8 @@ function! SyntaxCheckers_javascript_jscs_IsAvailable() dict
|
|||
endfunction
|
||||
|
||||
function! SyntaxCheckers_javascript_jscs_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '--no-colors --reporter json' })
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args_after': '--no-colors --max-errors -1 --reporter json' })
|
||||
|
||||
let errorformat = '%f:%l:%c:%m'
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ function! SyntaxCheckers_markdown_mdl_GetLocList() dict
|
|||
let makeprg = self.makeprgBuild({ 'args': '--warnings' })
|
||||
|
||||
let errorformat =
|
||||
\ '%E%f:%l: %m,'.
|
||||
\ '%E%f:%\s%\=%l: %m,'.
|
||||
\ '%W%f: Kramdown Warning: %m found on line %l'
|
||||
|
||||
return SyntasticMake({
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
"============================================================================
|
||||
"File: pug_lint.vim
|
||||
"Description: Syntax checking plugin for syntastic.vim
|
||||
"Maintainer: Ben Parnell <benjaminparnell.94@gmail.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_pug_pug_lint_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_pug_pug_lint_checker = 1
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_pug_pug_lint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-r inline' })
|
||||
|
||||
let errorformat = '%f:%l:%c %m'
|
||||
|
||||
return SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'returns': [0, 2] })
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
\ 'filetype': 'pug',
|
||||
\ 'name': 'pug_lint',
|
||||
\ 'exec': 'pug-lint' })
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
|
@ -29,10 +29,8 @@ function! SyntaxCheckers_rst_rst2pseudoxml_GetLocList() dict
|
|||
\ 'tail': syntastic#util#DevNull() })
|
||||
|
||||
let errorformat =
|
||||
\ '%f:%l: (%tNFO/1) %m,'.
|
||||
\ '%f:%l: (%tARNING/2) %m,'.
|
||||
\ '%f:%l: (%tRROR/3) %m,'.
|
||||
\ '%f:%l: (%tEVERE/4) %m,'.
|
||||
\ '%f:%l: (%t%\w%\+/%\d%\+) %m,'.
|
||||
\ '%f:: (%t%\w%\+/%\d%\+) %m,'.
|
||||
\ '%-G%.%#'
|
||||
|
||||
let loclist = SyntasticMake({
|
||||
|
@ -40,11 +38,11 @@ function! SyntaxCheckers_rst_rst2pseudoxml_GetLocList() dict
|
|||
\ 'errorformat': errorformat })
|
||||
|
||||
for e in loclist
|
||||
if e['type'] ==? 'S'
|
||||
let e['type'] = 'E'
|
||||
elseif e['type'] ==? 'I'
|
||||
if e['type'] ==? 'I'
|
||||
let e['type'] = 'W'
|
||||
let e['subtype'] = 'Style'
|
||||
else
|
||||
let e['type'] = 'E'
|
||||
endif
|
||||
endfor
|
||||
|
||||
|
|
|
@ -21,21 +21,28 @@ function! SyntaxCheckers_scss_scss_lint_IsAvailable() dict
|
|||
if !executable(self.getExec())
|
||||
return 0
|
||||
endif
|
||||
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 12])
|
||||
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 29])
|
||||
endfunction
|
||||
|
||||
function! SyntaxCheckers_scss_scss_lint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({})
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-f JSON' })
|
||||
|
||||
let errorformat = '%f:%l [%t] %m'
|
||||
let errorformat = '%f:%t:%l:%c:%n:%m'
|
||||
|
||||
let loclist = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'preprocess': 'scss_lint',
|
||||
\ 'postprocess': ['guards'],
|
||||
\ 'returns': [0, 1, 2, 65, 66] })
|
||||
|
||||
let cutoff = strlen('Syntax Error: ')
|
||||
for e in loclist
|
||||
if e['nr'] > 1
|
||||
let e['hl'] = '\%>' . (e['col'] - 1) . 'c\%<' . (e['col'] + e['nr']) . 'c'
|
||||
endif
|
||||
let e['nr'] = 0
|
||||
|
||||
if e['text'][: cutoff-1] ==# 'Syntax Error: '
|
||||
let e['text'] = e['text'][cutoff :]
|
||||
else
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
"============================================================================
|
||||
"File: stylelint.vim
|
||||
"Description: Syntax checking plugin for syntastic.vim
|
||||
"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_scss_stylelint_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_scss_stylelint_checker = 1
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
\ 'filetype': 'scss',
|
||||
\ 'name': 'stylelint',
|
||||
\ 'redirect': 'css/stylelint'})
|
||||
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
|
@ -0,0 +1,52 @@
|
|||
"============================================================================
|
||||
"File: yamllint.vim
|
||||
"Description: YAML files linting for syntastic.vim
|
||||
"Maintainer: Adrien Vergé
|
||||
"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_yaml_yamllint_checker')
|
||||
finish
|
||||
endif
|
||||
let g:loaded_syntastic_yaml_yamllint_checker = 1
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_yaml_yamllint_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-f parsable' })
|
||||
|
||||
let errorformat =
|
||||
\ '%f:%l:%c: [%trror] %m,' .
|
||||
\ '%f:%l:%c: [%tarning] %m'
|
||||
|
||||
let env = syntastic#util#isRunningWindows() ? {} : { 'TERM': 'dumb' }
|
||||
|
||||
let loclist = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'env': env,
|
||||
\ 'returns': [0, 1] })
|
||||
|
||||
for e in loclist
|
||||
if e['type'] ==? 'W'
|
||||
let e['subtype'] = 'Style'
|
||||
endif
|
||||
endfor
|
||||
|
||||
return loclist
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
\ 'filetype': 'yaml',
|
||||
\ 'name': 'yamllint' })
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
||||
" vim: set sw=4 sts=4 et fdm=marker:
|
21
sources_non_forked/vim-airline-themes/LICENSE
Normal file
21
sources_non_forked/vim-airline-themes/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 2013-2016 Bailey Ling & Contributors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
|
||||
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
51
sources_non_forked/vim-airline-themes/README.md
Normal file
51
sources_non_forked/vim-airline-themes/README.md
Normal file
|
@ -0,0 +1,51 @@
|
|||
# vim-airline-themes
|
||||
|
||||
This is the official theme repository for [vim-airline](https://github.com/vim-airline/vim-airline).
|
||||
|
||||
# Installation
|
||||
|
||||
This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:
|
||||
|
||||
* [Pathogen][4]
|
||||
* `git clone https://github.com/vim-airline/vim-airline-themes ~/.vim/bundle/vim-airline-themes`
|
||||
* Remember to run `:Helptags` to generate help tags
|
||||
* [NeoBundle][5]
|
||||
* `NeoBundle 'vim-airline/vim-airline-themes'`
|
||||
* [Vundle][6]
|
||||
* `Plugin 'vim-airline/vim-airline-themes'`
|
||||
* [Plug][7]
|
||||
* `Plug 'vim-airline/vim-airline-themes'`
|
||||
* manual
|
||||
* copy all of the files into your `~/.vim` directory
|
||||
|
||||
|
||||
# Contribution Guidelines
|
||||
|
||||
## New themes
|
||||
|
||||
* Pull requests for new themes are welcome. Please be sure to include a screenshot. You can paste an image into issue [#1](https://github.com/vim-airline/vim-airline-themes/issues/1), and then editing the post to reveal the uploaded image URL.
|
||||
|
||||
## Modifications to existing themes
|
||||
|
||||
* Themes are subjective, so if you are going to make modifications to an existing theme, please expose a configurable variable to allow users to choose how the theme will react.
|
||||
|
||||
# Screenshots
|
||||
|
||||
Screenshots are in the process of being migrated here. In the meantime you can find screenshots in the existing repository's [Wiki](https://github.com/vim-airline/vim-airline/wiki/Screenshots).
|
||||
|
||||
# Maintenance
|
||||
|
||||
If you are interested in becoming the official maintainer of this project, please contact [**@bling**][1], [**@chrisbra**][2], or [**@mhartington**][3].
|
||||
|
||||
# License
|
||||
|
||||
MIT License. Copyright (c) 2013-2016 Bailey Ling & Contributors.
|
||||
|
||||
|
||||
[1]: https://github.com/bling
|
||||
[2]: https://github.com/chrisbra
|
||||
[3]: https://github.com/mhartington
|
||||
[4]: https://github.com/tpope/vim-pathogen
|
||||
[5]: https://github.com/Shougo/neobundle.vim
|
||||
[6]: https://github.com/gmarik/vundle
|
||||
[7]: https://github.com/junegunn/vim-plug
|
|
@ -96,12 +96,15 @@ else
|
|||
let g:airline#themes#base16#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
let g:airline#themes#base16#palette.visual_modified = g:airline#themes#base16#palette.normal_modified
|
||||
|
||||
let s:IA = airline#themes#get_highlight2(['NonText', 'fg'], ['CursorLine', 'bg'])
|
||||
let g:airline#themes#base16#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
||||
let g:airline#themes#base16#palette.inactive_modified = {
|
||||
\ 'airline_c': [ group[0], '', group[2], '', '' ]
|
||||
\ }
|
||||
|
||||
" Use VertSplit's bg and default fg (reversed) for inactive statusline.
|
||||
let s:VS = airline#themes#get_highlight('VertSplit')
|
||||
let s:IA = [ s:VS[1], 'NONE', s:VS[2], 'NONE', 'reverse']
|
||||
let g:airline#themes#base16#palette.inactive =
|
||||
\ airline#themes#generate_color_map(s:IA, s:IA, s:IA, s:IA, s:IA, s:IA)
|
||||
let s:IM = [ s:VS[1], 'NONE', s:VS[2], 'NONE', 'reverse,italic']
|
||||
let g:airline#themes#base16#palette.inactive_modified =
|
||||
\ airline#themes#generate_color_map(s:IM, s:IM, s:IM, s:IM, s:IM, s:IM)
|
||||
|
||||
" Warnings
|
||||
let s:WI = airline#themes#get_highlight2(['WarningMsg', 'bg'], ['WarningMsg', 'fg'], 'bold')
|
||||
let g:airline#themes#base16#palette.normal.airline_warning = [
|
||||
|
@ -111,7 +114,6 @@ else
|
|||
let g:airline#themes#base16#palette.normal_modified.airline_warning =
|
||||
\ g:airline#themes#base16#palette.normal.airline_warning
|
||||
|
||||
|
||||
let g:airline#themes#base16#palette.insert.airline_warning =
|
||||
\ g:airline#themes#base16#palette.normal.airline_warning
|
||||
|
||||
|
@ -130,7 +132,33 @@ else
|
|||
let g:airline#themes#base16#palette.replace_modified.airline_warning =
|
||||
\ g:airline#themes#base16#palette.normal.airline_warning
|
||||
|
||||
" Errors
|
||||
let s:ER = airline#themes#get_highlight2(['ErrorMsg', 'bg'], ['ErrorMsg', 'fg'], 'bold')
|
||||
let g:airline#themes#base16#palette.normal.airline_error = [
|
||||
\ s:ER[0], s:ER[1], s:ER[2], s:ER[3]
|
||||
\ ]
|
||||
|
||||
let g:airline#themes#base16#palette.normal_modified.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.insert.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.insert_modified.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.visual.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.visual_modified.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.replace.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
let g:airline#themes#base16#palette.replace_modified.airline_error =
|
||||
\ g:airline#themes#base16#palette.normal.airline_error
|
||||
|
||||
endfunction
|
||||
call airline#themes#base16#refresh()
|
||||
endif
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
" vim-airline template by chartoin (http://github.com/chartoin)
|
||||
" Base 16 3024 Scheme by Jan T. Sott (http://github.com/idleberg)
|
||||
let g:airline#themes#base16_3024#palette = {}
|
||||
let s:gui00 = "#090300"
|
||||
let s:gui01 = "#3a3432"
|
||||
let s:gui02 = "#4a4543"
|
||||
let s:gui03 = "#5c5855"
|
||||
let s:gui04 = "#807d7c"
|
||||
let s:gui05 = "#a5a2a2"
|
||||
let s:gui06 = "#d6d5d4"
|
||||
let s:gui07 = "#f7f7f7"
|
||||
let s:gui08 = "#db2d20"
|
||||
let s:gui09 = "#e8bbd0"
|
||||
let s:gui0A = "#fded02"
|
||||
let s:gui0B = "#01a252"
|
||||
let s:gui0C = "#b5e4f4"
|
||||
let s:gui0D = "#01a0e4"
|
||||
let s:gui0E = "#a16a94"
|
||||
let s:gui0F = "#cdab53"
|
||||
|
||||
let s:cterm00 = 0
|
||||
let s:cterm01 = 59
|
||||
let s:cterm02 = 59
|
||||
let s:cterm03 = 59
|
||||
let s:cterm04 = 102
|
||||
let s:cterm05 = 145
|
||||
let s:cterm06 = 188
|
||||
let s:cterm07 = 15
|
||||
let s:cterm08 = 1
|
||||
let s:cterm09 = 182
|
||||
let s:cterm0A = 11
|
||||
let s:cterm0B = 35
|
||||
let s:cterm0C = 153
|
||||
let s:cterm0D = 38
|
||||
let s:cterm0E = 132
|
||||
let s:cterm0F = 179
|
||||
|
||||
let s:N1 = [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ]
|
||||
let s:N2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:N3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_3024#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
|
||||
let s:I1 = [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ]
|
||||
let s:I2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:I3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_3024#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
|
||||
let s:R1 = [ s:gui01, s:gui08, s:cterm01, s:cterm08 ]
|
||||
let s:R2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:R3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_3024#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
|
||||
let s:V1 = [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ]
|
||||
let s:V2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:V3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_3024#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
|
||||
let s:IA1 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA2 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA3 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let g:airline#themes#base16_3024#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" variable so that related functionality is loaded iff the user is using
|
||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if !get(g:, 'loaded_ctrlp', 0)
|
||||
finish
|
||||
endif
|
||||
let g:airline#themes#base16_3024#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ s:gui07, s:gui02, s:cterm07, s:cterm02, '' ],
|
||||
\ [ s:gui07, s:gui04, s:cterm07, s:cterm04, '' ],
|
||||
\ [ s:gui05, s:gui01, s:cterm05, s:cterm01, 'bold' ])
|
|
@ -0,0 +1,73 @@
|
|||
" vim-airline template by chartoin (http://github.com/chartoin)
|
||||
" Base 16 Apathy Scheme by Jannik Siebert (https://github.com/janniks)
|
||||
let g:airline#themes#base16_apathy#palette = {}
|
||||
let s:gui00 = "#031A16"
|
||||
let s:gui01 = "#0B342D"
|
||||
let s:gui02 = "#184E45"
|
||||
let s:gui03 = "#2B685E"
|
||||
let s:gui04 = "#5F9C92"
|
||||
let s:gui05 = "#81B5AC"
|
||||
let s:gui06 = "#A7CEC8"
|
||||
let s:gui07 = "#D2E7E4"
|
||||
let s:gui08 = "#3E9688"
|
||||
let s:gui09 = "#3E7996"
|
||||
let s:gui0A = "#3E4C96"
|
||||
let s:gui0B = "#883E96"
|
||||
let s:gui0C = "#963E4C"
|
||||
let s:gui0D = "#96883E"
|
||||
let s:gui0E = "#4C963E"
|
||||
let s:gui0F = "#3E965B"
|
||||
|
||||
let s:cterm00 = 0
|
||||
let s:cterm01 = 22
|
||||
let s:cterm02 = 23
|
||||
let s:cterm03 = 23
|
||||
let s:cterm04 = 72
|
||||
let s:cterm05 = 109
|
||||
let s:cterm06 = 152
|
||||
let s:cterm07 = 188
|
||||
let s:cterm08 = 66
|
||||
let s:cterm09 = 66
|
||||
let s:cterm0A = 60
|
||||
let s:cterm0B = 96
|
||||
let s:cterm0C = 95
|
||||
let s:cterm0D = 101
|
||||
let s:cterm0E = 65
|
||||
let s:cterm0F = 65
|
||||
|
||||
let s:N1 = [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ]
|
||||
let s:N2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:N3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_apathy#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
|
||||
let s:I1 = [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ]
|
||||
let s:I2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:I3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_apathy#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
|
||||
let s:R1 = [ s:gui01, s:gui08, s:cterm01, s:cterm08 ]
|
||||
let s:R2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:R3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_apathy#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
|
||||
let s:V1 = [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ]
|
||||
let s:V2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:V3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_apathy#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
|
||||
let s:IA1 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA2 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA3 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let g:airline#themes#base16_apathy#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" variable so that related functionality is loaded iff the user is using
|
||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if !get(g:, 'loaded_ctrlp', 0)
|
||||
finish
|
||||
endif
|
||||
let g:airline#themes#base16_apathy#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ s:gui07, s:gui02, s:cterm07, s:cterm02, '' ],
|
||||
\ [ s:gui07, s:gui04, s:cterm07, s:cterm04, '' ],
|
||||
\ [ s:gui05, s:gui01, s:cterm05, s:cterm01, 'bold' ])
|
|
@ -0,0 +1,73 @@
|
|||
" vim-airline template by chartoin (http://github.com/chartoin)
|
||||
" Base 16 Ashes Scheme by Jannik Siebert (https://github.com/janniks)
|
||||
let g:airline#themes#base16_ashes#palette = {}
|
||||
let s:gui00 = "#1C2023"
|
||||
let s:gui01 = "#393F45"
|
||||
let s:gui02 = "#565E65"
|
||||
let s:gui03 = "#747C84"
|
||||
let s:gui04 = "#ADB3BA"
|
||||
let s:gui05 = "#C7CCD1"
|
||||
let s:gui06 = "#DFE2E5"
|
||||
let s:gui07 = "#F3F4F5"
|
||||
let s:gui08 = "#C7AE95"
|
||||
let s:gui09 = "#C7C795"
|
||||
let s:gui0A = "#AEC795"
|
||||
let s:gui0B = "#95C7AE"
|
||||
let s:gui0C = "#95AEC7"
|
||||
let s:gui0D = "#AE95C7"
|
||||
let s:gui0E = "#C795AE"
|
||||
let s:gui0F = "#C79595"
|
||||
|
||||
let s:cterm00 = 0
|
||||
let s:cterm01 = 59
|
||||
let s:cterm02 = 59
|
||||
let s:cterm03 = 102
|
||||
let s:cterm04 = 145
|
||||
let s:cterm05 = 188
|
||||
let s:cterm06 = 188
|
||||
let s:cterm07 = 15
|
||||
let s:cterm08 = 180
|
||||
let s:cterm09 = 186
|
||||
let s:cterm0A = 150
|
||||
let s:cterm0B = 115
|
||||
let s:cterm0C = 110
|
||||
let s:cterm0D = 140
|
||||
let s:cterm0E = 175
|
||||
let s:cterm0F = 174
|
||||
|
||||
let s:N1 = [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ]
|
||||
let s:N2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:N3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_ashes#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
|
||||
let s:I1 = [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ]
|
||||
let s:I2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:I3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_ashes#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
|
||||
let s:R1 = [ s:gui01, s:gui08, s:cterm01, s:cterm08 ]
|
||||
let s:R2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:R3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_ashes#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
|
||||
let s:V1 = [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ]
|
||||
let s:V2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:V3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_ashes#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
|
||||
let s:IA1 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA2 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA3 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let g:airline#themes#base16_ashes#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" variable so that related functionality is loaded iff the user is using
|
||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if !get(g:, 'loaded_ctrlp', 0)
|
||||
finish
|
||||
endif
|
||||
let g:airline#themes#base16_ashes#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ s:gui07, s:gui02, s:cterm07, s:cterm02, '' ],
|
||||
\ [ s:gui07, s:gui04, s:cterm07, s:cterm04, '' ],
|
||||
\ [ s:gui05, s:gui01, s:cterm05, s:cterm01, 'bold' ])
|
|
@ -0,0 +1,73 @@
|
|||
" vim-airline template by chartoin (http://github.com/chartoin)
|
||||
" Base 16 Atelier Dune Scheme by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)
|
||||
let g:airline#themes#base16_atelierdune#palette = {}
|
||||
let s:gui00 = "#20201d"
|
||||
let s:gui01 = "#292824"
|
||||
let s:gui02 = "#6e6b5e"
|
||||
let s:gui03 = "#7d7a68"
|
||||
let s:gui04 = "#999580"
|
||||
let s:gui05 = "#a6a28c"
|
||||
let s:gui06 = "#e8e4cf"
|
||||
let s:gui07 = "#fefbec"
|
||||
let s:gui08 = "#d73737"
|
||||
let s:gui09 = "#b65611"
|
||||
let s:gui0A = "#cfb017"
|
||||
let s:gui0B = "#60ac39"
|
||||
let s:gui0C = "#1fad83"
|
||||
let s:gui0D = "#6684e1"
|
||||
let s:gui0E = "#b854d4"
|
||||
let s:gui0F = "#d43552"
|
||||
|
||||
let s:cterm00 = 0
|
||||
let s:cterm01 = 0
|
||||
let s:cterm02 = 59
|
||||
let s:cterm03 = 101
|
||||
let s:cterm04 = 102
|
||||
let s:cterm05 = 144
|
||||
let s:cterm06 = 188
|
||||
let s:cterm07 = 15
|
||||
let s:cterm08 = 167
|
||||
let s:cterm09 = 130
|
||||
let s:cterm0A = 178
|
||||
let s:cterm0B = 71
|
||||
let s:cterm0C = 36
|
||||
let s:cterm0D = 68
|
||||
let s:cterm0E = 134
|
||||
let s:cterm0F = 167
|
||||
|
||||
let s:N1 = [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ]
|
||||
let s:N2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:N3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierdune#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
|
||||
let s:I1 = [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ]
|
||||
let s:I2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:I3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierdune#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
|
||||
let s:R1 = [ s:gui01, s:gui08, s:cterm01, s:cterm08 ]
|
||||
let s:R2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:R3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierdune#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
|
||||
let s:V1 = [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ]
|
||||
let s:V2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:V3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierdune#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
|
||||
let s:IA1 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA2 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA3 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierdune#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" variable so that related functionality is loaded iff the user is using
|
||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if !get(g:, 'loaded_ctrlp', 0)
|
||||
finish
|
||||
endif
|
||||
let g:airline#themes#base16_atelierdune#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ s:gui07, s:gui02, s:cterm07, s:cterm02, '' ],
|
||||
\ [ s:gui07, s:gui04, s:cterm07, s:cterm04, '' ],
|
||||
\ [ s:gui05, s:gui01, s:cterm05, s:cterm01, 'bold' ])
|
|
@ -0,0 +1,73 @@
|
|||
" vim-airline template by chartoin (http://github.com/chartoin)
|
||||
" Base 16 Atelier Forest Scheme by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)
|
||||
let g:airline#themes#base16_atelierforest#palette = {}
|
||||
let s:gui00 = "#1b1918"
|
||||
let s:gui01 = "#2c2421"
|
||||
let s:gui02 = "#68615e"
|
||||
let s:gui03 = "#766e6b"
|
||||
let s:gui04 = "#9c9491"
|
||||
let s:gui05 = "#a8a19f"
|
||||
let s:gui06 = "#e6e2e0"
|
||||
let s:gui07 = "#f1efee"
|
||||
let s:gui08 = "#f22c40"
|
||||
let s:gui09 = "#df5320"
|
||||
let s:gui0A = "#d5911a"
|
||||
let s:gui0B = "#5ab738"
|
||||
let s:gui0C = "#00ad9c"
|
||||
let s:gui0D = "#407ee7"
|
||||
let s:gui0E = "#6666ea"
|
||||
let s:gui0F = "#c33ff3"
|
||||
|
||||
let s:cterm00 = 0
|
||||
let s:cterm01 = 0
|
||||
let s:cterm02 = 59
|
||||
let s:cterm03 = 95
|
||||
let s:cterm04 = 138
|
||||
let s:cterm05 = 145
|
||||
let s:cterm06 = 188
|
||||
let s:cterm07 = 15
|
||||
let s:cterm08 = 197
|
||||
let s:cterm09 = 166
|
||||
let s:cterm0A = 172
|
||||
let s:cterm0B = 71
|
||||
let s:cterm0C = 37
|
||||
let s:cterm0D = 68
|
||||
let s:cterm0E = 62
|
||||
let s:cterm0F = 135
|
||||
|
||||
let s:N1 = [ s:gui01, s:gui0B, s:cterm01, s:cterm0B ]
|
||||
let s:N2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:N3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierforest#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
|
||||
let s:I1 = [ s:gui01, s:gui0D, s:cterm01, s:cterm0D ]
|
||||
let s:I2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:I3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierforest#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
|
||||
let s:R1 = [ s:gui01, s:gui08, s:cterm01, s:cterm08 ]
|
||||
let s:R2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:R3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierforest#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
|
||||
let s:V1 = [ s:gui01, s:gui0E, s:cterm01, s:cterm0E ]
|
||||
let s:V2 = [ s:gui06, s:gui02, s:cterm06, s:cterm02 ]
|
||||
let s:V3 = [ s:gui09, s:gui01, s:cterm09, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierforest#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
|
||||
let s:IA1 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA2 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let s:IA3 = [ s:gui05, s:gui01, s:cterm05, s:cterm01 ]
|
||||
let g:airline#themes#base16_atelierforest#palette.inactive = airline#themes#generate_color_map(s:IA1, s:IA2, s:IA3)
|
||||
|
||||
" Here we define the color map for ctrlp. We check for the g:loaded_ctrlp
|
||||
" variable so that related functionality is loaded iff the user is using
|
||||
" ctrlp. Note that this is optional, and if you do not define ctrlp colors
|
||||
" they will be chosen automatically from the existing palette.
|
||||
if !get(g:, 'loaded_ctrlp', 0)
|
||||
finish
|
||||
endif
|
||||
let g:airline#themes#base16_atelierforest#palette.ctrlp = airline#extensions#ctrlp#generate_color_map(
|
||||
\ [ s:gui07, s:gui02, s:cterm07, s:cterm02, '' ],
|
||||
\ [ s:gui07, s:gui04, s:cterm07, s:cterm04, '' ],
|
||||
\ [ s:gui05, s:gui01, s:cterm05, s:cterm01, 'bold' ])
|