diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim
deleted file mode 100755
index a13ae08f..00000000
--- a/autoload/pathogen.vim
+++ /dev/null
@@ -1,347 +0,0 @@
-" pathogen.vim - path option manipulation
-" Maintainer: Tim Pope
-" Version: 2.3
-
-" Install in ~/.vim/autoload (or ~\vimfiles\autoload).
-"
-" For management of individually installed plugins in ~/.vim/bundle (or
-" ~\vimfiles\bundle), adding `execute pathogen#infect()` to the top of your
-" .vimrc is the only other setup necessary.
-"
-" The API is documented inline below.
-
-if exists("g:loaded_pathogen") || &cp
- finish
-endif
-let g:loaded_pathogen = 1
-
-" Point of entry for basic default usage. Give a relative path to invoke
-" pathogen#interpose() (defaults to "bundle/{}"), or an absolute path to invoke
-" pathogen#surround(). Curly braces are expanded with pathogen#expand():
-" "bundle/{}" finds all subdirectories inside "bundle" inside all directories
-" in the runtime path.
-function! pathogen#infect(...) abort
- for path in a:0 ? filter(reverse(copy(a:000)), 'type(v:val) == type("")') : ['bundle/{}']
- if path =~# '^\%({\=[$~\\/]\|{\=\w:[\\/]\).*[{}*]'
- call pathogen#surround(path)
- elseif path =~# '^\%([$~\\/]\|\w:[\\/]\)'
- call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- call pathogen#surround(path . '/{}')
- elseif path =~# '[{}*]'
- call pathogen#interpose(path)
- else
- call s:warn('Change pathogen#infect('.string(path).') to pathogen#infect('.string(path.'/{}').')')
- call pathogen#interpose(path . '/{}')
- endif
- endfor
- call pathogen#cycle_filetype()
- if pathogen#is_disabled($MYVIMRC)
- return 'finish'
- endif
- return ''
-endfunction
-
-" Split a path into a list.
-function! pathogen#split(path) abort
- if type(a:path) == type([]) | return a:path | endif
- if empty(a:path) | return [] | endif
- let split = split(a:path,'\\\@]','\\&','')
- endif
-endfunction
-
-" Like findfile(), but hardcoded to use the runtimepath.
-function! pathogen#runtime_findfile(file,count) abort "{{{1
- let rtp = pathogen#join(1,pathogen#split(&rtp))
- let file = findfile(a:file,rtp,a:count)
- if file ==# ''
- return ''
- else
- return fnamemodify(file,':p')
- endif
-endfunction
-
-" Section: Deprecated
-
-function! s:warn(msg) abort
- echohl WarningMsg
- echomsg a:msg
- echohl NONE
-endfunction
-
-" Prepend all subdirectories of path to the rtp, and append all 'after'
-" directories in those subdirectories. Deprecated.
-function! pathogen#runtime_prepend_subdirectories(path) abort
- call s:warn('Change pathogen#runtime_prepend_subdirectories('.string(a:path).') to pathogen#infect('.string(a:path.'/{}').')')
- return pathogen#surround(a:path . pathogen#slash() . '{}')
-endfunction
-
-function! pathogen#incubate(...) abort
- let name = a:0 ? a:1 : 'bundle/{}'
- call s:warn('Change pathogen#incubate('.(a:0 ? string(a:1) : '').') to pathogen#infect('.string(name).')')
- return pathogen#interpose(name)
-endfunction
-
-" Deprecated alias for pathogen#interpose().
-function! pathogen#runtime_append_all_bundles(...) abort
- if a:0
- call s:warn('Change pathogen#runtime_append_all_bundles('.string(a:1).') to pathogen#infect('.string(a:1.'/{}').')')
- else
- call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#infect()')
- endif
- return pathogen#interpose(a:0 ? a:1 . '/{}' : 'bundle/{}')
-endfunction
-
-if exists(':Vedit')
- finish
-endif
-
-let s:vopen_warning = 0
-
-function! s:find(count,cmd,file,lcd)
- let rtp = pathogen#join(1,pathogen#split(&runtimepath))
- let file = pathogen#runtime_findfile(a:file,a:count)
- if file ==# ''
- return "echoerr 'E345: Can''t find file \"".a:file."\" in runtimepath'"
- endif
- if !s:vopen_warning
- let s:vopen_warning = 1
- let warning = '|echohl WarningMsg|echo "Install scriptease.vim to continue using :V'.a:cmd.'"|echohl NONE'
- else
- let warning = ''
- endif
- if a:lcd
- let path = file[0:-strlen(a:file)-2]
- execute 'lcd `=path`'
- return a:cmd.' '.pathogen#fnameescape(a:file) . warning
- else
- return a:cmd.' '.pathogen#fnameescape(file) . warning
- endif
-endfunction
-
-function! s:Findcomplete(A,L,P)
- let sep = pathogen#slash()
- let cheats = {
- \'a': 'autoload',
- \'d': 'doc',
- \'f': 'ftplugin',
- \'i': 'indent',
- \'p': 'plugin',
- \'s': 'syntax'}
- if a:A =~# '^\w[\\/]' && has_key(cheats,a:A[0])
- let request = cheats[a:A[0]].a:A[1:-1]
- else
- let request = a:A
- endif
- let pattern = substitute(request,'/\|\'.sep,'*'.sep,'g').'*'
- let found = {}
- for path in pathogen#split(&runtimepath)
- let path = expand(path, ':p')
- let matches = split(glob(path.sep.pattern),"\n")
- call map(matches,'isdirectory(v:val) ? v:val.sep : v:val')
- call map(matches,'expand(v:val, ":p")[strlen(path)+1:-1]')
- for match in matches
- let found[match] = 1
- endfor
- endfor
- return sort(keys(found))
-endfunction
-
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Ve :execute s:find(,'edit',,0)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vedit :execute s:find(,'edit',,0)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vopen :execute s:find(,'edit',,1)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vsplit :execute s:find(,'split',,1)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vvsplit :execute s:find(,'vsplit',,1)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vtabedit :execute s:find(,'tabedit',,1)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vpedit :execute s:find(,'pedit',,1)
-command! -bar -bang -range=1 -nargs=1 -complete=customlist,s:Findcomplete Vread :execute s:find(,'read',,1)
-
-" vim:set et sw=2 foldmethod=expr foldexpr=getline(v\:lnum)=~'^\"\ Section\:'?'>1'\:getline(v\:lnum)=~#'^fu'?'a1'\:getline(v\:lnum)=~#'^endf'?'s1'\:'=':
diff --git a/vimrcs/basic.vim b/basic.vim
similarity index 100%
rename from vimrcs/basic.vim
rename to basic.vim
diff --git a/vimrcs/extended.vim b/extended.vim
similarity index 100%
rename from vimrcs/extended.vim
rename to extended.vim
diff --git a/vimrcs/filetypes.vim b/filetypes.vim
similarity index 100%
rename from vimrcs/filetypes.vim
rename to filetypes.vim
diff --git a/install_awesome_vimrc.sh b/install_awesome_vimrc.sh
index e8330afc..828d9f7a 100644
--- a/install_awesome_vimrc.sh
+++ b/install_awesome_vimrc.sh
@@ -1,11 +1,13 @@
cd ~/.vim_runtime
-echo 'set runtimepath+=~/.vim_runtime
+echo 'set rtp+=~/.vim_runtime
+call vundle#rc()
-source ~/.vim_runtime/vimrcs/basic.vim
-source ~/.vim_runtime/vimrcs/filetypes.vim
-source ~/.vim_runtime/vimrcs/plugins_config.vim
-source ~/.vim_runtime/vimrcs/extended.vim
+source ~/.vim_runtime/basic.vim
+source ~/.vim_runtime/filetypes.vim
+source ~/.vim_runtime/extended.vim
+source ~/.vim_runtime/vundle_plugins.vim
+source ~/.vim_runtime/plugins_config.vim
try
source ~/.vim_runtime/my_configs.vim
diff --git a/my_configs.vim b/my_configs.vim
index d4c91998..02566466 100644
--- a/my_configs.vim
+++ b/my_configs.vim
@@ -1 +1,16 @@
set number
+
+"-- Taglist setting --
+let Tlist_Ctags_Cmd='ctags' "因为我们放在环境变量里,所以可以直接执行
+let Tlist_Use_Right_Window=1 "让窗口显示在右边,0的话就是显示在左边
+let Tlist_Show_One_File=0 "让taglist可以同时展示多个文件的函数列表
+let Tlist_File_Fold_Auto_Close=1 "非当前文件,函数列表折叠隐藏
+let Tlist_Exit_OnlyWindow=1 "当taglist是最后一个分割窗口时,自动推出vim
+"是否一直处理tags.1:处理;0:不处理
+let Tlist_Process_File_Always=1 "实时更新tags
+let Tlist_Inc_Winwidth=0
+
+"-- WinManager setting --
+let g:winManagerWindowLayout='FileExplorer|TagList' " 设置我们要管理的插件
+let g:persistentBehaviour=0 " 如果所有编辑文件都关闭了,退出vim
+nmap wm :WMToggle
diff --git a/vimrcs/plugins_config.vim b/plugins_config.vim
similarity index 89%
rename from vimrcs/plugins_config.vim
rename to plugins_config.vim
index c109c37f..3b3fc6f4 100644
--- a/vimrcs/plugins_config.vim
+++ b/plugins_config.vim
@@ -1,17 +1,3 @@
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" Important:
-" This requries that you install https://github.com/amix/vimrc !
-"
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-
-
-""""""""""""""""""""""""""""""
-" => Load pathogen paths
-""""""""""""""""""""""""""""""
-call pathogen#infect('~/.vim_runtime/sources_forked/{}')
-call pathogen#infect('~/.vim_runtime/sources_non_forked/{}')
-call pathogen#helptags()
-
""""""""""""""""""""""""""""""
" => bufExplorer plugin
""""""""""""""""""""""""""""""
diff --git a/sources_forked/mru/README b/sources_forked/mru/README
deleted file mode 100644
index 4d8b9b0b..00000000
--- a/sources_forked/mru/README
+++ /dev/null
@@ -1,166 +0,0 @@
-This is a mirror of http://www.vim.org/scripts/script.php?script_id=521
-
-Overview
-
-The Most Recently Used (MRU) plugin provides an easy access to a list of
-recently opened/edited files in Vim. This plugin automatically stores the
-file names as you open/edit them in Vim.
-
-This plugin will work on all the platforms where Vim is supported. This
-plugin will work in both console and GUI Vim. This version of the MRU
-plugin needs Vim 7.0 and above. If you are using an earlier version of
-Vim, then you should use an older version of the MRU plugin.
-
-The recently used filenames are stored in a file specified by the Vim
-MRU_File variable.
-
-Usage
-
-To list and edit files from the MRU list, you can use the ":MRU" command.
-The ":MRU" command displays the MRU file list in a temporary Vim window. If
-the MRU window is already opened, then the MRU list displayed in the window
-is refreshed.
-
-If you are using GUI Vim, then the names of the recently edited files are
-added to the "File->Recent Files" menu. You can select the name of a file
-from this sub-menu to edit the file.
-
-You can use the normal Vim commands to move around in the MRU window. You
-cannot make changes in the MRU window.
-
-You can select a file name to edit by pressing the key or by double
-clicking the left mouse button on a file name. The selected file will be
-opened. If the file is already opened in a window, the cursor will be moved
-to that window. Otherwise, the file is opened in the previous window. If the
-previous window has a modified buffer or is the preview window or is used by
-some other plugin, then the file is opened in a new window.
-
-You can press the 'o' key to open the file name under the cursor in the
-MRU window in a new window.
-
-To open a file from the MRU window in read-only mode (view), press the 'v'
-key.
-
-To open a file from the MRU window in a new tab, press the 't' key. If the
-file is already opened in a window in the current or in another tab, then
-the cursor is moved to that tab. Otherwise, a new tab is opened.
-
-You can open multiple files from the MRU window by specifying a count before
-pressing '' or 'v' or 'o' or 't'. You can also visually select
-multiple filenames and invoke the commands to open the files. Each selected
-file will be opened in a separate window or tab.
-
-You can press the 'u' key in the MRU window to update the file list. This is
-useful if you keep the MRU window open always.
-
-You can close the MRU window by pressing the 'q' key or using one of the Vim
-window commands.
-
-To display only files matching a pattern from the MRU list in the MRU
-window, you can specify a pattern to the ":MRU" command. For example, to
-display only file names containing "vim" in them, you can use the following
-command ":MRU vim". When you specify a partial file name and only one
-matching filename is found, then the ":MRU" command will edit that file.
-
-The ":MRU" command supports command-line completion of file names from
-the MRU list. You can enter a partial file name and then press
-or to complete or list all the matching file names. Note that
-after typing the ":MRU" command, you have to enter a space before completing
-the file names with .
-
-When a file supplied to the ":MRU" command is not present in the MRU list,
-but it is a readable file, then the file will be opened (even though it is
-not present in the MRU list). This is useful if you want to open a file
-present in the same directory as a file in the MRU list. You can use the
-command-line completion of the ":MRU" command to complete the full path of a
-file and then modify the path to open another file present in the same path.
-
-Whenever the MRU list changes, the MRU file is updated with the latest MRU
-list. When you have multiple instances of Vim running at the same time, the
-latest MRU list will show up in all the instances of Vim.
-
-Configuration
-
-By changing the following variables you can configure the behavior of this
-plugin. Set the following variables in your .vimrc file using the 'let'
-command.
-
-The list of recently edited file names is stored in the file specified by the
-MRU_File variable. The default setting for this variable is
-$HOME/.vim_mru_files for Unix-like systems and $USERPROFILE/_vim_mru_files
-for MS-Windows systems. You can change this variable to point to a file by
-adding the following line to the .vimrc file:
-
- let MRU_File = 'd:\myhome\_vim_mru_files'
-
-By default, the plugin will remember the names of the last 100 used files.
-As you edit more files, old file names will be removed from the MRU list.
-You can set the 'MRU_Max_Entries' variable to remember more file names. For
-example, to remember 1000 most recently used file names, you can use
-
- let MRU_Max_Entries = 1000
-
-By default, all the edited file names will be added to the MRU list. If you
-want to exclude file names matching a list of patterns, you can set the
-MRU_Exclude_Files variable to a list of Vim regular expressions. By default,
-this variable is set to an empty string. For example, to not include files
-in the temporary (/tmp, /var/tmp and d:\temp) directories, you can set the
-MRU_Exclude_Files variable to
-
- let MRU_Exclude_Files = '^/tmp/.*\|^/var/tmp/.*' " For Unix
- let MRU_Exclude_Files = '^c:\\temp\\.*' " For MS-Windows
-
-The specified pattern should be a Vim regular expression pattern.
-
-If you want to add only file names matching a set of patterns to the MRU
-list, then you can set the MRU_Include_Files variable. This variable should
-be set to a Vim regular expression pattern. For example, to add only .c and
-.h files to the MRU list, you can set this variable as below:
-
- let MRU_Include_Files = '\.c$\|\.h$'
-
-By default, MRU_Include_Files is set to an empty string and all the edited
-filenames are added to the MRU list.
-
-The default height of the MRU window is 8. You can set the MRU_Window_Height
-variable to change the window height.
-
- let MRU_Window_Height = 15
-
-By default, when the :MRU command is invoked, the MRU list will be displayed
-in a new window. Instead, if you want the MRU plugin to reuse the current
-window, then you can set the 'MRU_Use_Current_Window' variable to one.
-
- let MRU_Use_Current_Window = 1
-
-The MRU plugin will reuse the current window. When a file name is selected,
-the file is also opened in the current window.
-
-When you select a file from the MRU window, the MRU window will be
-automatically closed and the selected file will be opened in the previous
-window. You can set the 'MRU_Auto_Close' variable to zero to keep the MRU
-window open.
-
- let MRU_Auto_Close = 0
-
-If you don't use the "File->Recent Files" menu and want to disable it,
-then you can set the 'MRU_Add_Menu' variable to zero. By default, the
-menu is enabled.
-
- let MRU_Add_Menu = 0
-
-If too many file names are present in the MRU list, then updating the MRU
-menu to list all the file names makes Vim slow. To avoid this, the
-MRU_Max_Menu_Entries variable controls the number of file names to show in
-the MRU menu. By default, this is set to 10. You can change this to show
-more entries in the menu.
-
- let MRU_Max_Menu_Entries = 20
-
-If many file names are present in the MRU list, then the MRU menu is split
-into sub-menus. Each sub-menu contains MRU_Max_Submenu_Entries file names.
-The default setting for this is 10. You can change this to increase the
-number of file names displayed in a single sub-menu:
-
- let MRU_Max_Submenu_Entries = 15
-
diff --git a/sources_forked/mru/plugin/mru.vim b/sources_forked/mru/plugin/mru.vim
deleted file mode 100644
index 3bcd5007..00000000
--- a/sources_forked/mru/plugin/mru.vim
+++ /dev/null
@@ -1,989 +0,0 @@
-" File: mru.vim
-" Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com)
-" Version: 3.4
-" Last Modified: April 13, 2012
-" Copyright: Copyright (C) 2003-2012 Yegappan Lakshmanan
-" Permission is hereby granted to use and distribute this code,
-" with or without modifications, provided that this copyright
-" notice is copied with it. Like anything else that's free,
-" mru.vim is provided *as is* and comes with no warranty of any
-" kind, either expressed or implied. In no event will the copyright
-" holder be liable for any damamges resulting from the use of this
-" software.
-"
-" Overview
-" --------
-" The Most Recently Used (MRU) plugin provides an easy access to a list of
-" recently opened/edited files in Vim. This plugin automatically stores the
-" file names as you open/edit them in Vim.
-"
-" This plugin will work on all the platforms where Vim is supported. This
-" plugin will work in both console and GUI Vim. This version of the MRU
-" plugin needs Vim 7.0 and above. If you are using an earlier version of
-" Vim, then you should use an older version of the MRU plugin.
-"
-" The recently used filenames are stored in a file specified by the Vim
-" MRU_File variable.
-"
-" Installation
-" ------------
-" 1. Copy the mru.vim file to one of the following directories:
-"
-" $HOME/.vim/plugin - Unix like systems
-" $HOME/vimfiles/plugin - MS-Windows
-" $VIM:vimfiles:plugin - Macintosh
-" $VIM/vimfiles/plugin - All
-"
-" Refer to the following Vim help topics for more information about Vim
-" plugins:
-"
-" :help add-plugin
-" :help add-global-plugin
-" :help runtimepath
-"
-" 2. Set the MRU_File Vim variable in the .vimrc file to the location of a
-" file to store the most recently edited file names. This step is needed
-" only if you want to change the default MRU filename.
-" 3. Restart Vim.
-" 4. You can use the ":MRU" command to list and edit the recently used files.
-" In GUI Vim, you can use the 'File->Recent Files' menu to access the
-" recently used files.
-"
-" To uninstall this plugin, remove this file (mru.vim) from the
-" $HOME/.vim/plugin or $HOME/vimfiles/plugin or the $VIM/vimfile/plugin
-" directory.
-"
-" Usage
-" -----
-" To list and edit files from the MRU list, you can use the ":MRU" command.
-" The ":MRU" command displays the MRU file list in a temporary Vim window. If
-" the MRU window is already opened, then the MRU list displayed in the window
-" is refreshed.
-"
-" If you are using GUI Vim, then the names of the recently edited files are
-" added to the "File->Recent Files" menu. You can select the name of a file
-" from this sub-menu to edit the file.
-"
-" You can use the normal Vim commands to move around in the MRU window. You
-" cannot make changes in the MRU window.
-"
-" You can select a file name to edit by pressing the key or by double
-" clicking the left mouse button on a file name. The selected file will be
-" opened. If the file is already opened in a window, the cursor will be moved
-" to that window. Otherwise, the file is opened in the previous window. If the
-" previous window has a modified buffer or is the preview window or is used by
-" some other plugin, then the file is opened in a new window.
-"
-" You can press the 'o' key to open the file name under the cursor in the
-" MRU window in a new window.
-"
-" To open a file from the MRU window in read-only mode (view), press the 'v'
-" key.
-"
-" To open a file from the MRU window in a new tab, press the 't' key. If the
-" file is already opened in a window in the current or in another tab, then
-" the cursor is moved to that tab. Otherwise, a new tab is opened.
-"
-" You can open multiple files from the MRU window by specifying a count before
-" pressing '' or 'v' or 'o' or 't'. You can also visually select
-" multiple filenames and invoke the commands to open the files. Each selected
-" file will be opened in a separate window or tab.
-"
-" You can press the 'u' key in the MRU window to update the file list. This is
-" useful if you keep the MRU window open always.
-"
-" You can close the MRU window by pressing the 'q' key or using one of the Vim
-" window commands.
-"
-" To display only files matching a pattern from the MRU list in the MRU
-" window, you can specify a pattern to the ":MRU" command. For example, to
-" display only file names matching "vim" in them, you can use the following
-" command ":MRU vim". When you specify a partial file name and only one
-" matching filename is found, then the ":MRU" command will edit that file.
-"
-" The ":MRU" command supports command-line completion of file names from
-" the MRU list. You can enter a partial file name and then press
-" or to complete or list all the matching file names. Note that
-" after typing the ":MRU" command, you have to enter a space before completing
-" the file names with .
-"
-" When a file supplied to the ":MRU" command is not present in the MRU list,
-" but it is a readable file, then the file will be opened (even though it is
-" not present in the MRU list). This is useful if you want to open a file
-" present in the same directory as a file in the MRU list. You can use the
-" command-line completion of the ":MRU" command to complete the full path of a
-" file and then modify the path to open another file present in the same path.
-"
-" Whenever the MRU list changes, the MRU file is updated with the latest MRU
-" list. When you have multiple instances of Vim running at the same time, the
-" latest MRU list will show up in all the instances of Vim.
-"
-" Configuration
-" -------------
-" By changing the following variables you can configure the behavior of this
-" plugin. Set the following variables in your .vimrc file using the 'let'
-" command.
-"
-" The list of recently edited file names is stored in the file specified by the
-" MRU_File variable. The default setting for this variable is
-" $HOME/.vim_mru_files for Unix-like systems and $USERPROFILE/_vim_mru_files
-" for MS-Windows systems. You can change this variable to point to a file by
-" adding the following line to the .vimrc file:
-"
-" let MRU_File = 'd:\myhome\_vim_mru_files'
-"
-" By default, the plugin will remember the names of the last 100 used files.
-" As you edit more files, old file names will be removed from the MRU list.
-" You can set the 'MRU_Max_Entries' variable to remember more file names. For
-" example, to remember 1000 most recently used file names, you can use
-"
-" let MRU_Max_Entries = 1000
-"
-" By default, all the edited file names will be added to the MRU list. If you
-" want to exclude file names matching a list of patterns, you can set the
-" MRU_Exclude_Files variable to a list of Vim regular expressions. By default,
-" this variable is set to an empty string. For example, to not include files
-" in the temporary (/tmp, /var/tmp and d:\temp) directories, you can set the
-" MRU_Exclude_Files variable to
-"
-" let MRU_Exclude_Files = '^/tmp/.*\|^/var/tmp/.*' " For Unix
-" let MRU_Exclude_Files = '^c:\\temp\\.*' " For MS-Windows
-"
-" The specified pattern should be a Vim regular expression pattern.
-"
-" If you want to add only file names matching a set of patterns to the MRU
-" list, then you can set the MRU_Include_Files variable. This variable should
-" be set to a Vim regular expression pattern. For example, to add only .c and
-" .h files to the MRU list, you can set this variable as below:
-"
-" let MRU_Include_Files = '\.c$\|\.h$'
-"
-" By default, MRU_Include_Files is set to an empty string and all the edited
-" filenames are added to the MRU list.
-"
-" The default height of the MRU window is 8. You can set the MRU_Window_Height
-" variable to change the window height.
-"
-" let MRU_Window_Height = 15
-"
-" By default, when the :MRU command is invoked, the MRU list will be displayed
-" in a new window. Instead, if you want the MRU plugin to reuse the current
-" window, then you can set the 'MRU_Use_Current_Window' variable to one.
-"
-" let MRU_Use_Current_Window = 1
-"
-" The MRU plugin will reuse the current window. When a file name is selected,
-" the file is also opened in the current window.
-"
-" When you select a file from the MRU window, the MRU window will be
-" automatically closed and the selected file will be opened in the previous
-" window. You can set the 'MRU_Auto_Close' variable to zero to keep the MRU
-" window open.
-"
-" let MRU_Auto_Close = 0
-"
-" If you don't use the "File->Recent Files" menu and want to disable it,
-" then you can set the 'MRU_Add_Menu' variable to zero. By default, the
-" menu is enabled.
-"
-" let MRU_Add_Menu = 0
-"
-" If too many file names are present in the MRU list, then updating the MRU
-" menu to list all the file names makes Vim slow. To avoid this, the
-" MRU_Max_Menu_Entries variable controls the number of file names to show in
-" the MRU menu. By default, this is set to 10. You can change this to show
-" more entries in the menu.
-"
-" let MRU_Max_Menu_Entries = 20
-"
-" If many file names are present in the MRU list, then the MRU menu is split
-" into sub-menus. Each sub-menu contains MRU_Max_Submenu_Entries file names.
-" The default setting for this is 10. You can change this to increase the
-" number of file names displayed in a single sub-menu:
-"
-" let MRU_Max_Submenu_Entries = 15
-"
-" ****************** Do not modify after this line ************************
-if exists('loaded_mru')
- finish
-endif
-let loaded_mru=1
-
-if v:version < 700
- finish
-endif
-
-" Line continuation used here
-let s:cpo_save = &cpo
-set cpo&vim
-
-" MRU configuration variables {{{1
-" Maximum number of entries allowed in the MRU list
-if !exists('MRU_Max_Entries')
- let MRU_Max_Entries = 100
-endif
-
-" Files to exclude from the MRU list
-if !exists('MRU_Exclude_Files')
- let MRU_Exclude_Files = ''
-endif
-
-" Files to include in the MRU list
-if !exists('MRU_Include_Files')
- let MRU_Include_Files = ''
-endif
-
-" Height of the MRU window
-" Default height is 8
-if !exists('MRU_Window_Height')
- let MRU_Window_Height = 8
-endif
-
-if !exists('MRU_Use_Current_Window')
- let MRU_Use_Current_Window = 0
-endif
-
-if !exists('MRU_Auto_Close')
- let MRU_Auto_Close = 1
-endif
-
-if !exists('MRU_File')
- if has('unix') || has('macunix')
- let MRU_File = $HOME . '/.vim_mru_files'
- else
- let MRU_File = $VIM . '/_vim_mru_files'
- if has('win32')
- " MS-Windows
- if $USERPROFILE != ''
- let MRU_File = $USERPROFILE . '\_vim_mru_files'
- endif
- endif
- endif
-endif
-
-" Option for enabling or disabling the MRU menu
-if !exists('MRU_Add_Menu')
- let MRU_Add_Menu = 1
-endif
-
-" Maximum number of file names to show in the MRU menu. If too many files are
-" listed in the menu, then Vim becomes slow when updating the menu. So set
-" this to a low value.
-if !exists('MRU_Max_Menu_Entries')
- let MRU_Max_Menu_Entries = 10
-endif
-
-" Maximum number of file names to show in a MRU sub-menu. If the MRU list
-" contains more file names than this setting, then the MRU menu is split into
-" one or more sub-menus.
-if !exists('MRU_Max_Submenu_Entries')
- let MRU_Max_Submenu_Entries = 10
-endif
-
-" When only a single matching filename is found in the MRU list, the following
-" option controls whether the file name is displayed in the MRU window or the
-" file is directly opened. When this variable is set to 0 and a single
-" matching file name is found, then the file is directly opened.
-if !exists('MRU_Window_Open_Always')
- let MRU_Window_Open_Always = 0
-endif
-
-" When opening a file from the MRU list, the file is opened in the current
-" tab. If the selected file has to be opened in a tab always, then set the
-" following variable to 1. If the file is already opened in a tab, then the
-" cursor will be moved to that tab.
-if !exists('MRU_Open_File_Use_Tabs')
- let MRU_Open_File_Use_Tabs = 0
-endif
-
-" Control to temporarily lock the MRU list. Used to prevent files from
-" getting added to the MRU list when the ':vimgrep' command is executed.
-let s:mru_list_locked = 0
-
-" MRU_LoadList {{{1
-" Loads the latest list of file names from the MRU file
-function! s:MRU_LoadList()
- " If the MRU file is present, then load the list of filenames. Otherwise
- " start with an empty list.
- if filereadable(g:MRU_File)
- let s:MRU_files = readfile(g:MRU_File)
- if s:MRU_files[0] =~# '^\s*" Most recently edited files in Vim'
- " Generated by the previous version of the MRU plugin.
- " Discard the list.
- let s:MRU_files = []
- elseif s:MRU_files[0] =~# '^#'
- " Remove the comment line
- call remove(s:MRU_files, 0)
- else
- " Unsupported format
- let s:MRU_files = []
- endif
- else
- let s:MRU_files = []
- endif
-
- " Refresh the MRU menu with the latest list of filenames
- call s:MRU_Refresh_Menu()
-endfunction
-
-" MRU_SaveList {{{1
-" Saves the MRU file names to the MRU file
-function! s:MRU_SaveList()
- let l = []
- call add(l, '# Most recently edited files in Vim (version 3.0)')
- call extend(l, s:MRU_files)
- call writefile(l, g:MRU_File)
-endfunction
-
-" MRU_AddFile {{{1
-" Adds a file to the MRU file list
-" acmd_bufnr - Buffer number of the file to add
-function! s:MRU_AddFile(acmd_bufnr)
- if s:mru_list_locked
- " MRU list is currently locked
- return
- endif
-
- " Get the full path to the filename
- let fname = fnamemodify(bufname(a:acmd_bufnr + 0), ':p')
- if fname == ''
- return
- endif
-
- " Skip temporary buffers with buftype set. The buftype is set for buffers
- " used by plugins.
- if &buftype != ''
- return
- endif
-
- if g:MRU_Include_Files != ''
- " If MRU_Include_Files is set, include only files matching the
- " specified pattern
- if fname !~# g:MRU_Include_Files
- return
- endif
- endif
-
- if g:MRU_Exclude_Files != ''
- " Do not add files matching the pattern specified in the
- " MRU_Exclude_Files to the MRU list
- if fname =~# g:MRU_Exclude_Files
- return
- endif
- endif
-
- " If the filename is not already present in the MRU list and is not
- " readable then ignore it
- let idx = index(s:MRU_files, fname)
- if idx == -1
- if !filereadable(fname)
- " File is not readable and is not in the MRU list
- return
- endif
- endif
-
- " Load the latest MRU file list
- call s:MRU_LoadList()
-
- " Remove the new file name from the existing MRU list (if already present)
- call filter(s:MRU_files, 'v:val !=# fname')
-
- " Add the new file list to the beginning of the updated old file list
- call insert(s:MRU_files, fname, 0)
-
- " Trim the list
- if len(s:MRU_files) > g:MRU_Max_Entries
- call remove(s:MRU_files, g:MRU_Max_Entries, -1)
- endif
-
- " Save the updated MRU list
- call s:MRU_SaveList()
-
- " Refresh the MRU menu
- call s:MRU_Refresh_Menu()
-
- " If the MRU window is open, update the displayed MRU list
- let bname = '__MRU_Files__'
- let winnum = bufwinnr(bname)
- if winnum != -1
- let cur_winnr = winnr()
- call s:MRU_Open_Window()
- if winnr() != cur_winnr
- exe cur_winnr . 'wincmd w'
- endif
- endif
-endfunction
-
-" MRU_escape_filename {{{1
-" Escape special characters in a filename. Special characters in file names
-" that should be escaped (for security reasons)
-let s:esc_filename_chars = ' *?[{`$%#"|!<>();&' . "'\t\n"
-function! s:MRU_escape_filename(fname)
- return escape(a:fname, s:esc_filename_chars)
-endfunction
-
-" MRU_Edit_File {{{1
-" Edit the specified file
-" filename - Name of the file to edit
-" sanitized - Specifies whether the filename is already escaped for special
-" characters or not.
-function! s:MRU_Edit_File(filename, sanitized)
- if !a:sanitized
- let esc_fname = s:MRU_escape_filename(a:filename)
- else
- let esc_fname = a:filename
- endif
-
- " If the user wants to always open the file in a tab, then open the file
- " in a tab. If it is already opened in a tab, then the cursor will be
- " moved to that tab.
- if g:MRU_Open_File_Use_Tabs
- call s:MRU_Open_File_In_Tab(a:filename, esc_fname)
- return
- endif
-
- " If the file is already open in one of the windows, jump to it
- let winnum = bufwinnr('^' . a:filename . '$')
- if winnum != -1
- if winnum != winnr()
- exe winnum . 'wincmd w'
- endif
- else
- if &modified || &buftype != '' || &previewwindow
- " Current buffer has unsaved changes or is a special buffer or is
- " the preview window. So open the file in a new window
- exe 'split ' . esc_fname
- else
- exe 'edit ' . esc_fname
- endif
- endif
-endfunction
-
-" MRU_Open_File_In_Tab
-" Open a file in a tab. If the file is already opened in a tab, jump to the
-" tab. Otherwise, create a new tab and open the file.
-" fname : Name of the file to open
-" esc_fname : File name with special characters escaped
-function! s:MRU_Open_File_In_Tab(fname, esc_fname)
- " If the selected file is already open in the current tab or in
- " another tab, jump to it. Otherwise open it in a new tab
- if bufwinnr('^' . a:fname . '$') == -1
- let tabnum = -1
- let i = 1
- let bnum = bufnr('^' . a:fname . '$')
- while i <= tabpagenr('$')
- if index(tabpagebuflist(i), bnum) != -1
- let tabnum = i
- break
- endif
- let i += 1
- endwhile
-
- if tabnum != -1
- " Goto the tab containing the file
- exe 'tabnext ' . i
- else
- " Open a new tab as the last tab page
- exe '999tabnew ' . a:esc_fname
- endif
- endif
-
- " Jump to the window containing the file
- let winnum = bufwinnr('^' . a:fname . '$')
- if winnum != winnr()
- exe winnum . 'wincmd w'
- endif
-endfunction
-
-" MRU_Window_Edit_File {{{1
-" fname : Name of the file to edit. May specify single or multiple
-" files.
-" edit_type : Specifies how to edit the file. Can be one of 'edit' or 'view'.
-" 'view' - Open the file as a read-only file
-" 'edit' - Edit the file as a regular file
-" multi : Specifies whether a single file or multiple files need to be
-" opened.
-" open_type : Specifies where to open the file. Can be one of 'useopen' or
-" 'newwin' or 'newtab'.
-" useopen - If the file is already present in a window, then
-" jump to that window. Otherwise, open the file in
-" the previous window.
-" newwin_horiz - Open the file in a new horizontal window.
-" newwin_vert - Open the file in a new vertical window.
-" newtab - Open the file in a new tab. If the file is already
-" opened in a tab, then jump to that tab.
-function! s:MRU_Window_Edit_File(fname, multi, edit_type, open_type)
- let esc_fname = s:MRU_escape_filename(a:fname)
-
- if a:open_type == 'newwin_horiz'
- " Edit the file in a new horizontally split window above the previous
- " window
- wincmd p
- exe 'belowright new ' . esc_fname
- elseif a:open_type == 'newwin_vert'
- " Edit the file in a new vertically split window above the previous
- " window
- wincmd p
- exe 'belowright vnew ' . esc_fname
- elseif a:open_type == 'newtab' || g:MRU_Open_File_Use_Tabs
- call s:MRU_Open_File_In_Tab(a:fname, esc_fname)
- else
- " If the selected file is already open in one of the windows,
- " jump to it
- let winnum = bufwinnr('^' . a:fname . '$')
- if winnum != -1
- exe winnum . 'wincmd w'
- else
- if g:MRU_Auto_Close == 1 && g:MRU_Use_Current_Window == 0
- " Jump to the window from which the MRU window was opened
- if exists('s:MRU_last_buffer')
- let last_winnr = bufwinnr(s:MRU_last_buffer)
- if last_winnr != -1 && last_winnr != winnr()
- exe last_winnr . 'wincmd w'
- endif
- endif
- else
- if g:MRU_Use_Current_Window == 0
- " Goto the previous window
- " If MRU_Use_Current_Window is set to one, then the
- " current window is used to open the file
- wincmd p
- endif
- endif
-
- let split_window = 0
-
- if &modified || &previewwindow || a:multi
- " Current buffer has unsaved changes or is the preview window
- " or the user is opening multiple files
- " So open the file in a new window
- let split_window = 1
- endif
-
- if &buftype != ''
- " Current buffer is a special buffer (maybe used by a plugin)
- if g:MRU_Use_Current_Window == 0 ||
- \ bufnr('%') != bufnr('__MRU_Files__')
- let split_window = 1
- endif
- endif
-
- " Edit the file
- if split_window
- " Current buffer has unsaved changes or is a special buffer or
- " is the preview window. So open the file in a new window
- if a:edit_type == 'edit'
- exe 'split ' . esc_fname
- else
- exe 'sview ' . esc_fname
- endif
- else
- if a:edit_type == 'edit'
- exe 'edit ' . esc_fname
- else
- exe 'view ' . esc_fname
- endif
- endif
- endif
- endif
-endfunction
-
-" MRU_Select_File_Cmd {{{1
-" Open a file selected from the MRU window
-"
-" 'opt' has two values separated by comma. The first value specifies how to
-" edit the file and can be either 'edit' or 'view'. The second value
-" specifies where to open the file. It can take one of the following values:
-" 'useopen' to open file in the previous window
-" 'newwin_horiz' to open the file in a new horizontal split window
-" 'newwin_vert' to open the file in a new vertical split window.
-" 'newtab' to open the file in a new tab.
-" If multiple file names are selected using visual mode, then open multiple
-" files (either in split windows or tabs)
-function! s:MRU_Select_File_Cmd(opt) range
- let [edit_type, open_type] = split(a:opt, ',')
-
- let fnames = getline(a:firstline, a:lastline)
-
- if g:MRU_Auto_Close == 1 && g:MRU_Use_Current_Window == 0
- " Automatically close the window if the file window is
- " not used to display the MRU list.
- silent! close
- endif
-
- let multi = 0
-
- for f in fnames
- if f == ''
- continue
- endif
-
- " The text in the MRU window contains the filename in parenthesis
- let file = matchstr(f, '(\zs.*\ze)')
-
- call s:MRU_Window_Edit_File(file, multi, edit_type, open_type)
-
- if a:firstline != a:lastline
- " Opening multiple files
- let multi = 1
- endif
- endfor
-endfunction
-
-" MRU_Warn_Msg {{{1
-" Display a warning message
-function! s:MRU_Warn_Msg(msg)
- echohl WarningMsg
- echo a:msg
- echohl None
-endfunction
-
-" MRU_Open_Window {{{1
-" Display the Most Recently Used file list in a temporary window.
-" If the optional argument is supplied, then it specifies the pattern of files
-" to selectively display in the MRU window.
-function! s:MRU_Open_Window(...)
-
- " Load the latest MRU file list
- call s:MRU_LoadList()
-
- " Check for empty MRU list
- if empty(s:MRU_files)
- call s:MRU_Warn_Msg('MRU file list is empty')
- return
- endif
-
- " Save the current buffer number. This is used later to open a file when a
- " entry is selected from the MRU window. The window number is not saved,
- " as the window number will change when new windows are opened.
- let s:MRU_last_buffer = bufnr('%')
-
- let bname = '__MRU_Files__'
-
- " If the window is already open, jump to it
- let winnum = bufwinnr(bname)
- if winnum != -1
- if winnr() != winnum
- " If not already in the window, jump to it
- exe winnum . 'wincmd w'
- endif
-
- setlocal modifiable
-
- " Delete the contents of the buffer to the black-hole register
- silent! %delete _
- else
- if g:MRU_Use_Current_Window
- " Reuse the current window
- "
- " If the __MRU_Files__ buffer exists, then reuse it. Otherwise open
- " a new buffer
- let bufnum = bufnr(bname)
- if bufnum == -1
- let cmd = 'edit ' . bname
- else
- let cmd = 'buffer ' . bufnum
- endif
-
- exe cmd
-
- if bufnr('%') != bufnr(bname)
- " Failed to edit the MRU buffer
- return
- endif
- else
- " Open a new window at the bottom
-
- " If the __MRU_Files__ buffer exists, then reuse it. Otherwise open
- " a new buffer
- let bufnum = bufnr(bname)
- if bufnum == -1
- let wcmd = bname
- else
- let wcmd = '+buffer' . bufnum
- endif
-
- exe 'silent! botright ' . g:MRU_Window_Height . 'split ' . wcmd
- endif
- endif
-
- " Mark the buffer as scratch
- setlocal buftype=nofile
- setlocal bufhidden=delete
- setlocal noswapfile
- setlocal nowrap
- setlocal nobuflisted
- " Use fixed height for the MRU window
- setlocal winfixheight
-
- call MRU_SetupSyntax()
-
- " Setup the cpoptions properly for the maps to work
- let old_cpoptions = &cpoptions
- set cpoptions&vim
-
- " Create mappings to select and edit a file from the MRU list
- nnoremap
- \ :call MRU_Select_File_Cmd('edit,useopen')
- vnoremap
- \ :call MRU_Select_File_Cmd('edit,useopen')
- nnoremap o
- \ :call MRU_Select_File_Cmd('edit,newwin_horiz')
- vnoremap o
- \ :call MRU_Select_File_Cmd('edit,newwin_horiz')
- nnoremap O
- \ :call MRU_Select_File_Cmd('edit,newwin_vert')
- vnoremap O
- \ :call MRU_Select_File_Cmd('edit,newwin_vert')
- nnoremap t
- \ :call MRU_Select_File_Cmd('edit,newtab')
- vnoremap t
- \ :call MRU_Select_File_Cmd('edit,newtab')
- nnoremap v
- \ :call MRU_Select_File_Cmd('view,useopen')
- nnoremap u :MRU
- nnoremap <2-LeftMouse>
- \ :call MRU_Select_File_Cmd('edit,useopen')
- nnoremap q :close
-
- " Restore the previous cpoptions settings
- let &cpoptions = old_cpoptions
-
- " Display the MRU list
- if a:0 == 0
- " No search pattern specified. Display the complete list
- let m = copy(s:MRU_files)
- else
- " Display only the entries matching the specified pattern
- " First try using it as a literal pattern
- let m = filter(copy(s:MRU_files), 'stridx(v:val, a:1) != -1')
- if len(m) == 0
- " No match. Try using it as a regular expression
- let m = filter(copy(s:MRU_files), 'v:val =~# a:1')
- endif
- endif
-
- " Get the tail part of the file name (without the directory) and display
- " it along with the full path
- let output = map(m, 'fnamemodify(v:val, ":t") . " (" . v:val . ")"')
- silent! 0put =output
-
- " Delete the empty line at the end of the buffer
- $delete
-
- " Move the cursor to the beginning of the file
- normal! gg
-
- setlocal nomodifiable
-endfunction
-
-" MRU_Complete {{{1
-" Command-line completion function used by :MRU command
-function! s:MRU_Complete(ArgLead, CmdLine, CursorPos)
- if a:ArgLead == ''
- " Return the complete list of MRU files
- return s:MRU_files
- else
- " Return only the files matching the specified pattern
- return filter(copy(s:MRU_files), 'v:val =~? a:ArgLead')
- endif
-endfunction
-
-" MRU_Cmd {{{1
-" Function to handle the MRU command
-" pat - File name pattern passed to the MRU command
-function! s:MRU_Cmd(pat)
- if a:pat == ''
- " No arguments specified. Open the MRU window
- call s:MRU_Open_Window()
- return
- endif
-
- " Load the latest MRU file
- call s:MRU_LoadList()
-
- " Empty MRU list
- if empty(s:MRU_files)
- call s:MRU_Warn_Msg('MRU file list is empty')
- return
- endif
-
- " First use the specified string as a literal string and search for
- " filenames containing the string. If only one filename is found,
- " then edit it (unless the user wants to open the MRU window always)
- let m = filter(copy(s:MRU_files), 'stridx(v:val, a:pat) != -1')
- if len(m) > 0
- if len(m) == 1 && !g:MRU_Window_Open_Always
- call s:MRU_Edit_File(m[0], 0)
- return
- endif
-
- " More than one file matches. Try find an accurate match
- let new_m = filter(m, 'v:val ==# a:pat')
- if len(new_m) == 1 && !g:MRU_Window_Open_Always
- call s:MRU_Edit_File(new_m[0], 0)
- return
- endif
-
- " Couldn't find an exact match, open the MRU window with all the
- " files matching the pattern.
- call s:MRU_Open_Window(a:pat)
- return
- endif
-
- " Use the specified string as a regular expression pattern and search
- " for filenames matching the pattern
- let m = filter(copy(s:MRU_files), 'v:val =~? a:pat')
-
- if len(m) == 0
- " If an existing file (not present in the MRU list) is specified,
- " then open the file.
- if filereadable(a:pat)
- call s:MRU_Edit_File(a:pat, 0)
- return
- endif
-
- " No filenames matching the specified pattern are found
- call s:MRU_Warn_Msg("MRU file list doesn't contain " .
- \ "files matching " . a:pat)
- return
- endif
-
- if len(m) == 1 && !g:MRU_Window_Open_Always
- call s:MRU_Edit_File(m[0], 0)
- return
- endif
-
- call s:MRU_Open_Window(a:pat)
-endfunction
-
-" MRU_add_files_to_menu {{{1
-" Adds a list of files to the "Recent Files" sub menu under the "File" menu.
-" prefix - Prefix to use for each of the menu entries
-" file_list - List of file names to add to the menu
-function! s:MRU_add_files_to_menu(prefix, file_list)
- for fname in a:file_list
- " Escape special characters in the filename
- let esc_fname = escape(fnamemodify(fname, ':t'), ".\\" .
- \ s:esc_filename_chars)
- let esc_fname = substitute(esc_fname, '&', '&&', 'g')
-
- " Truncate the directory name if it is long
- let dir_name = fnamemodify(fname, ':h')
- let len = strlen(dir_name)
- " Shorten long file names by adding only few characters from
- " the beginning and end.
- if len > 30
- let dir_name = strpart(dir_name, 0, 10) .
- \ '...' .
- \ strpart(dir_name, len - 20)
- endif
- let esc_dir_name = escape(dir_name, ".\\" . s:esc_filename_chars)
- let esc_dir_name = substitute(esc_dir_name, '&', '&&', 'g')
-
- let menu_path = '&File.&Recent\ Files.' . a:prefix . esc_fname .
- \ '\ (' . esc_dir_name . ')'
- let esc_mfname = s:MRU_escape_filename(fname)
- exe 'anoremenu ' . menu_path .
- \ " :call MRU_Edit_File('" . esc_mfname . "', 1)"
- exe 'tmenu ' . menu_path . ' Edit file ' . esc_mfname
- endfor
-endfunction
-
-" MRU_Refresh_Menu {{{1
-" Refresh the MRU menu
-function! s:MRU_Refresh_Menu()
- if !has('menu') || !g:MRU_Add_Menu
- " No support for menus
- return
- endif
-
- " Setup the cpoptions properly for the maps to work
- let old_cpoptions = &cpoptions
- set cpoptions&vim
-
- " Remove the MRU menu
- " To retain the teared-off MRU menu, we need to add a dummy entry
- silent! unmenu &File.&Recent\ Files
- " The menu priority of the File menu is 10. If the MRU plugin runs
- " first before menu.vim, the File menu order may not be correct.
- " So specify the priority of the File menu here.
- 10noremenu &File.&Recent\ Files.Dummy
- silent! unmenu! &File.&Recent\ Files
-
- anoremenu &File.&Recent\ Files.Refresh\ list
- \ :call MRU_LoadList()
- exe 'tmenu File.&Recent\ Files.Refresh\ list Reload the MRU file list from '
- \ . s:MRU_escape_filename(g:MRU_File)
- anoremenu File.&Recent\ Files.-SEP1- :
-
- " Add the filenames in the MRU list to the menu
- let entry_cnt = len(s:MRU_files)
- if entry_cnt > g:MRU_Max_Menu_Entries
- " Show only MRU_Max_Menu_Entries file names in the menu
- let mru_list = s:MRU_files[1 : g:MRU_Max_Menu_Entries]
- let entry_cnt = g:MRU_Max_Menu_Entries
- else
- let mru_list = s:MRU_files
- endif
- if entry_cnt > g:MRU_Max_Submenu_Entries
- " Split the MRU menu into sub-menus
- for start_idx in range(0, entry_cnt, g:MRU_Max_Submenu_Entries)
- let last_idx = start_idx + g:MRU_Max_Submenu_Entries - 1
- if last_idx >= entry_cnt
- let last_idx = entry_cnt - 1
- endif
- let prefix = 'Files\ (' . (start_idx + 1) . '\.\.\.' .
- \ (last_idx + 1) . ').'
- call s:MRU_add_files_to_menu(prefix,
- \ mru_list[start_idx : last_idx])
- endfor
- else
- call s:MRU_add_files_to_menu('', mru_list)
- endif
-
- " Remove the dummy menu entry
- unmenu &File.&Recent\ Files.Dummy
-
- " Restore the previous cpoptions settings
- let &cpoptions = old_cpoptions
-endfunction
-
-" Setup syntax highlight
-function! MRU_SetupSyntax()
- if has("syntax")
- syn match mruName /.\+\s/
- syn match mruDir /(.\+)/
- hi def link mruDir Folded
- hi def link mruName String
- endif
-endfunction
-
-" Load the MRU list on plugin startup
-call s:MRU_LoadList()
-
-" MRU autocommands {{{1
-" Autocommands to detect the most recently used files
-autocmd BufRead * call s:MRU_AddFile(expand(''))
-autocmd BufNewFile * call s:MRU_AddFile(expand(''))
-autocmd BufWritePost * call s:MRU_AddFile(expand(''))
-
-" The ':vimgrep' command adds all the files searched to the buffer list.
-" This also modifies the MRU list, even though the user didn't edit the
-" files. Use the following autocmds to prevent this.
-autocmd QuickFixCmdPre *vimgrep* let s:mru_list_locked = 1
-autocmd QuickFixCmdPost *vimgrep* let s:mru_list_locked = 0
-
-" Command to open the MRU window
-command! -nargs=? -complete=customlist,s:MRU_Complete MRU
- \ call s:MRU_Cmd()
-command! -nargs=? -complete=customlist,s:MRU_Complete Mru
- \ call s:MRU_Cmd()
-
-" }}}
-
-" restore 'cpo'
-let &cpo = s:cpo_save
-unlet s:cpo_save
-
-" vim:set foldenable foldmethod=marker:
diff --git a/sources_forked/peaksea/colors/peaksea.vim b/sources_forked/peaksea/colors/peaksea.vim
deleted file mode 100644
index 78481e0f..00000000
--- a/sources_forked/peaksea/colors/peaksea.vim
+++ /dev/null
@@ -1,606 +0,0 @@
-" Vim color file --- psc (peak sea color) "Lite version"
-" Maintainer: Pan, Shi Zhu
-" URL: http://vim.sourceforge.net/scripts/script.php?script_id=760
-" Last Change: 5 Feb 2010
-" Version: 3.4
-"
-" Comments and e-mails are welcomed, thanks.
-"
-" The peaksea color is simply a colorscheme with the default settings of
-" the original ps_color. Lite version means there's no custom settings
-" and fancy features such as integration with reloaded.vim
-"
-" The full version of ps_color.vim will be maintained until Vim 8.
-" By then there will be only the lite version: peaksea.vim
-"
-" Note: Please set the background option in your .vimrc and/or .gvimrc
-"
-" It is much better *not* to set 'background' option inside
-" a colorscheme file. because ":set background" improperly
-" may cause colorscheme be sourced twice
-"
-" Color Scheme Overview:
-" :ru syntax/hitest.vim
-"
-" Relevant Help:
-" :h highlight-groups
-" :h psc-cterm-color-table
-"
-" Colors Order:
-" #rrggbb
-"
-
-hi clear
-
-if exists("syntax_on")
- syntax reset
-endif
-
-let g:colors_name = "peaksea"
-
-" I don't want to abuse folding, but here folding is used to avoid confusion.
-if &background=='light'
- " for background=light {{{2
- " LIGHT COLOR DEFINE START
-
- hi Normal guifg=#000000 guibg=#e0e0e0 gui=NONE
- hi Search guifg=White guibg=DarkRed gui=NONE
- hi Visual guifg=NONE guibg=#a6caf0 gui=NONE
- hi Cursor guifg=#f0f0f0 guibg=#008000 gui=NONE
- " The idea of CursorIM is pretty good, however, the feature is still buggy
- " in the current version (Vim 7.0).
- " The following line will be kept commented until the bug fixed.
- "
- " hi CursorIM guifg=#f0f0f0 guibg=#800080
- hi Special guifg=#907000 guibg=NONE gui=NONE
- hi Comment guifg=#606000 guibg=NONE gui=NONE
- hi Number guifg=#907000 guibg=NONE gui=NONE
- hi Constant guifg=#007068 guibg=NONE gui=NONE
- hi StatusLine guifg=fg guibg=#a6caf0 gui=NONE
- hi LineNr guifg=#686868 guibg=NONE gui=NONE
- hi Question guifg=fg guibg=#d0d090 gui=NONE
- hi PreProc guifg=#009030 guibg=NONE gui=NONE
- hi Statement guifg=#2060a8 guibg=NONE gui=NONE
- hi Type guifg=#0850a0 guibg=NONE gui=NONE
- hi Todo guifg=#800000 guibg=#e0e090 gui=NONE
- " NOTE THIS IS IN THE WARM SECTION
- hi Error guifg=#c03000 guibg=NONE gui=NONE
- hi Identifier guifg=#a030a0 guibg=NONE gui=NONE
- hi ModeMsg guifg=fg guibg=#b0b0e0 gui=NONE
- hi VisualNOS guifg=fg guibg=#b0b0e0 gui=NONE
- hi SpecialKey guifg=#1050a0 guibg=NONE gui=NONE
- hi NonText guifg=#002090 guibg=#d0d0d0 gui=NONE
- hi Directory guifg=#a030a0 guibg=NONE gui=NONE
- hi ErrorMsg guifg=fg guibg=#f0b090 gui=NONE
- hi MoreMsg guifg=#489000 guibg=NONE gui=NONE
- hi Title guifg=#a030a0 guibg=NONE gui=NONE
- hi WarningMsg guifg=#b02000 guibg=NONE gui=NONE
- hi WildMenu guifg=fg guibg=#d0d090 gui=NONE
- hi Folded guifg=NONE guibg=#b0e0b0 gui=NONE
- hi FoldColumn guifg=fg guibg=#90e090 gui=NONE
- hi DiffAdd guifg=NONE guibg=#b0b0e0 gui=NONE
- hi DiffChange guifg=NONE guibg=#e0b0e0 gui=NONE
- hi DiffDelete guifg=#002090 guibg=#d0d0d0 gui=NONE
- hi DiffText guifg=NONE guibg=#c0e080 gui=NONE
- hi SignColumn guifg=fg guibg=#90e090 gui=NONE
-
- hi IncSearch guifg=White guibg=DarkRed gui=NONE
- hi StatusLineNC guifg=fg guibg=#c0c0c0 gui=NONE
- hi VertSplit guifg=fg guibg=#c0c0c0 gui=NONE
- hi Underlined guifg=#6a5acd guibg=NONE gui=underline
- hi Ignore guifg=bg guibg=NONE
- " NOTE THIS IS IN THE WARM SECTION
- if v:version >= 700
- if has('spell')
- hi SpellBad guifg=NONE guibg=NONE guisp=#c03000
- hi SpellCap guifg=NONE guibg=NONE guisp=#2060a8
- hi SpellRare guifg=NONE guibg=NONE guisp=#a030a0
- hi SpellLocal guifg=NONE guibg=NONE guisp=#007068
- endif
- hi Pmenu guifg=fg guibg=#e0b0e0
- hi PmenuSel guifg=#f0f0f0 guibg=#806060 gui=NONE
- hi PmenuSbar guifg=fg guibg=#c0c0c0 gui=NONE
- hi PmenuThumb guifg=fg guibg=#c0e080 gui=NONE
- hi TabLine guifg=fg guibg=#c0c0c0 gui=NONE
- hi TabLineFill guifg=fg guibg=#c0c0c0 gui=NONE
- hi TabLineSel guifg=fg guibg=NONE gui=NONE
- hi CursorColumn guifg=NONE guibg=#f0b090
- hi CursorLine guifg=NONE guibg=NONE gui=underline
- hi MatchParen guifg=NONE guibg=#c0e080
- endif
-
- " LIGHT COLOR DEFINE END
-
- " Vim 7 added stuffs
- if v:version >= 700
- hi Ignore gui=NONE
-
- " the gui=undercurl guisp could only support in Vim 7
- if has('spell')
- hi SpellBad gui=undercurl
- hi SpellCap gui=undercurl
- hi SpellRare gui=undercurl
- hi SpellLocal gui=undercurl
- endif
- hi TabLine gui=underline
- hi TabLineFill gui=underline
- hi CursorLine gui=underline
- endif
-
- " For reversed stuffs, clear the reversed prop and set the bold prop again
- hi IncSearch gui=bold
- hi StatusLine gui=bold
- hi StatusLineNC gui=bold
- hi VertSplit gui=bold
- hi Visual gui=bold
-
- " Enable the bold property
- hi Question gui=bold
- hi DiffText gui=bold
- hi Statement gui=bold
- hi Type gui=bold
- hi MoreMsg gui=bold
- hi ModeMsg gui=bold
- hi NonText gui=bold
- hi Title gui=bold
- hi DiffDelete gui=bold
- hi TabLineSel gui=bold
-
- " gui define for background=light end here
-
- " generally, a dumb terminal is dark, we assume the light terminal has 256
- " color support.
- if &t_Co==8 || &t_Co==16
- set t_Co=256
- endif
- if &t_Co==256
- " 256color light terminal support here
-
- hi Normal ctermfg=16 ctermbg=254 cterm=NONE
- " Comment/Uncomment the following line to disable/enable transparency
- "hi Normal ctermfg=16 ctermbg=NONE cterm=NONE
- hi Search ctermfg=White ctermbg=DarkRed cterm=NONE
- hi Visual ctermfg=NONE ctermbg=153 cterm=NONE
- hi Cursor ctermfg=255 ctermbg=28 cterm=NONE
- " hi CursorIM ctermfg=255 ctermbg=90
- hi Special ctermfg=94 ctermbg=NONE cterm=NONE
- hi Comment ctermfg=58 ctermbg=NONE cterm=NONE
- hi Number ctermfg=94 ctermbg=NONE cterm=NONE
- hi Constant ctermfg=23 ctermbg=NONE cterm=NONE
- hi StatusLine ctermfg=fg ctermbg=153 cterm=NONE
- hi LineNr ctermfg=242 ctermbg=NONE cterm=NONE
- hi Question ctermfg=fg ctermbg=186 cterm=NONE
- hi PreProc ctermfg=29 ctermbg=NONE cterm=NONE
- hi Statement ctermfg=25 ctermbg=NONE cterm=NONE
- hi Type ctermfg=25 ctermbg=NONE cterm=NONE
- hi Todo ctermfg=88 ctermbg=186 cterm=NONE
- " NOTE THIS IS IN THE WARM SECTION
- hi Error ctermfg=130 ctermbg=NONE cterm=NONE
- hi Identifier ctermfg=133 ctermbg=NONE cterm=NONE
- hi ModeMsg ctermfg=fg ctermbg=146 cterm=NONE
- hi VisualNOS ctermfg=fg ctermbg=146 cterm=NONE
- hi SpecialKey ctermfg=25 ctermbg=NONE cterm=NONE
- hi NonText ctermfg=18 ctermbg=252 cterm=NONE
- " Comment/Uncomment the following line to disable/enable transparency
- "hi NonText ctermfg=18 ctermbg=NONE cterm=NONE
- hi Directory ctermfg=133 ctermbg=NONE cterm=NONE
- hi ErrorMsg ctermfg=fg ctermbg=216 cterm=NONE
- hi MoreMsg ctermfg=64 ctermbg=NONE cterm=NONE
- hi Title ctermfg=133 ctermbg=NONE cterm=NONE
- hi WarningMsg ctermfg=124 ctermbg=NONE cterm=NONE
- hi WildMenu ctermfg=fg ctermbg=186 cterm=NONE
- hi Folded ctermfg=NONE ctermbg=151 cterm=NONE
- hi FoldColumn ctermfg=fg ctermbg=114 cterm=NONE
- hi DiffAdd ctermfg=NONE ctermbg=146 cterm=NONE
- hi DiffChange ctermfg=NONE ctermbg=182 cterm=NONE
- hi DiffDelete ctermfg=18 ctermbg=252 cterm=NONE
- hi DiffText ctermfg=NONE ctermbg=150 cterm=NONE
- hi SignColumn ctermfg=fg ctermbg=114 cterm=NONE
-
- hi IncSearch ctermfg=White ctermbg=DarkRed cterm=NONE
- hi StatusLineNC ctermfg=fg ctermbg=250 cterm=NONE
- hi VertSplit ctermfg=fg ctermbg=250 cterm=NONE
- hi Underlined ctermfg=62 ctermbg=NONE cterm=underline
- hi Ignore ctermfg=bg ctermbg=NONE
- " NOTE THIS IS IN THE WARM SECTION
- if v:version >= 700
- if has('spell')
- if 0
- " ctermsp is not supported in Vim7, we ignore it.
- hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=130
- hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=25
- hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=133
- hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=23
- else
- hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
- endif
- endif
- hi Pmenu ctermfg=fg ctermbg=182
- hi PmenuSel ctermfg=255 ctermbg=95 cterm=NONE
- hi PmenuSbar ctermfg=fg ctermbg=250 cterm=NONE
- hi PmenuThumb ctermfg=fg ctermbg=150 cterm=NONE
- hi TabLine ctermfg=fg ctermbg=250 cterm=NONE
- hi TabLineFill ctermfg=fg ctermbg=250 cterm=NONE
- hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
- hi CursorColumn ctermfg=NONE ctermbg=216
- hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
- hi MatchParen ctermfg=NONE ctermbg=150
- endif
-
- hi TabLine cterm=underline
- hi TabLineFill cterm=underline
- hi CursorLine cterm=underline
-
- " For reversed stuffs, clear the reversed prop and set the bold prop again
- hi IncSearch cterm=bold
- hi StatusLine cterm=bold
- hi StatusLineNC cterm=bold
- hi VertSplit cterm=bold
- hi Visual cterm=bold
-
- hi NonText cterm=bold
- hi Question cterm=bold
- hi Title cterm=bold
- hi DiffDelete cterm=bold
- hi DiffText cterm=bold
- hi Statement cterm=bold
- hi Type cterm=bold
- hi MoreMsg cterm=bold
- hi ModeMsg cterm=bold
- hi TabLineSel cterm=bold
-
- "hi lCursor ctermfg=bg ctermbg=fg cterm=NONE
- endif " t_Co==256
- " }}}2
-elseif &background=='dark'
- " for background=dark {{{2
- " DARK COLOR DEFINE START
-
- hi Normal guifg=#d0d0d0 guibg=#202020 gui=NONE
- hi Comment guifg=#d0d090 guibg=NONE gui=NONE
- hi Constant guifg=#80c0e0 guibg=NONE gui=NONE
- hi Number guifg=#e0c060 guibg=NONE gui=NONE
- hi Identifier guifg=#f0c0f0 guibg=NONE gui=NONE
- hi Statement guifg=#c0d8f8 guibg=NONE gui=NONE
- hi PreProc guifg=#60f080 guibg=NONE gui=NONE
- hi Type guifg=#b0d0f0 guibg=NONE gui=NONE
- hi Special guifg=#e0c060 guibg=NONE gui=NONE
- hi Error guifg=#f08060 guibg=NONE gui=NONE
- hi Todo guifg=#800000 guibg=#d0d090 gui=NONE
- hi Search guifg=White guibg=DarkRed gui=NONE
- hi Visual guifg=#000000 guibg=#a6caf0 gui=NONE
- hi Cursor guifg=#000000 guibg=#00f000 gui=NONE
- " NOTE THIS IS IN THE COOL SECTION
- " hi CursorIM guifg=#000000 guibg=#f000f0 gui=NONE
- hi StatusLine guifg=#000000 guibg=#a6caf0 gui=NONE
- hi LineNr guifg=#b0b0b0 guibg=NONE gui=NONE
- hi Question guifg=#000000 guibg=#d0d090 gui=NONE
- hi ModeMsg guifg=fg guibg=#000080 gui=NONE
- hi VisualNOS guifg=fg guibg=#000080 gui=NONE
- hi SpecialKey guifg=#b0d0f0 guibg=NONE gui=NONE
- hi NonText guifg=#202020 guibg=#202020 gui=NONE
- hi Directory guifg=#80c0e0 guibg=NONE gui=NONE
- hi ErrorMsg guifg=#d0d090 guibg=#800000 gui=NONE
- hi MoreMsg guifg=#c0e080 guibg=NONE gui=NONE
- hi Title guifg=#f0c0f0 guibg=NONE gui=NONE
- hi WarningMsg guifg=#f08060 guibg=NONE gui=NONE
- hi WildMenu guifg=#000000 guibg=#d0d090 gui=NONE
- hi Folded guifg=#aaaaaa guibg=#333333 gui=NONE
- hi FoldColumn guifg=#202020 guibg=#202020 gui=NONE
- hi DiffAdd guifg=NONE guibg=#000080 gui=NONE
- hi DiffChange guifg=NONE guibg=#800080 gui=NONE
- hi DiffDelete guifg=#6080f0 guibg=#202020 gui=NONE
- hi DiffText guifg=#000000 guibg=#c0e080 gui=NONE
- hi SignColumn guifg=#e0e0e0 guibg=#202020 gui=NONE
- hi IncSearch guifg=White guibg=DarkRed gui=NONE
- hi StatusLineNC guifg=#000000 guibg=#c0c0c0 gui=NONE
- hi VertSplit guifg=#000000 guibg=#c0c0c0 gui=NONE
- hi Underlined guifg=#80a0ff guibg=NONE gui=underline
- hi Ignore guifg=#000000 guibg=NONE
- " NOTE THIS IS IN THE COOL SECTION
- if v:version >= 700
- if has('spell')
- " the guisp= could only support in Vim 7
- hi SpellBad guifg=NONE guibg=NONE guisp=#f08060
- hi SpellCap guifg=NONE guibg=NONE guisp=#6080f0
- hi SpellRare guifg=NONE guibg=NONE guisp=#f0c0f0
- hi SpellLocal guifg=NONE guibg=NONE guisp=#c0d8f8
- endif
-
- hi Pmenu guifg=#dddddd guibg=#444444 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
- hi PmenuSel guifg=#000000 guibg=#ffffff gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-
- hi TabLine guifg=fg guibg=#008000 gui=NONE
- hi TabLineFill guifg=fg guibg=#008000 gui=NONE
- hi TabLineSel guifg=fg guibg=NONE gui=NONE
- hi CursorColumn guifg=NONE guibg=#800000 gui=NONE
- hi CursorLine guifg=NONE guibg=NONE gui=underline
- hi MatchParen guifg=NONE guibg=#800080
- endif
-
- " DARK COLOR DEFINE END
-
- " Vim 7 added stuffs
- if v:version >= 700
- hi Ignore gui=NONE
-
- " the gui=undercurl could only support in Vim 7
- if has('spell')
- hi SpellBad gui=undercurl
- hi SpellCap gui=undercurl
- hi SpellRare gui=undercurl
- hi SpellLocal gui=undercurl
- endif
- hi TabLine gui=underline
- hi TabLineFill gui=underline
- hi Underlined gui=underline
- hi CursorLine gui=underline
- endif
-
- " gui define for background=dark end here
-
- if &t_Co==8 || &t_Co==16
- " for 8-color and 16-color term
- hi Normal ctermfg=LightGrey ctermbg=Black
- hi Special ctermfg=Yellow ctermbg=bg
- hi Comment ctermfg=DarkYellow ctermbg=bg
- hi Constant ctermfg=Blue ctermbg=bg
- hi Number ctermfg=Yellow ctermbg=bg
- hi LineNr ctermfg=DarkGrey ctermbg=bg
- hi PreProc ctermfg=Green ctermbg=bg
- hi Statement ctermfg=Cyan ctermbg=bg
- hi Type ctermfg=Cyan ctermbg=bg
- hi Error ctermfg=Red ctermbg=bg
- hi Identifier ctermfg=Magenta ctermbg=bg
- hi SpecialKey ctermfg=Cyan ctermbg=bg
- hi NonText ctermfg=Blue ctermbg=bg
- hi Directory ctermfg=Blue ctermbg=bg
- hi MoreMsg ctermfg=Green ctermbg=bg
- hi Title ctermfg=Magenta ctermbg=bg
- hi WarningMsg ctermfg=Red ctermbg=bg
- hi DiffDelete ctermfg=Blue ctermbg=bg
-
- hi Search ctermfg=NONE ctermbg=DarkRed
- hi Visual ctermfg=Black ctermbg=DarkCyan
- hi Cursor ctermfg=Black ctermbg=Green
- hi StatusLine ctermfg=Black ctermbg=DarkCyan
- hi Question ctermfg=Black ctermbg=DarkYellow
- hi Todo ctermfg=DarkRed ctermbg=DarkYellow
- hi Folded ctermfg=DarkGrey ctermbg=DarkGrey
- hi FoldColumn ctermfg=DarkGrey ctermbg=DarkGrey
- hi ModeMsg ctermfg=Grey ctermbg=DarkBlue
- hi VisualNOS ctermfg=Grey ctermbg=DarkBlue
- hi ErrorMsg ctermfg=DarkYellow ctermbg=DarkRed
- hi WildMenu ctermfg=Black ctermbg=DarkYellow
- hi SignColumn ctermfg=White ctermbg=DarkGreen
- hi DiffText ctermfg=Black ctermbg=DarkYellow
-
- if v:version >= 700
- if has('spell')
- hi SpellBad ctermfg=NONE ctermbg=DarkRed
- hi SpellCap ctermfg=NONE ctermbg=DarkBlue
- hi SpellRare ctermfg=NONE ctermbg=DarkMagenta
- hi SpellLocal ctermfg=NONE ctermbg=DarkGreen
- endif
-
- hi Pmenu ctermfg=White ctermbg=DarkGrey
- hi PmenuSel ctermfg=Black ctermbg=White
-
- hi TabLine ctermfg=fg ctermbg=Black cterm=underline
- hi TabLineFill ctermfg=fg ctermbg=Black cterm=underline
- hi CursorColumn ctermfg=NONE ctermbg=DarkRed
-
- hi TabLineSel ctermfg=fg ctermbg=bg
- hi CursorLine ctermfg=NONE ctermbg=bg cterm=underline
-
- hi MatchParen ctermfg=NONE ctermbg=DarkMagenta
- endif
- if &t_Co==8
- " 8 colour terminal support, this assumes 16 colour is available through
- " setting the 'bold' attribute, will get bright foreground colour.
- " However, the bright background color is not available for 8-color terms.
- "
- " You can manually set t_Co=16 in your .vimrc to see if your terminal
- " supports 16 colours,
- hi DiffText cterm=none
- hi Visual cterm=none
- hi Cursor cterm=none
- hi Comment cterm=none
- hi Todo cterm=none
- hi StatusLine cterm=none
- hi Question cterm=none
- hi DiffChange cterm=none
- hi ModeMsg cterm=none
- hi VisualNOS cterm=none
- hi ErrorMsg cterm=none
- hi WildMenu cterm=none
- hi DiffAdd cterm=none
- hi Folded cterm=none
- hi DiffDelete cterm=none
- hi Normal cterm=none
- hi PmenuThumb cterm=none
- hi Search cterm=bold
- hi Special cterm=bold
- hi Constant cterm=bold
- hi Number cterm=bold
- hi LineNr cterm=bold
- hi PreProc cterm=bold
- hi Statement cterm=bold
- hi Type cterm=bold
- hi Error cterm=bold
- hi Identifier cterm=bold
- hi SpecialKey cterm=bold
- hi NonText cterm=bold
- hi MoreMsg cterm=bold
- hi Title cterm=bold
- hi WarningMsg cterm=bold
- hi FoldColumn cterm=bold
- hi SignColumn cterm=bold
- hi Directory cterm=bold
- hi DiffDelete cterm=bold
- else
- " Background > 7 is only available with 16 or more colors
-
- hi WarningMsg cterm=none
- hi Search cterm=none
- hi Visual cterm=none
- hi Cursor cterm=none
- hi Special cterm=none
- hi Comment cterm=none
- hi Constant cterm=none
- hi Number cterm=none
- hi LineNr cterm=none
- hi PreProc cterm=none
- hi Todo cterm=none
- hi Error cterm=none
- hi Identifier cterm=none
- hi Folded cterm=none
- hi SpecialKey cterm=none
- hi Directory cterm=none
- hi ErrorMsg cterm=none
- hi Normal cterm=none
- hi PmenuThumb cterm=none
- hi WildMenu cterm=none
- hi FoldColumn cterm=none
- hi SignColumn cterm=none
- hi DiffAdd cterm=none
- hi DiffChange cterm=none
- hi Question cterm=none
- hi StatusLine cterm=none
- hi DiffText cterm=none
- hi IncSearch cterm=reverse
- hi StatusLineNC cterm=reverse
- hi VertSplit cterm=reverse
-
- " Well, well, bold font with color 0-7 is not possible.
- " So, the Question, StatusLine, DiffText cannot act as expected.
-
- hi Statement cterm=none
- hi Type cterm=none
- hi MoreMsg cterm=none
- hi ModeMsg cterm=none
- hi NonText cterm=none
- hi Title cterm=none
- hi VisualNOS cterm=none
- hi DiffDelete cterm=none
- hi TabLineSel cterm=none
-
- endif
- elseif &t_Co==256
- " 256color dark terminal support here
- hi Normal ctermfg=252 ctermbg=234 cterm=NONE
- " Comment/Uncomment the following line to disable/enable transparency
- "hi Normal ctermfg=252 ctermbg=NONE cterm=NONE
- hi Comment ctermfg=186 ctermbg=NONE cterm=NONE
- hi Constant ctermfg=110 ctermbg=NONE cterm=NONE
- hi Number ctermfg=179 ctermbg=NONE cterm=NONE
- hi Identifier ctermfg=219 ctermbg=NONE cterm=NONE
- hi Statement ctermfg=153 ctermbg=NONE cterm=NONE
- hi PreProc ctermfg=84 ctermbg=NONE cterm=NONE
- hi Type ctermfg=153 ctermbg=NONE cterm=NONE
- hi Special ctermfg=179 ctermbg=NONE cterm=NONE
- hi Error ctermfg=209 ctermbg=NONE cterm=NONE
- hi Todo ctermfg=88 ctermbg=186 cterm=NONE
- hi Search ctermfg=White ctermbg=DarkRed cterm=NONE
- hi Visual ctermfg=16 ctermbg=153 cterm=NONE
- hi Cursor ctermfg=16 ctermbg=46 cterm=NONE
- " NOTE THIS IS IN THE COOL SECTION
- " hi CursorIM ctermfg=16 ctermbg=201 cterm=NONE
- hi StatusLine ctermfg=16 ctermbg=153 cterm=NONE
- hi LineNr ctermfg=249 ctermbg=NONE cterm=NONE
- hi Question ctermfg=16 ctermbg=186 cterm=NONE
- hi ModeMsg ctermfg=fg ctermbg=18 cterm=NONE
- hi VisualNOS ctermfg=fg ctermbg=18 cterm=NONE
- hi SpecialKey ctermfg=153 ctermbg=NONE cterm=NONE
- hi NonText ctermfg=69 ctermbg=233 cterm=NONE
- " Comment/Uncomment the following line to disable/enable transparency
- "hi NonText ctermfg=69 ctermbg=NONE cterm=NONE
- hi Directory ctermfg=110 ctermbg=NONE cterm=NONE
- hi ErrorMsg ctermfg=186 ctermbg=88 cterm=NONE
- hi MoreMsg ctermfg=150 ctermbg=NONE cterm=NONE
- hi Title ctermfg=219 ctermbg=NONE cterm=NONE
- hi WarningMsg ctermfg=209 ctermbg=NONE cterm=NONE
- hi WildMenu ctermfg=16 ctermbg=186 cterm=NONE
- hi Folded ctermfg=NONE ctermbg=DarkGrey cterm=NONE
- hi FoldColumn ctermfg=DarkGrey ctermbg=DarkGrey cterm=NONE
- hi DiffAdd ctermfg=NONE ctermbg=18 cterm=NONE
- hi DiffChange ctermfg=NONE ctermbg=90 cterm=NONE
- hi DiffDelete ctermfg=69 ctermbg=234 cterm=NONE
- hi DiffText ctermfg=16 ctermbg=150 cterm=NONE
- hi SignColumn ctermfg=254 ctermbg=28 cterm=NONE
- hi IncSearch ctermfg=White ctermbg=DarkRed cterm=NONE
- hi StatusLineNC ctermfg=16 ctermbg=250 cterm=NONE
- hi VertSplit ctermfg=16 ctermbg=250 cterm=NONE
- hi Underlined ctermfg=111 ctermbg=NONE cterm=underline
- hi Ignore ctermfg=16 ctermbg=NONE
- " NOTE THIS IS IN THE COOL SECTION
- if v:version >= 700
- if has('spell')
- " the ctermsp= is not supported in Vim 7 we simply ignored
- if 0
- hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=209
- hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=69
- hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=219
- hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=153
- else
- hi SpellBad cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellCap cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellRare cterm=undercurl ctermbg=NONE ctermfg=NONE
- hi SpellLocal cterm=undercurl ctermbg=NONE ctermfg=NONE
- endif
- endif
-
- hi Pmenu ctermfg=White ctermbg=DarkGrey
- hi PmenuSel ctermfg=Black ctermbg=White cterm=NONE
-
- hi TabLine ctermfg=fg ctermbg=Black cterm=NONE
- hi TabLineFill ctermfg=fg ctermbg=Black cterm=NONE
- hi TabLineSel ctermfg=fg ctermbg=NONE cterm=NONE
-
- hi CursorColumn ctermfg=NONE ctermbg=88 cterm=NONE
- hi CursorLine ctermfg=NONE ctermbg=NONE cterm=underline
- hi MatchParen ctermfg=NONE ctermbg=90
- hi TabLine cterm=underline
- hi TabLineFill cterm=underline
- hi Underlined cterm=underline
- hi CursorLine cterm=underline
- endif
-
- endif " t_Co
-
- " }}}2
-endif
-
-" Links:
-"
-" COLOR LINKS DEFINE START
-
-hi link String Constant
-" Character must be different from strings because in many languages
-" (especially C, C++) a 'char' variable is scalar while 'string' is pointer,
-" mistaken a 'char' for a 'string' will cause disaster!
-hi link Character Number
-hi link SpecialChar LineNr
-hi link Tag Identifier
-hi link cCppOut LineNr
-" The following are not standard hi links,
-" these are used by DrChip
-hi link Warning MoreMsg
-hi link Notice Constant
-" these are used by Calendar
-hi link CalToday PreProc
-" these are used by TagList
-hi link MyTagListTagName IncSearch
-hi link MyTagListTagScope Constant
-
-hi TabLineFill guifg=#9098a0 guibg=#111111
-hi TabLine guifg=black guibg=#888888
-hi TabLineSel guifg=white guibg=#202020 gui=bold
-
-" COLOR LINKS DEFINE END
-
-" vim:et:nosta:sw=2:ts=8:
-" vim600:fdm=marker:fdl=1:
diff --git a/sources_forked/set_tabline/plugin/set_tabline.vim b/sources_forked/set_tabline/plugin/set_tabline.vim
deleted file mode 100644
index 5d53e829..00000000
--- a/sources_forked/set_tabline/plugin/set_tabline.vim
+++ /dev/null
@@ -1,30 +0,0 @@
-function! CustomizedTabLine()
- let s = ''
- let t = tabpagenr()
- let i = 1
- while i <= tabpagenr('$')
- let buflist = tabpagebuflist(i)
- let winnr = tabpagewinnr(i)
- let s .= '%' . i . 'T'
- let s .= (i == t ? '%1*' : '%2*')
- let s .= ' '
- let s .= i . ':'
- let s .= '%*'
- let s .= (i == t ? '%#TabLineSel#' : '%#TabLine#')
- let file = bufname(buflist[winnr - 1])
- let file = fnamemodify(file, ':p:t')
- if file == ''
- let file = '[No Name]'
- endif
- let s .= file
- let s .= ' '
- let i = i + 1
- endwhile
- let s .= '%T%#TabLineFill#%='
- let s .= (tabpagenr('$') > 1 ? '%999XX' : 'X')
- return s
-endfunction
-
-" Always show the tablilne
-set stal=2
-set tabline=%!CustomizedTabLine()
diff --git a/sources_forked/vim-irblack-forked/README b/sources_forked/vim-irblack-forked/README
deleted file mode 100644
index 089fe730..00000000
--- a/sources_forked/vim-irblack-forked/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This is a version of Infinite Red's vim theme (http://blog.infinitered.com/entries/show/8) packaged to work with Tim Pope's pathogen plugin (http://www.vim.org/scripts/script.php?script_id=2332).
-
-To use it (assuming you're using pathogen):
-
-- go to your bundle directory (.vim/bundle or .vimbundles) and clone the repo:
-
- git clone git@github.com:wgibbs/vim-irblack.git
-
-- edit your .vimrc and add:
-
- :colorscheme ir_black
diff --git a/sources_forked/vim-irblack-forked/colors/ir_black.vim b/sources_forked/vim-irblack-forked/colors/ir_black.vim
deleted file mode 100644
index b06b12e2..00000000
--- a/sources_forked/vim-irblack-forked/colors/ir_black.vim
+++ /dev/null
@@ -1,220 +0,0 @@
-" ir_black color scheme
-" More at: http://blog.infinitered.com/entries/show/8
-
-
-" ********************************************************************************
-" Standard colors used in all ir_black themes:
-" Note, x:x:x are RGB values
-"
-" normal: #f6f3e8
-"
-" string: #A8FF60 168:255:96
-" string inner (punc, code, etc): #00A0A0 0:160:160
-" number: #FF73FD 255:115:253
-" comments: #7C7C7C 124:124:124
-" keywords: #96CBFE 150:203:254
-" operators: white
-" class: #FFFFB6 255:255:182
-" method declaration name: #FFD2A7 255:210:167
-" regular expression: #E9C062 233:192:98
-" regexp alternate: #FF8000 255:128:0
-" regexp alternate 2: #B18A3D 177:138:61
-" variable: #C6C5FE 198:197:254
-"
-" Misc colors:
-" red color (used for whatever): #FF6C60 255:108:96
-" light red: #FFB6B0 255:182:176
-"
-" brown: #E18964 good for special
-"
-" lightpurpleish: #FFCCFF
-"
-" Interface colors:
-" background color: black
-" cursor (where underscore is used): #FFA560 255:165:96
-" cursor (where block is used): white
-" visual selection: #1D1E2C
-" current line: #151515 21:21:21
-" search selection: #07281C 7:40:28
-" line number: #3D3D3D 61:61:61
-
-
-" ********************************************************************************
-" The following are the preferred 16 colors for your terminal
-" Colors Bright Colors
-" Black #4E4E4E #7C7C7C
-" Red #FF6C60 #FFB6B0
-" Green #A8FF60 #CEFFAB
-" Yellow #FFFFB6 #FFFFCB
-" Blue #96CBFE #FFFFCB
-" Magenta #FF73FD #FF9CFE
-" Cyan #C6C5FE #DFDFFE
-" White #EEEEEE #FFFFFF
-
-
-" ********************************************************************************
-set background=dark
-hi clear
-
-if exists("syntax_on")
- syntax reset
-endif
-
-let colors_name = "ir_black"
-
-
-"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-
-" General colors
-hi Normal guifg=#f6f3e8 guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-hi NonText guifg=#070707 guibg=black gui=NONE ctermfg=black ctermbg=NONE cterm=NONE
-
-hi Cursor guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=reverse
-hi LineNr guifg=#3D3D3D guibg=black gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
-
-hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
-hi StatusLine guifg=#CCCCCC guibg=#202020 gui=None ctermfg=white ctermbg=darkgray cterm=NONE
-hi StatusLineNC guifg=black guibg=#202020 gui=NONE ctermfg=blue ctermbg=darkgray cterm=NONE
-
-hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=NONE
-hi Visual guifg=NONE guibg=DarkBlue gui=NONE ctermfg=NONE ctermbg=darkgray cterm=NONE
-
-hi SpecialKey guifg=#808080 guibg=#343434 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-
-hi WildMenu guifg=white guibg=DarkRed gui=NONE ctermfg=white ctermbg=DarkRed cterm=NONE
-hi PmenuSbar guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=NONE
-"hi Ignore guifg=gray guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-
-hi Error guifg=NONE guibg=red gui=undercurl ctermfg=white ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color
-hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
-hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
-
-" Message displayed in lower left, such as --INSERT--
-hi ModeMsg guifg=black guibg=#C6C5FE gui=BOLD ctermfg=black ctermbg=cyan cterm=BOLD
-
-if version >= 700 " Vim 7.x specific colors
- hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
- hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
- hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=white ctermbg=darkgray cterm=NONE
- hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
- hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
- hi Search guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
-endif
-
-" Syntax highlighting
-hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
-hi String guifg=#A8FF60 guibg=NONE gui=NONE ctermfg=green ctermbg=NONE cterm=NONE
-hi Number guifg=#FF73FD guibg=NONE gui=NONE ctermfg=magenta ctermbg=NONE cterm=NONE
-
-hi Keyword guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
-hi PreProc guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
-hi Conditional guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE " if else end
-
-hi Todo guifg=#8f8f8f guibg=NONE gui=NONE ctermfg=red ctermbg=NONE cterm=NONE
-hi Constant guifg=#99CC99 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
-
-hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
-hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
-hi Type guifg=#FFFFB6 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE
-hi Statement guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE
-
-hi Special guifg=#E18964 guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
-hi Delimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
-hi Operator guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
-
-hi link Character Constant
-hi link Boolean Constant
-hi link Float Number
-hi link Repeat Statement
-hi link Label Statement
-hi link Exception Statement
-hi link Include PreProc
-hi link Define PreProc
-hi link Macro PreProc
-hi link PreCondit PreProc
-hi link StorageClass Type
-hi link Structure Type
-hi link Typedef Type
-hi link Tag Special
-hi link SpecialChar Special
-hi link SpecialComment Special
-hi link Debug Special
-
-
-" Special for Ruby
-hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
-hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
-hi rubyEscape guifg=white guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
-hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
-hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE "and break, etc
-"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE "yield
-hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=lightgreen ctermbg=NONE cterm=NONE
-"rubyInclude
-"rubySharpBang
-"rubyAccess
-"rubyPredefinedVariable
-"rubyBoolean
-"rubyClassVariable
-"rubyBeginEnd
-"rubyRepeatModifier
-"hi link rubyArrayDelimiter Special " [ , , ]
-"rubyCurlyBlock { , , }
-
-hi link rubyClass Keyword
-hi link rubyModule Keyword
-hi link rubyKeyword Keyword
-hi link rubyOperator Operator
-hi link rubyIdentifier Identifier
-hi link rubyInstanceVariable Identifier
-hi link rubyGlobalVariable Identifier
-hi link rubyClassVariable Identifier
-hi link rubyConstant Type
-
-
-" Special for Java
-" hi link javaClassDecl Type
-hi link javaScopeDecl Identifier
-hi link javaCommentTitle javaDocSeeTag
-hi link javaDocTags javaDocSeeTag
-hi link javaDocParam javaDocSeeTag
-hi link javaDocSeeTagParam javaDocSeeTag
-
-hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
-hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
-"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
-
-
-" Special for XML
-hi link xmlTag Keyword
-hi link xmlTagName Conditional
-hi link xmlEndTag Identifier
-
-
-" Special for HTML
-hi link htmlTag Keyword
-hi link htmlTagName Conditional
-hi link htmlEndTag Identifier
-
-
-" Special for Javascript
-hi link javaScriptNumber Number
-
-
-" Special for Python
-"hi link pythonEscape Keyword
-
-
-" Special for CSharp
-hi link csXmlTag Keyword
-
-
-" Amix customizations
-
-" Tab line
-hi TabLineFill guifg=#000000 guibg=#000000 gui=NONE
-hi TabLine guifg=black guibg=#888888 gui=NONE
-hi TabLineSel guifg=white guibg=#000000 gui=bold
-
-" Search higlights
-hi Search guifg=White guibg=DarkRed gui=NONE
diff --git a/sources_forked/vim-peepopen/README b/sources_forked/vim-peepopen/README
deleted file mode 100644
index e69de29b..00000000
diff --git a/sources_forked/vim-peepopen/README.md b/sources_forked/vim-peepopen/README.md
deleted file mode 100644
index 290acee8..00000000
--- a/sources_forked/vim-peepopen/README.md
+++ /dev/null
@@ -1,38 +0,0 @@
-vim-peepopen
-=============
-
-A plugin for the Vim text editor. PeepOpen provides fuzzy search of filenames and paths in a programming project.
-
-Installation
-------------
-
-Get the PeepOpen.app and open it at least once to approve the Mac OS X security dialog.
-
-Standard:
-
-Copy `peepopen.vim` to your `~/.vim/plugin` directory.
-
-With Tim Pope's [Pathogen](http://github.com/tpope/vim-pathogen):
-
-Copy the entire `vim-peepopen` plugin directory to your `~/.vim/bundle` directory.
-
-Usage
------
-
-`p` opens the current project directory with the PeepOpen application.
-
-Use the [vim-rooter](https://github.com/airblade/vim-rooter) plugin for automatic assignment of the current working directory for projects stored in Git.
-
-(Leader is mapped to '\' by default)
-
-### Options
-Automatically quit PeepOpen when Vim exits.
-
-`let p:peepopen_quit = 1`
-
-Credits
--------
-
-- Initial Vim Plugin by [Andrew Stewart](http://www.airbladesoftware.com/).
-- Some plugin boilerplate from [Rein Henrichs](http://reinh.com/).
-
diff --git a/sources_forked/vim-peepopen/plugin/peepopen.vim b/sources_forked/vim-peepopen/plugin/peepopen.vim
deleted file mode 100644
index eadb413e..00000000
--- a/sources_forked/vim-peepopen/plugin/peepopen.vim
+++ /dev/null
@@ -1,57 +0,0 @@
-" plugin/peepopen.vim
-" Author: Geoffrey Grosenbach
-" License: MIT License
-
-" Install this file as plugin/peepopen.vim.
-
-" If you prefer Command-T, use this snippet in your .gvimrc:
-
-" if has("gui_macvim")
-" macmenu &File.New\ Tab key=
-" map PeepOpen
-" end
-
-" ============================================================================
-
-" Exit quickly when:
-" - this plugin was already loaded (or disabled)
-" - when 'compatible' is set
-if &cp || exists("g:peepopen_loaded") && g:peepopen_loaded
- finish
-endif
-let g:peepopen_loaded = 1
-let s:save_cpo = &cpo
-set cpo&vim
-
-if !exists('g:peepopen_quit')
- let g:peepopen_quit = 0
-endif
-
-function s:LaunchPeepOpenViaVim()
- silent exe "!open -a PeepOpen " . shellescape(getcwd())
- redraw!
-endfunction
-
-function s:QuitPeepOpenViaVim()
- silent exe '!ps ax | grep PeepOpen | grep -v grep | awk "{ print $1 }" | xargs kill -QUIT'
-endfunction
-
-command! PeepOpen :call LaunchPeepOpenViaVim()
-command! PeepQuit :call QuitPeepOpenViaVim()
-
-if has('autocmd') && exists('g:peepopen_quit') && g:peepopen_quit
- au VimLeave * :call QuitPeepOpenViaVim()
-endif
-
-noremap ${2}
diff --git a/sources_non_forked/snipmate-snippets/html/script/inline_script.snippet b/sources_non_forked/snipmate-snippets/html/script/inline_script.snippet
deleted file mode 100644
index 35e078b3..00000000
--- a/sources_non_forked/snipmate-snippets/html/script/inline_script.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/html/select.snippet b/sources_non_forked/snipmate-snippets/html/select.snippet
deleted file mode 100644
index 252e3f77..00000000
--- a/sources_non_forked/snipmate-snippets/html/select.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${3}
-
diff --git a/sources_non_forked/snipmate-snippets/html/skel/basic.snippet b/sources_non_forked/snipmate-snippets/html/skel/basic.snippet
deleted file mode 100644
index 61ec2444..00000000
--- a/sources_non_forked/snipmate-snippets/html/skel/basic.snippet
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- ${1:Page Title}
-
-
-
-
- ${2}
-
-
diff --git a/sources_non_forked/snipmate-snippets/html/skel/basic_with_meta.snippet b/sources_non_forked/snipmate-snippets/html/skel/basic_with_meta.snippet
deleted file mode 100644
index b6de9f8d..00000000
--- a/sources_non_forked/snipmate-snippets/html/skel/basic_with_meta.snippet
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
- ${1:Page Title}
-
-
-
-
-
-
- ${2}
-
-
diff --git a/sources_non_forked/snipmate-snippets/html/style.snippet b/sources_non_forked/snipmate-snippets/html/style.snippet
deleted file mode 100644
index 26ae0fe9..00000000
--- a/sources_non_forked/snipmate-snippets/html/style.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/html/t.snippet b/sources_non_forked/snipmate-snippets/html/t.snippet
deleted file mode 100644
index ef504276..00000000
--- a/sources_non_forked/snipmate-snippets/html/t.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-<${1:div}${2}>
- ${3}
-$1>${4}
diff --git a/sources_non_forked/snipmate-snippets/html/table/basic.snippet b/sources_non_forked/snipmate-snippets/html/table/basic.snippet
deleted file mode 100644
index 2100d13d..00000000
--- a/sources_non_forked/snipmate-snippets/html/table/basic.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/html/table/hardcore.snippet b/sources_non_forked/snipmate-snippets/html/table/hardcore.snippet
deleted file mode 100644
index 35fa01ae..00000000
--- a/sources_non_forked/snipmate-snippets/html/table/hardcore.snippet
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/html/textarea.snippet b/sources_non_forked/snipmate-snippets/html/textarea.snippet
deleted file mode 100644
index 0b3fb84b..00000000
--- a/sources_non_forked/snipmate-snippets/html/textarea.snippet
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/java/class/basic+constructor+main.snippet b/sources_non_forked/snipmate-snippets/java/class/basic+constructor+main.snippet
deleted file mode 100644
index 3bd770e2..00000000
--- a/sources_non_forked/snipmate-snippets/java/class/basic+constructor+main.snippet
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * class $2
- * @author ${4:`g:snips_author`}
- */
-${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
-
- /**
- * Constructor for $2
- */
- public $2(${4}) {
- ${5}
- }
-
- public static void main(String args[]) {
- }
-
-}
diff --git a/sources_non_forked/snipmate-snippets/java/class/basic+constructor.snippet b/sources_non_forked/snipmate-snippets/java/class/basic+constructor.snippet
deleted file mode 100644
index 05eabefa..00000000
--- a/sources_non_forked/snipmate-snippets/java/class/basic+constructor.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * class $2
- * @author ${4:`g:snips_author`}
- */
-${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
-
- /**
- * Constructor for $2
- */
- public $2(${5}){
- ${6}
- }
-
-}
diff --git a/sources_non_forked/snipmate-snippets/java/class/basic.snippet b/sources_non_forked/snipmate-snippets/java/class/basic.snippet
deleted file mode 100644
index 05eabefa..00000000
--- a/sources_non_forked/snipmate-snippets/java/class/basic.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
- * class $2
- * @author ${4:`g:snips_author`}
- */
-${1:public} class ${2:`Snippet_JavaClassNameFromFilename()`}${3} {
-
- /**
- * Constructor for $2
- */
- public $2(${5}){
- ${6}
- }
-
-}
diff --git a/sources_non_forked/snipmate-snippets/java/for.snippet b/sources_non_forked/snipmate-snippets/java/for.snippet
deleted file mode 100644
index 70a41086..00000000
--- a/sources_non_forked/snipmate-snippets/java/for.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-for(${1:int i=0}; ${2:condition}; ${3:i++}){
- ${4}
-}
diff --git a/sources_non_forked/snipmate-snippets/java/gs.snippet b/sources_non_forked/snipmate-snippets/java/gs.snippet
deleted file mode 100644
index 954a9a09..00000000
--- a/sources_non_forked/snipmate-snippets/java/gs.snippet
+++ /dev/null
@@ -1,9 +0,0 @@
-//getter for $3
-public ${2:variable_type} get${1:VariableName}() {
- return ${3:variableName};
-}
-
-//setter for $3
-public void set$1($2 $3) {
- this.$3 = $3;
-}${4}
diff --git a/sources_non_forked/snipmate-snippets/java/if.snippet b/sources_non_forked/snipmate-snippets/java/if.snippet
deleted file mode 100644
index b9d1c5c3..00000000
--- a/sources_non_forked/snipmate-snippets/java/if.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-if(${1}){
- ${2}
-}
diff --git a/sources_non_forked/snipmate-snippets/java/ife.snippet b/sources_non_forked/snipmate-snippets/java/ife.snippet
deleted file mode 100644
index a7e43d09..00000000
--- a/sources_non_forked/snipmate-snippets/java/ife.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-if(${1}){
- ${2}
-}else{
-}
diff --git a/sources_non_forked/snipmate-snippets/java/log.snippet b/sources_non_forked/snipmate-snippets/java/log.snippet
deleted file mode 100644
index abb7c7d6..00000000
--- a/sources_non_forked/snipmate-snippets/java/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-System.${1:out}.println(${2});
diff --git a/sources_non_forked/snipmate-snippets/java/m.snippet b/sources_non_forked/snipmate-snippets/java/m.snippet
deleted file mode 100644
index 67bf3fb0..00000000
--- a/sources_non_forked/snipmate-snippets/java/m.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * ${7:Method Description}
- * ${5}
- * @return ${6}
- */
-${1:public} ${2:void} ${3:methodName}(${4}) {
- ${8}
-}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/add.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/add.snippet
deleted file mode 100644
index 3bf9756d..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/add.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.add('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/addClass.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/addClass.snippet
deleted file mode 100644
index 68007744..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/addClass.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.addClass('${2:class name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/after.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/after.snippet
deleted file mode 100644
index 34d1956d..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/after.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.after('${2:Some text and bold! }')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajax.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajax.snippet
deleted file mode 100644
index 5453a257..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajax.snippet
+++ /dev/null
@@ -1,18 +0,0 @@
-$.ajax({
- url: "${1:mydomain.com/url}",
- type: "${2:POST}",
- dataType: "${3:xml/html/script/json}",
- data: $.param( $("${4:Element or Expression}") ),
-
- complete: function() {
- ${5://called when complete}
- },
-
- success: function() {
- ${6://called when successful}
- },
-
- error: function() {
- ${7://called when there is an error}
- },
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxerror.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxerror.snippet
deleted file mode 100644
index 0f8ccdaf..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxerror.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-.ajaxError(function(${1:request, settings}) {
- ${2://stuff to do when an AJAX call returns an error};
-});
-${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxget.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxget.snippet
deleted file mode 100644
index 1489859a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxget.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-$.get('${1:/test/ajax-test.xml}', function(xml){
- ${2:alert( ("title",xml).text() ) //optional stuff to do after get;}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxgetif.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxgetif.snippet
deleted file mode 100644
index 0f4d1ef0..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxgetif.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-$.getIfModified('${1:/test/test.cgi}', function(data){
- ${2:alert( "Data loaded: " + data ) //optional stuff to do after get;}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxpost.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxpost.snippet
deleted file mode 100644
index f62bf102..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxpost.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-$.post('<+/path/to/file.cgi+>',{
- <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>},
- function(){
- <+//stuff to do after event occurs;+>
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsend.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsend.snippet
deleted file mode 100644
index 4b74cd98..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsend.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-.ajaxSend(function(${1:request, settings}) {
- ${2://stuff to do when an AJAX call returns an error};
-});
-${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsetup.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsetup.snippet
deleted file mode 100644
index c5b4ad02..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsetup.snippet
+++ /dev/null
@@ -1,18 +0,0 @@
-$.ajaxSetup({
- url: "${1:mydomain.com/url}",
- type: "${2:POST}",
- dataType: "${3:xml/html/script/json}",
- data: $.param( $("${4:Element or Expression}") ),
-
- complete: function() {
- ${5://called when complete}
- },
-
- success: function() {
- ${6://called when successful}
- },
-
- error: function() {
- ${7://called when there is an error}
- },
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstart.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstart.snippet
deleted file mode 100644
index 3caafd58..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstart.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-$.ajaxStart(function() {
- ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress};
-});
-${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstop.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstop.snippet
deleted file mode 100644
index 6088a9f5..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxstop.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-$.ajaxStop(function() {
- ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress};
-});
-${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet
deleted file mode 100644
index ba2247dc..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ajaxsuccess.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-$.ajaxSuccess(function() {
- ${1://stuff to do when an AJAX call is started and no other AJAX calls are in progress};
-});
-${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/animate.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/animate.snippet
deleted file mode 100644
index 19135327..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/animate.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.animate({${2:param1: value1, param2: value2}}, ${3:speed})${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/append.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/append.snippet
deleted file mode 100644
index bc4ff4d3..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/append.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.append('${2:Some text and bold! }')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/appendTo.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/appendTo.snippet
deleted file mode 100644
index 97883710..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/appendTo.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.appendTo('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/attr.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/attr.snippet
deleted file mode 100644
index fb7e2f42..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/attr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.attr('${2:attribute}', '${3:value}')${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/attrm.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/attrm.snippet
deleted file mode 100644
index 15685512..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/attrm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.attr({'${2:attr1}': '${3:value1}', '${4:attr2}': '${5:value2}'})${6}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/before.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/before.snippet
deleted file mode 100644
index e12c4aed..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/before.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.before('${2:Some text and bold! }')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/bind.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/bind.snippet
deleted file mode 100644
index dda284d9..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/bind.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.bind('${2:event name}', function(${3:event}) {
- ${4:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/blur.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/blur.snippet
deleted file mode 100644
index 674623db..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/blur.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.blur(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/change.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/change.snippet
deleted file mode 100644
index 184f8a99..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/change.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.change(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/children.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/children.snippet
deleted file mode 100644
index 2db688b1..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/children.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.children('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/click.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/click.snippet
deleted file mode 100644
index d17a047e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/click.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.click(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/clone.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/clone.snippet
deleted file mode 100644
index 83b0b421..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/clone.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.clone()${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/contains.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/contains.snippet
deleted file mode 100644
index 2a073948..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/contains.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.contains('${2:text to find}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/css.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/css.snippet
deleted file mode 100644
index 408199eb..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/css.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.css('${2:attribute}', '${3:value}')${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/cssm.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/cssm.snippet
deleted file mode 100644
index 7eebe1e4..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/cssm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.css({${2:attribute1}: '${3:value1}', ${4:attribute2}: '${5:value2}'})${6}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/dblclick.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/dblclick.snippet
deleted file mode 100644
index 4b2d6b2a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/dblclick.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.dblclick(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/each.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/each.snippet
deleted file mode 100644
index 05beed2e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/each.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.each(function(index) {
- ${2:this.innerHTML = this + " is the element, " + index + " is the position";}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/el.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/el.snippet
deleted file mode 100644
index d2065238..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/el.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$('${1}')${2:}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/eltrim.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/eltrim.snippet
deleted file mode 100644
index 9cc0d692..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/eltrim.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$.trim('${1:string}')${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/end.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/end.snippet
deleted file mode 100644
index 293102c4..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/end.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.end()${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/error.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/error.snippet
deleted file mode 100644
index 23b0e650..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/error.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.error(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadein.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadein.snippet
deleted file mode 100644
index 549d8464..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadein.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.fadeIn('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeinc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadeinc.snippet
deleted file mode 100644
index 9090853e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeinc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.fadeIn('slow/400/fast', function() {
- ${2://Stuff to do *after* the animation takes place};
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeout.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadeout.snippet
deleted file mode 100644
index 24d6c763..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeout.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.fadeOut('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeoutc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadeoutc.snippet
deleted file mode 100644
index 76d54571..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeoutc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.fadeOut('slow/400/fast', function() {
- ${2://Stuff to do *after* the animation takes place};
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeto.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadeto.snippet
deleted file mode 100644
index b0e584aa..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadeto.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.fadeTo('${2:slow/400/fast}', ${3:0.5})${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/fadetoc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/fadetoc.snippet
deleted file mode 100644
index 17243b4c..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/fadetoc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.fadeTo('slow/400/fast', ${2:0.5}, function() {
- ${3://Stuff to do *after* the animation takes place};
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/filter.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/filter.snippet
deleted file mode 100644
index d33fdf2b..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/filter.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.filter('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/find.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/find.snippet
deleted file mode 100644
index 1791e912..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/find.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.find('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/focus.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/focus.snippet
deleted file mode 100644
index 3b1b5719..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/focus.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.focus(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/get.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/get.snippet
deleted file mode 100644
index 4374c183..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/get.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.get(${2:element index})${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/getjson.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/getjson.snippet
deleted file mode 100644
index 518d676d..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/getjson.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-$.getJSON('<+/path/to/file.cgi+>',{
- <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+>},
- function(json){
- <+//stuff to do after event occurs;+>
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/getscript.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/getscript.snippet
deleted file mode 100644
index 0b62d90b..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/getscript.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-$.getScript('${1:somescript.js}', function(){
- ${2://optional stuff to do after getScript;}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/height.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/height.snippet
deleted file mode 100644
index 1515d5c6..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/height.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.height(${2:integer})${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/hide.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/hide.snippet
deleted file mode 100644
index c8071cbc..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/hide.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.hide('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/hidec.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/hidec.snippet
deleted file mode 100644
index 62f2280a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/hidec.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.hide('${2:slow/400/fast}', function() {
- ${3://Stuff to do *after* the animation takes place}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/hover.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/hover.snippet
deleted file mode 100644
index d8468c1a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/hover.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-${1:obj}.hover(function() {
- ${2:// Stuff to do when the mouse enters the element;}
-}, function() {
- ${3:// Stuff to do when the mouse leaves the element;}
-});${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/html.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/html.snippet
deleted file mode 100644
index 0c5a25e1..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/html.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.html('${2:Some text and bold! }')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/insertAfter.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/insertAfter.snippet
deleted file mode 100644
index 66c389eb..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/insertAfter.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.insertAfter('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/insertBefore.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/insertBefore.snippet
deleted file mode 100644
index e7090d4d..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/insertBefore.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.insertBefore('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/is.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/is.snippet
deleted file mode 100644
index 28eefb02..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/is.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.is('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/load.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/load.snippet
deleted file mode 100644
index 1f09fbc9..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/load.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.load(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/loadf.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/loadf.snippet
deleted file mode 100644
index 2e7d9c8b..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/loadf.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-<+obj+>.load('<+/path/to/file.htm+>', { <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+> }, function() {
- <+// Stuff to do after the page is loaded+>
-});
\ No newline at end of file
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/loadif.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/loadif.snippet
deleted file mode 100644
index fe45d05a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/loadif.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-<+obj+>.loadIfModified('<+/path/to/file.htm+>', { <+<+param1+>: "<+value1+>", <+param2+>: "<+value2+>"+> }, function() {
- <+// Stuff to do after the page is loaded+>
-});
\ No newline at end of file
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/mdown.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/mdown.snippet
deleted file mode 100644
index 3be70e1b..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/mdown.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.mousedown(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/mmove.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/mmove.snippet
deleted file mode 100644
index eb7ac052..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/mmove.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.mousemove(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/mout.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/mout.snippet
deleted file mode 100644
index f2142756..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/mout.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.mouseout(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/mover.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/mover.snippet
deleted file mode 100644
index f1eb19cc..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/mover.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.mouseover(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/mup.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/mup.snippet
deleted file mode 100644
index 04fb36a3..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/mup.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.mouseup(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/next.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/next.snippet
deleted file mode 100644
index b6a65281..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/next.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.next('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/not.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/not.snippet
deleted file mode 100644
index c6a217f6..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/not.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.not('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/one.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/one.snippet
deleted file mode 100644
index cacdbfb5..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/one.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.one('${2:event name}', function(${3:event}) {
- ${4:// Act on the event once}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/parent.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/parent.snippet
deleted file mode 100644
index 0490f05a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/parent.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.parent('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/parents.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/parents.snippet
deleted file mode 100644
index fb0bd131..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/parents.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.parents('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/prepend.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/prepend.snippet
deleted file mode 100644
index bc41d48f..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/prepend.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.prepend('${2:Some text and bold! }')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/prependto.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/prependto.snippet
deleted file mode 100644
index e4406957..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/prependto.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.prependTo('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/prev.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/prev.snippet
deleted file mode 100644
index b7aba645..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/prev.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.prev('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/ready.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/ready.snippet
deleted file mode 100644
index d0005318..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/ready.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-$(document).ready(function() {
- ${1:// Stuff to do as soon as the DOM is ready;}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/remove.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/remove.snippet
deleted file mode 100644
index 4c976a17..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/remove.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.remove()${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/removeattr.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/removeattr.snippet
deleted file mode 100644
index 267d584a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/removeattr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.removeAttr('${2:attribute name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/removeclass.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/removeclass.snippet
deleted file mode 100644
index f5538030..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/removeclass.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.removeClass('${2:class name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/reset.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/reset.snippet
deleted file mode 100644
index 777af958..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/reset.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.reset(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/resize.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/resize.snippet
deleted file mode 100644
index b46ac0a0..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/resize.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.resize(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/scroll.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/scroll.snippet
deleted file mode 100644
index 7a512442..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/scroll.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.scroll(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/sdown.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/sdown.snippet
deleted file mode 100644
index b39840e9..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/sdown.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.slideDown('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/sdownc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/sdownc.snippet
deleted file mode 100644
index 3404b783..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/sdownc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.slideDown('${2:slow/400/fast}', function() {
- ${3://Stuff to do *after* the animation takes place};
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/sdupc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/sdupc.snippet
deleted file mode 100644
index 873c6657..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/sdupc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.slideUp('${2:slow/400/fast}', function() {
- ${3://Stuff to do *after* the animation takes place};
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/select.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/select.snippet
deleted file mode 100644
index 986437ed..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/select.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.select(function() {
- ${2:// Act on the event}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/show.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/show.snippet
deleted file mode 100644
index 31819b1e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/show.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.show('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/showc.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/showc.snippet
deleted file mode 100644
index 6dc5bacc..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/showc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.show('${2:slow/400/fast}', function() {
- ${3://Stuff to do *after* the animation takes place}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/sib.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/sib.snippet
deleted file mode 100644
index 014f1f79..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/sib.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.siblings('${2:selector expression}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/size.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/size.snippet
deleted file mode 100644
index 1ba15439..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/size.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.size()${2}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/stoggle.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/stoggle.snippet
deleted file mode 100644
index daba37d2..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/stoggle.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.slideToggle('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/submit.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/submit.snippet
deleted file mode 100644
index ae98d83e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/submit.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:obj}.submit(function() {
- ${2:// Act on the event once}
-});
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/sup.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/sup.snippet
deleted file mode 100644
index d844a68e..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/sup.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.slideUp('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/text.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/text.snippet
deleted file mode 100644
index 5f667c07..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/text.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.text(${2:'some text'})${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/this.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/this.snippet
deleted file mode 100644
index b3cee8d3..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/this.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$(this)${1}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/tog.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/tog.snippet
deleted file mode 100644
index 54f5f17a..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/tog.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-${1:obj}.toggle(function() {
- ${2:// Stuff to do every *odd* time the element is clicked;}
-}, function() {
- ${3:// Stuff to do every *even* time the element is clicked;}
-});
-${4}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/togclass.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/togclass.snippet
deleted file mode 100644
index 023a4b7d..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/togclass.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.toggleClass('${2:class name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/togsh.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/togsh.snippet
deleted file mode 100644
index 265a62d0..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/togsh.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.toggle('${2:slow/400/fast}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/trig.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/trig.snippet
deleted file mode 100644
index f7105e08..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/trig.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.trigger('${2:event name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/unbind.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/unbind.snippet
deleted file mode 100644
index 0fe423d5..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/unbind.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.unbind('${2:event name}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/val.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/val.snippet
deleted file mode 100644
index cafe0b0b..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/val.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.val('${2:text}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/width.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/width.snippet
deleted file mode 100644
index 415631c6..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/width.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.width(${2:integer})${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript-jquery/wrap.snippet b/sources_non_forked/snipmate-snippets/javascript-jquery/wrap.snippet
deleted file mode 100644
index 55df53ff..00000000
--- a/sources_non_forked/snipmate-snippets/javascript-jquery/wrap.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:obj}.wrap('${2:<div class="extra-wrapper"></div>}')${3}
diff --git a/sources_non_forked/snipmate-snippets/javascript/anon.snippet b/sources_non_forked/snipmate-snippets/javascript/anon.snippet
deleted file mode 100644
index d486c430..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/anon.snippet
+++ /dev/null
@@ -1 +0,0 @@
-function(${1}) { ${2} };
diff --git a/sources_non_forked/snipmate-snippets/javascript/for.snippet b/sources_non_forked/snipmate-snippets/javascript/for.snippet
deleted file mode 100644
index 3933153f..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/for.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-for (var <+i+>=0; <+i+> < <+<+Things+>.length+>; <+i+>++) {
-<+<+Things+>[<+i+>]+>
-};
diff --git a/sources_non_forked/snipmate-snippets/javascript/fun.snippet b/sources_non_forked/snipmate-snippets/javascript/fun.snippet
deleted file mode 100644
index 064b9593..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/fun.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-function ${1:function_name} (${2:argument}) {
- ${3:// body}
-}
diff --git a/sources_non_forked/snipmate-snippets/javascript/if.snippet b/sources_non_forked/snipmate-snippets/javascript/if.snippet
deleted file mode 100644
index 931b9f17..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/if.snippet
+++ /dev/null
@@ -1 +0,0 @@
-if (${1:true}) { ${2} };
diff --git a/sources_non_forked/snipmate-snippets/javascript/ife.snippet b/sources_non_forked/snipmate-snippets/javascript/ife.snippet
deleted file mode 100644
index 6b172d07..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/ife.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-if (${1:true}) {
- ${2}
-} else {
-};
diff --git a/sources_non_forked/snipmate-snippets/javascript/log.snippet b/sources_non_forked/snipmate-snippets/javascript/log.snippet
deleted file mode 100644
index b4cf84fe..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-console.log(${1});
diff --git a/sources_non_forked/snipmate-snippets/javascript/met.snippet b/sources_non_forked/snipmate-snippets/javascript/met.snippet
deleted file mode 100644
index 1c30d617..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/met.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:method_name}: function(${2:attribute}){
- ${3}
-}${4:, }
diff --git a/sources_non_forked/snipmate-snippets/javascript/proto.snippet b/sources_non_forked/snipmate-snippets/javascript/proto.snippet
deleted file mode 100644
index 37cd6d49..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/proto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {
- ${4:// body}
-};
diff --git a/sources_non_forked/snipmate-snippets/javascript/timeout.snippet b/sources_non_forked/snipmate-snippets/javascript/timeout.snippet
deleted file mode 100644
index 6ea2842c..00000000
--- a/sources_non_forked/snipmate-snippets/javascript/timeout.snippet
+++ /dev/null
@@ -1 +0,0 @@
-setTimeout(function() { ${1} }, ${2:10});
diff --git a/sources_non_forked/snipmate-snippets/objc/I.snippet b/sources_non_forked/snipmate-snippets/objc/I.snippet
deleted file mode 100644
index 0032f65f..00000000
--- a/sources_non_forked/snipmate-snippets/objc/I.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-+ (void) initialize
-{
- [[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWIthObjectsAndKeys:
- ${1}@"value", @"key",
- nil]];
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/Imp.snippet b/sources_non_forked/snipmate-snippets/objc/Imp.snippet
deleted file mode 100644
index 91724d3f..00000000
--- a/sources_non_forked/snipmate-snippets/objc/Imp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-#import "${1:`Filename()`.h}"${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/alloc.snippet b/sources_non_forked/snipmate-snippets/objc/alloc.snippet
deleted file mode 100644
index e4d15993..00000000
--- a/sources_non_forked/snipmate-snippets/objc/alloc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-[[${1:foo} alloc] init]${2};${3}
diff --git a/sources_non_forked/snipmate-snippets/objc/array.snippet b/sources_non_forked/snipmate-snippets/objc/array.snippet
deleted file mode 100644
index 45d3ef01..00000000
--- a/sources_non_forked/snipmate-snippets/objc/array.snippet
+++ /dev/null
@@ -1 +0,0 @@
-NSMutableArray *${1:array} = [NSMutable array];${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/bez.snippet b/sources_non_forked/snipmate-snippets/objc/bez.snippet
deleted file mode 100644
index 493aff69..00000000
--- a/sources_non_forked/snipmate-snippets/objc/bez.snippet
+++ /dev/null
@@ -1 +0,0 @@
-NSBezierPath *${1:path} = [NSBezierPath bezierPath];${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/cat.snippet b/sources_non_forked/snipmate-snippets/objc/cat.snippet
deleted file mode 100644
index fd57aae3..00000000
--- a/sources_non_forked/snipmate-snippets/objc/cat.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-@interface ${1:NSObject} (${2:Category})
-@end
-
-@implementation $1 ($2)
-${3}
-@end
diff --git a/sources_non_forked/snipmate-snippets/objc/cati.snippet b/sources_non_forked/snipmate-snippets/objc/cati.snippet
deleted file mode 100644
index d2852600..00000000
--- a/sources_non_forked/snipmate-snippets/objc/cati.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-@interface ${1:NSObject} (${2:Category})
-${3}
-@end
diff --git a/sources_non_forked/snipmate-snippets/objc/cli.snippet b/sources_non_forked/snipmate-snippets/objc/cli.snippet
deleted file mode 100644
index fa896224..00000000
--- a/sources_non_forked/snipmate-snippets/objc/cli.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-@interface ${1:ClassName} : ${2:NSObject}
-{${3}
-}
-${4}
-@end
diff --git a/sources_non_forked/snipmate-snippets/objc/dict.snippet b/sources_non_forked/snipmate-snippets/objc/dict.snippet
deleted file mode 100644
index 8b2d7e90..00000000
--- a/sources_non_forked/snipmate-snippets/objc/dict.snippet
+++ /dev/null
@@ -1 +0,0 @@
-NSMutableDictionary *${1:dict} = [NSMutableDictionary dictionary];${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/forarray.snippet b/sources_non_forked/snipmate-snippets/objc/forarray.snippet
deleted file mode 100644
index d32215d0..00000000
--- a/sources_non_forked/snipmate-snippets/objc/forarray.snippet
+++ /dev/null
@@ -1,7 +0,0 @@
-unsigned int ${1:object}Count = [${2:array} count];
-
-for (unsigned int index = 0; index < $1Count; index++)
-{
- ${3:id} $1 = [$2 $1AtIndex:index];
- ${4}
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/log.snippet b/sources_non_forked/snipmate-snippets/objc/log.snippet
deleted file mode 100644
index 69f9c067..00000000
--- a/sources_non_forked/snipmate-snippets/objc/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-NSLog(@"${1}"${2});${3}
diff --git a/sources_non_forked/snipmate-snippets/objc/m/class method.snippet b/sources_non_forked/snipmate-snippets/objc/m/class method.snippet
deleted file mode 100644
index 191ee160..00000000
--- a/sources_non_forked/snipmate-snippets/objc/m/class method.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-+ (${1:id}) ${2:method}
-{${3}
- return nil;
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/m/method.snippet b/sources_non_forked/snipmate-snippets/objc/m/method.snippet
deleted file mode 100644
index 9f7390e2..00000000
--- a/sources_non_forked/snipmate-snippets/objc/m/method.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-- (${1:id}) ${2:method}
-{${3}
- ${4:return nil;}
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/objacc.snippet b/sources_non_forked/snipmate-snippets/objc/objacc.snippet
deleted file mode 100644
index 840ebfd0..00000000
--- a/sources_non_forked/snipmate-snippets/objc/objacc.snippet
+++ /dev/null
@@ -1,11 +0,0 @@
-- (${1:id})${2:thing}
-{
- return $2;
-}
-
-- (void) set$2:($1)
-{
- $1 old$2 = $2;
- $2 = [aValue retain];
- [old$2 release];
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/objc.snippet b/sources_non_forked/snipmate-snippets/objc/objc.snippet
deleted file mode 100644
index d6671487..00000000
--- a/sources_non_forked/snipmate-snippets/objc/objc.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-@interface ${1:`Filename('', 'object')`} : ${2:NSObject}
-{
-}
-@end
-
-@implementation $1
-- (id) init
-{
- if (self = [super init])
- {${3}
- }
- return self
-}
-@end
diff --git a/sources_non_forked/snipmate-snippets/objc/prop.snippet b/sources_non_forked/snipmate-snippets/objc/prop.snippet
deleted file mode 100644
index d77495a6..00000000
--- a/sources_non_forked/snipmate-snippets/objc/prop.snippet
+++ /dev/null
@@ -1 +0,0 @@
-@property (${1:retain}) ${2:NSSomeClass} *${3:$2};${4}
diff --git a/sources_non_forked/snipmate-snippets/objc/rel.snippet b/sources_non_forked/snipmate-snippets/objc/rel.snippet
deleted file mode 100644
index 5dea04dd..00000000
--- a/sources_non_forked/snipmate-snippets/objc/rel.snippet
+++ /dev/null
@@ -1 +0,0 @@
-[${1:foo} release];${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/ret.snippet b/sources_non_forked/snipmate-snippets/objc/ret.snippet
deleted file mode 100644
index ee8eba46..00000000
--- a/sources_non_forked/snipmate-snippets/objc/ret.snippet
+++ /dev/null
@@ -1 +0,0 @@
-[${1:foo} retain];${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/sel.snippet b/sources_non_forked/snipmate-snippets/objc/sel.snippet
deleted file mode 100644
index 4d4996d1..00000000
--- a/sources_non_forked/snipmate-snippets/objc/sel.snippet
+++ /dev/null
@@ -1 +0,0 @@
-@selector(${1:method}:)${2}
diff --git a/sources_non_forked/snipmate-snippets/objc/sm.snippet b/sources_non_forked/snipmate-snippets/objc/sm.snippet
deleted file mode 100644
index af139a90..00000000
--- a/sources_non_forked/snipmate-snippets/objc/sm.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-- (${1:id}) ${2:method}:(${3:id})${4:anArgument}
-{
- $1 res = [super $2:$4];${5}
- return res;
-}
diff --git a/sources_non_forked/snipmate-snippets/objc/syn.snippet b/sources_non_forked/snipmate-snippets/objc/syn.snippet
deleted file mode 100644
index eef7581c..00000000
--- a/sources_non_forked/snipmate-snippets/objc/syn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-@synthesize ${1:NSSomeClass};${2}
diff --git a/sources_non_forked/snipmate-snippets/php/array.snippet b/sources_non_forked/snipmate-snippets/php/array.snippet
deleted file mode 100644
index 922542e0..00000000
--- a/sources_non_forked/snipmate-snippets/php/array.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$${1:arrayName} = array('${2}' => ${3});${4}
diff --git a/sources_non_forked/snipmate-snippets/php/case.snippet b/sources_non_forked/snipmate-snippets/php/case.snippet
deleted file mode 100644
index 8f9e4daf..00000000
--- a/sources_non_forked/snipmate-snippets/php/case.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-case '${1:value}':
- ${2:// code...}
- break;${3}
diff --git a/sources_non_forked/snipmate-snippets/php/class.snippet b/sources_non_forked/snipmate-snippets/php/class.snippet
deleted file mode 100644
index 4929a955..00000000
--- a/sources_non_forked/snipmate-snippets/php/class.snippet
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * ${1}
- */
-class ${2:ClassName}
-{
- ${3}
- function ${4:__construct}(${5:argument})
- {
- ${6:// code...}
- }
-}
diff --git a/sources_non_forked/snipmate-snippets/php/classe.snippet b/sources_non_forked/snipmate-snippets/php/classe.snippet
deleted file mode 100644
index 2f2b0bc3..00000000
--- a/sources_non_forked/snipmate-snippets/php/classe.snippet
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * ${1}
- */
-class ${2:ClassName} extends ${3:AnotherClass}
-{
- ${4}
- function ${5:__construct}(${6:argument})
- {
- ${7:// code...}
- }
-}
-
diff --git a/sources_non_forked/snipmate-snippets/php/def.snippet b/sources_non_forked/snipmate-snippets/php/def.snippet
deleted file mode 100644
index df0f5ebd..00000000
--- a/sources_non_forked/snipmate-snippets/php/def.snippet
+++ /dev/null
@@ -1 +0,0 @@
-define('${1}'${2});${3}
diff --git a/sources_non_forked/snipmate-snippets/php/defd.snippet b/sources_non_forked/snipmate-snippets/php/defd.snippet
deleted file mode 100644
index 6758cdad..00000000
--- a/sources_non_forked/snipmate-snippets/php/defd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1}defined('${2}')${3}
diff --git a/sources_non_forked/snipmate-snippets/php/do.snippet b/sources_non_forked/snipmate-snippets/php/do.snippet
deleted file mode 100644
index e7dd5b06..00000000
--- a/sources_non_forked/snipmate-snippets/php/do.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-do {
- ${2:// code... }
-} while (${1:/* condition */});"
diff --git a/sources_non_forked/snipmate-snippets/php/doc_cp.snippet b/sources_non_forked/snipmate-snippets/php/doc_cp.snippet
deleted file mode 100644
index d6d1b3fc..00000000
--- a/sources_non_forked/snipmate-snippets/php/doc_cp.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-/**
- * ${1:undocumented class}
- *
- * @package ${2:default}
- * @author ${3:`g:snips_author`}
- **/${4}
diff --git a/sources_non_forked/snipmate-snippets/php/doc_f.snippet b/sources_non_forked/snipmate-snippets/php/doc_f.snippet
deleted file mode 100644
index a9adbb07..00000000
--- a/sources_non_forked/snipmate-snippets/php/doc_f.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * $2
- * @return ${4:void}
- * @author ${5:`g:snips_author`}
- **/
-${1:public }function ${2:someFunc}(${3})
-{${6}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/doc_h.snippet b/sources_non_forked/snipmate-snippets/php/doc_h.snippet
deleted file mode 100644
index a0c12e01..00000000
--- a/sources_non_forked/snipmate-snippets/php/doc_h.snippet
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * ${1}
- *
- * @author ${2:`g:snips_author`}
- * @version ${3:$Id$}
- * @copyright ${4:$2}, `strftime('%d %B, %Y')`
- * @package ${5:default}
- **/
-/**
- * Define DocBlock *//
diff --git a/sources_non_forked/snipmate-snippets/php/doc_i.snippet b/sources_non_forked/snipmate-snippets/php/doc_i.snippet
deleted file mode 100644
index e62eab72..00000000
--- a/sources_non_forked/snipmate-snippets/php/doc_i.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-/**
- * $1
- * @package ${2:default}
- * @author ${3:`g:snips_author`}
- **/
-interface ${1:someClass}
-{${4}
-} // END interface $1"
diff --git a/sources_non_forked/snipmate-snippets/php/ec.snippet b/sources_non_forked/snipmate-snippets/php/ec.snippet
deleted file mode 100644
index 489d759b..00000000
--- a/sources_non_forked/snipmate-snippets/php/ec.snippet
+++ /dev/null
@@ -1 +0,0 @@
-echo "${1:string}"${2};
diff --git a/sources_non_forked/snipmate-snippets/php/else.snippet b/sources_non_forked/snipmate-snippets/php/else.snippet
deleted file mode 100644
index b910e982..00000000
--- a/sources_non_forked/snipmate-snippets/php/else.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-else {
- ${1:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/elseif.snippet b/sources_non_forked/snipmate-snippets/php/elseif.snippet
deleted file mode 100644
index a57dec80..00000000
--- a/sources_non_forked/snipmate-snippets/php/elseif.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-elseif (${1:/* condition */}) {
- ${2:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/for.snippet b/sources_non_forked/snipmate-snippets/php/for.snippet
deleted file mode 100644
index e9bc52aa..00000000
--- a/sources_non_forked/snipmate-snippets/php/for.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-for ($${2:i} = 0; $$2 < ${1:count}; $$2${3:++}) {
- ${4:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/foreach.snippet b/sources_non_forked/snipmate-snippets/php/foreach.snippet
deleted file mode 100644
index 5fe47e5b..00000000
--- a/sources_non_forked/snipmate-snippets/php/foreach.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-foreach ($${1:variable} as $${2:key}){
- ${3:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/foreachk.snippet b/sources_non_forked/snipmate-snippets/php/foreachk.snippet
deleted file mode 100644
index f78d57ae..00000000
--- a/sources_non_forked/snipmate-snippets/php/foreachk.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-foreach ($${1:variable} as $${2:key} => $${3:value}){
- ${4:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/fun.snippet b/sources_non_forked/snipmate-snippets/php/fun.snippet
deleted file mode 100644
index 0f5d3534..00000000
--- a/sources_non_forked/snipmate-snippets/php/fun.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-${1:public }function ${2:FunctionName}(${3})
-{
- ${4:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/get.snippet b/sources_non_forked/snipmate-snippets/php/get.snippet
deleted file mode 100644
index af32e0a5..00000000
--- a/sources_non_forked/snipmate-snippets/php/get.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$_GET['${1}']${2}
diff --git a/sources_non_forked/snipmate-snippets/php/globals.snippet b/sources_non_forked/snipmate-snippets/php/globals.snippet
deleted file mode 100644
index 6f5b04f3..00000000
--- a/sources_non_forked/snipmate-snippets/php/globals.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$GLOBALS['${1:variable}']${2: = }${3:something}${4:;}${5}
diff --git a/sources_non_forked/snipmate-snippets/php/if.snippet b/sources_non_forked/snipmate-snippets/php/if.snippet
deleted file mode 100644
index 69ac0bd6..00000000
--- a/sources_non_forked/snipmate-snippets/php/if.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-if (${1:/* condition */}) {
- ${2:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/php/ife.snippet b/sources_non_forked/snipmate-snippets/php/ife.snippet
deleted file mode 100644
index b8621c1b..00000000
--- a/sources_non_forked/snipmate-snippets/php/ife.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-if (${1:/* condition */}) {
- ${2:// code...}
-} else {
-}
diff --git a/sources_non_forked/snipmate-snippets/php/inc.snippet b/sources_non_forked/snipmate-snippets/php/inc.snippet
deleted file mode 100644
index 8df3966c..00000000
--- a/sources_non_forked/snipmate-snippets/php/inc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-include '${1:file}';${2}
diff --git a/sources_non_forked/snipmate-snippets/php/inc1.snippet b/sources_non_forked/snipmate-snippets/php/inc1.snippet
deleted file mode 100644
index ba262818..00000000
--- a/sources_non_forked/snipmate-snippets/php/inc1.snippet
+++ /dev/null
@@ -1 +0,0 @@
-include_once '${1:file}';${2}
diff --git a/sources_non_forked/snipmate-snippets/php/log.snippet b/sources_non_forked/snipmate-snippets/php/log.snippet
deleted file mode 100644
index 2b8dcc4b..00000000
--- a/sources_non_forked/snipmate-snippets/php/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-error_log(var_export(${1}, true));${2}
diff --git a/sources_non_forked/snipmate-snippets/php/php.snippet b/sources_non_forked/snipmate-snippets/php/php.snippet
deleted file mode 100644
index ed2ed1ce..00000000
--- a/sources_non_forked/snipmate-snippets/php/php.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/php/post.snippet b/sources_non_forked/snipmate-snippets/php/post.snippet
deleted file mode 100644
index 2de7aa5f..00000000
--- a/sources_non_forked/snipmate-snippets/php/post.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$_POST['${1}']${2}
diff --git a/sources_non_forked/snipmate-snippets/php/req.snippet b/sources_non_forked/snipmate-snippets/php/req.snippet
deleted file mode 100644
index c03ea36f..00000000
--- a/sources_non_forked/snipmate-snippets/php/req.snippet
+++ /dev/null
@@ -1 +0,0 @@
-require '${1:file}';${2}
diff --git a/sources_non_forked/snipmate-snippets/php/req1.snippet b/sources_non_forked/snipmate-snippets/php/req1.snippet
deleted file mode 100644
index e909c3bc..00000000
--- a/sources_non_forked/snipmate-snippets/php/req1.snippet
+++ /dev/null
@@ -1 +0,0 @@
-require_once '${1:file}';${2}
diff --git a/sources_non_forked/snipmate-snippets/php/request.snippet b/sources_non_forked/snipmate-snippets/php/request.snippet
deleted file mode 100644
index 9a839b1b..00000000
--- a/sources_non_forked/snipmate-snippets/php/request.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$_REQUEST['${1}']${2}
diff --git a/sources_non_forked/snipmate-snippets/php/session.snippet b/sources_non_forked/snipmate-snippets/php/session.snippet
deleted file mode 100644
index 5e3e11b9..00000000
--- a/sources_non_forked/snipmate-snippets/php/session.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$_SESSION['${1}']${2}
diff --git a/sources_non_forked/snipmate-snippets/php/switch.snippet b/sources_non_forked/snipmate-snippets/php/switch.snippet
deleted file mode 100644
index 7fc47c63..00000000
--- a/sources_non_forked/snipmate-snippets/php/switch.snippet
+++ /dev/null
@@ -1,9 +0,0 @@
-switch ($${1:variable}) {
- case '${2:value}':
- ${3:// code...}
- break;
- ${5}
- default:
- ${4:// code...}
- break;
-}
diff --git a/sources_non_forked/snipmate-snippets/php/t.snippet b/sources_non_forked/snipmate-snippets/php/t.snippet
deleted file mode 100644
index e8deae52..00000000
--- a/sources_non_forked/snipmate-snippets/php/t.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};${5}
diff --git a/sources_non_forked/snipmate-snippets/php/try.snippet b/sources_non_forked/snipmate-snippets/php/try.snippet
deleted file mode 100644
index 66a7f651..00000000
--- a/sources_non_forked/snipmate-snippets/php/try.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-try {
- ${1:// code...}
-} catch (${2:Exception} $e) {
- ${3:// code...}
-}
-
diff --git a/sources_non_forked/snipmate-snippets/php/var.snippet b/sources_non_forked/snipmate-snippets/php/var.snippet
deleted file mode 100644
index 1f8cd08e..00000000
--- a/sources_non_forked/snipmate-snippets/php/var.snippet
+++ /dev/null
@@ -1 +0,0 @@
-var_export(${1});${2}
diff --git a/sources_non_forked/snipmate-snippets/php/wh.snippet b/sources_non_forked/snipmate-snippets/php/wh.snippet
deleted file mode 100644
index 36ae0ffc..00000000
--- a/sources_non_forked/snipmate-snippets/php/wh.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-while (${1:/* condition */}) {
- ${2:// code...}
-}
diff --git a/sources_non_forked/snipmate-snippets/po/msg.snippet b/sources_non_forked/snipmate-snippets/po/msg.snippet
deleted file mode 100644
index 2ad6638a..00000000
--- a/sources_non_forked/snipmate-snippets/po/msg.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-msgid "${1}"
-msgstr "${2}"${3}
diff --git a/sources_non_forked/snipmate-snippets/python/class.snippet b/sources_non_forked/snipmate-snippets/python/class.snippet
deleted file mode 100644
index d9e2b8e8..00000000
--- a/sources_non_forked/snipmate-snippets/python/class.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}):
-${3}
diff --git a/sources_non_forked/snipmate-snippets/python/def.snippet b/sources_non_forked/snipmate-snippets/python/def.snippet
deleted file mode 100644
index c7cc9d38..00000000
--- a/sources_non_forked/snipmate-snippets/python/def.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-def ${1:name}(${2:data}):
-${3}
diff --git a/sources_non_forked/snipmate-snippets/python/for.snippet b/sources_non_forked/snipmate-snippets/python/for.snippet
deleted file mode 100644
index fb69c05f..00000000
--- a/sources_non_forked/snipmate-snippets/python/for.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-for ${1:var} in ${2:type}:
-${3:pass}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/python/from.snippet b/sources_non_forked/snipmate-snippets/python/from.snippet
deleted file mode 100644
index 98d0d825..00000000
--- a/sources_non_forked/snipmate-snippets/python/from.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-from ${1:module} import ${2:name}
-${3}
diff --git a/sources_non_forked/snipmate-snippets/python/get.snippet b/sources_non_forked/snipmate-snippets/python/get.snippet
deleted file mode 100644
index bc0bf63d..00000000
--- a/sources_non_forked/snipmate-snippets/python/get.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def get_${1:name}(self):
-return self._$1
-${2}
diff --git a/sources_non_forked/snipmate-snippets/python/ifmain.snippet b/sources_non_forked/snipmate-snippets/python/ifmain.snippet
deleted file mode 100644
index f6e7a262..00000000
--- a/sources_non_forked/snipmate-snippets/python/ifmain.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-if __name__ == '__main__':
-${1}
diff --git a/sources_non_forked/snipmate-snippets/python/import.snippet b/sources_non_forked/snipmate-snippets/python/import.snippet
deleted file mode 100644
index 58c9acdc..00000000
--- a/sources_non_forked/snipmate-snippets/python/import.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-import ${1:module}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/python/init.snippet b/sources_non_forked/snipmate-snippets/python/init.snippet
deleted file mode 100644
index c1a4f0fa..00000000
--- a/sources_non_forked/snipmate-snippets/python/init.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-def __init__(self, ${1:args}):
-${2}
diff --git a/sources_non_forked/snipmate-snippets/python/set.snippet b/sources_non_forked/snipmate-snippets/python/set.snippet
deleted file mode 100644
index 6ab0b5aa..00000000
--- a/sources_non_forked/snipmate-snippets/python/set.snippet
+++ /dev/null
@@ -1 +0,0 @@
-def set_${1:name}(self, ${2:value}):
diff --git a/sources_non_forked/snipmate-snippets/python/try.snippet b/sources_non_forked/snipmate-snippets/python/try.snippet
deleted file mode 100644
index fd5f6e59..00000000
--- a/sources_non_forked/snipmate-snippets/python/try.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-try:
-${1}
-except ${2:Exception}
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-factorygirl/fac.snippet b/sources_non_forked/snipmate-snippets/ruby-factorygirl/fac.snippet
deleted file mode 100644
index 05cc3e8e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-factorygirl/fac.snippet
+++ /dev/null
@@ -1 +0,0 @@
-Factory(:${1}, ${2})${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facb.snippet b/sources_non_forked/snipmate-snippets/ruby-factorygirl/facb.snippet
deleted file mode 100644
index 299c0335..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facb.snippet
+++ /dev/null
@@ -1 +0,0 @@
-Factory.build(:${1}, ${2})${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facd.snippet b/sources_non_forked/snipmate-snippets/ruby-factorygirl/facd.snippet
deleted file mode 100644
index 41d1503c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facd.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-Factory.define(:${1:model}) do |${2:f}|
- ${3}
-end
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facn.snippet b/sources_non_forked/snipmate-snippets/ruby-factorygirl/facn.snippet
deleted file mode 100644
index 7232308c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-Factory.next(:${1:sequence-name})${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facs.snippet b/sources_non_forked/snipmate-snippets/ruby-factorygirl/facs.snippet
deleted file mode 100644
index 13fd5b9d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-factorygirl/facs.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-Factory.sequence :${1:sequence-name} do |${2:m}|
- ${3}
-end
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/art.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/art.snippet
deleted file mode 100644
index a5a7d34e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/art.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_redirected_to ${1::action => "${2:index}"}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/artnp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/artnp.snippet
deleted file mode 100644
index 2c9bfef0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/artnp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_redirected_to <+<+parent+>_<+child+>_path(<+@<+parent+>+>, <+@<+child+>+>)+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/artnpp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/artnpp.snippet
deleted file mode 100644
index becd79b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/artnpp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_redirected_to <+<+parent+>_<+child+>_path(<+@<+parent+>+>)+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/artp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/artp.snippet
deleted file mode 100644
index 55b9204a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/artp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_redirected_to <+<+model+>_path(<+@<+model+>+>)+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/artpp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/artpp.snippet
deleted file mode 100644
index 1d1d203d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/artpp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_redirected_to <+<+model+>s_path+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/asd.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/asd.snippet
deleted file mode 100644
index 35ab7301..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/asd.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-assert_difference "${1:Model}.${2:count}", $1 do
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/asnd.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/asnd.snippet
deleted file mode 100644
index c5124e04..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/asnd.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-assert_no_difference "${1:Model}.${2:count}" do
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/asre.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/asre.snippet
deleted file mode 100644
index d0ac6b26..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/asre.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_response :${1:success}, @response.body${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/asrj.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/asrj.snippet
deleted file mode 100644
index 6ee13f2d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/asrj.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_rjs :<+replace+>, <+"<+dom id+>"+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ass.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ass.snippet
deleted file mode 100644
index 4cc696f6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ass.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_select '<+path+>'<+, :<+text+> => <+'<+inner_html+>'+>+> <+do<++>+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/bf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/bf.snippet
deleted file mode 100644
index ad25cc90..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/bf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-before_filter :${1:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/bt.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/bt.snippet
deleted file mode 100644
index b28e1e62..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/bt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-belongs_to :${1:association}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/crw.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/crw.snippet
deleted file mode 100644
index 3b1ab619..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/crw.snippet
+++ /dev/null
@@ -1 +0,0 @@
-cattr_accessor :${1:attr_names}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defcreate.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defcreate.snippet
deleted file mode 100644
index e878d3a6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defcreate.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-def create
- @${1:model_class_name} = ${2:ModelClassName}.new(params[:$1])
-
- respond_to do |wants|
- if @$1.save
- flash[:notice] = '$2 was successfully created.'
- wants.html { redirect_to(@$1) }
- wants.xml { render :xml => @$1, :status => :created, :location => @$1 }
- else
- wants.html { render :action => "new" }
- wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity }
- end
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defdestroy.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defdestroy.snippet
deleted file mode 100644
index 9c340808..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defdestroy.snippet
+++ /dev/null
@@ -1,9 +0,0 @@
-def destroy
- @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])
- @$1.destroy
-
- respond_to do |wants|
- wants.html { redirect_to($1s_url) }
- wants.xml { head :ok }
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defedit.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defedit.snippet
deleted file mode 100644
index 0e80dcb8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defedit.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def edit
- @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defindex.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defindex.snippet
deleted file mode 100644
index aa776f9a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defindex.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-def index
- @${1:model_class_name} = ${2:ModelClassName}.all
-
- respond_to do |wants|
- wants.html # index.html.erb
- wants.xml { render :xml => @$1s }
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defnew.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defnew.snippet
deleted file mode 100644
index 0a4762b9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defnew.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-def new
- @${1:model_class_name} = ${2:ModelClassName}.new
-
- respond_to do |wants|
- wants.html # new.html.erb
- wants.xml { render :xml => @$1 }
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defshow.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defshow.snippet
deleted file mode 100644
index ba745d52..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defshow.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-def show
- @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])
-
- respond_to do |wants|
- wants.html # show.html.erb
- wants.xml { render :xml => @$1 }
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/defupdate.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/defupdate.snippet
deleted file mode 100644
index 0556895c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/defupdate.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-def update
- @${1:model_class_name} = ${2:ModelClassName}.find(params[:id])
-
- respond_to do |wants|
- if @$1.update_attributes(params[:$1])
- flash[:notice] = '$2 was successfully updated.'
- wants.html { redirect_to(@$1) }
- wants.xml { head :ok }
- else
- wants.html { render :action => "edit" }
- wants.xml { render :xml => @$1.errors, :status => :unprocessable_entity }
- end
- end
-end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/fina.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/fina.snippet
deleted file mode 100644
index af5ec413..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/fina.snippet
+++ /dev/null
@@ -1 +0,0 @@
-find(:all<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>)
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/finf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/finf.snippet
deleted file mode 100644
index 24ba2da3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/finf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-find(:first<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>)
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/fini.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/fini.snippet
deleted file mode 100644
index 96d68a5f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/fini.snippet
+++ /dev/null
@@ -1 +0,0 @@
-find(<+id+>)
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/finl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/finl.snippet
deleted file mode 100644
index 7ee6efec..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/finl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-find(:last<+, :conditions => ['<+<+field+> = ?+>', <+true+>]+>)
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/flash.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/flash.snippet
deleted file mode 100644
index 2a069307..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/flash.snippet
+++ /dev/null
@@ -1 +0,0 @@
-flash[:${1:notice}] = "${2}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/habtm.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/habtm.snippet
deleted file mode 100644
index 1b27396a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/habtm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-has_and_belongs_to_many :${1:object}, :join_table => "${2:table_name}", :foreign_key => "${3}_id"${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/hm.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/hm.snippet
deleted file mode 100644
index 9204df56..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/hm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-has_many :${1:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/hmd.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/hmd.snippet
deleted file mode 100644
index 6aadd73b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/hmd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-has_many :<+object+>s<+, :class_name => "<+object+>", :foreign_key => "<+reference+>_id"+>, :dependent => :destroy<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/hmt.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/hmt.snippet
deleted file mode 100644
index 4128e037..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/hmt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-has_many :${1:object}, :through => :${2:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ho.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ho.snippet
deleted file mode 100644
index 77e14e7a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ho.snippet
+++ /dev/null
@@ -1 +0,0 @@
-has_one :${1:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/i18.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/i18.snippet
deleted file mode 100644
index 2a30fae0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/i18.snippet
+++ /dev/null
@@ -1 +0,0 @@
-I18n.t('${1:type.key}')${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ist.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ist.snippet
deleted file mode 100644
index d97d4829..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ist.snippet
+++ /dev/null
@@ -1 +0,0 @@
-<%= image_submit_tag("<+agree.png+>"<+<+, :id => "<+id+>"+><+, :name => "<+name+>"+><+, :class => "<+class+>"+><+, :disabled => <+false+>+>+>) %>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/log.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/log.snippet
deleted file mode 100644
index 53360dd5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-RAILS_DEFAULT_LOGGER.${1:debug} ${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/logd.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/logd.snippet
deleted file mode 100644
index 36236a31..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/logd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-logger.debug { "${1:message}" }${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/loge.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/loge.snippet
deleted file mode 100644
index 4417ad2e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/loge.snippet
+++ /dev/null
@@ -1 +0,0 @@
-logger.error { "${1:message}" }${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/logf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/logf.snippet
deleted file mode 100644
index 1bd419c8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/logf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-logger.fatal { "${1:message}" }${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/logi.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/logi.snippet
deleted file mode 100644
index bf508dc1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/logi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-logger.info { "${1:message}" }${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/logw.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/logw.snippet
deleted file mode 100644
index 447f6886..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/logw.snippet
+++ /dev/null
@@ -1 +0,0 @@
-logger.warn { "${1:message}" }${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mac.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mac.snippet
deleted file mode 100644
index 548d4af0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mac.snippet
+++ /dev/null
@@ -1 +0,0 @@
-add_column :${1:table}, :${2:column}, :${3:type}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mapc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mapc.snippet
deleted file mode 100644
index b14ec4ca..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mapc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:map}.${2:connect} '${3:controller/:action/:id}'
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mapca.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mapca.snippet
deleted file mode 100644
index 9292ffe9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mapca.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:map}.catch_all "*${2:anything}", :controller => "${3:default}", :action => "${4:error}"${5}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mapr.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mapr.snippet
deleted file mode 100644
index 424805b7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mapr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:map}.resource :${2:resource}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/maprs.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/maprs.snippet
deleted file mode 100644
index a18c4df3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/maprs.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:map}.resources :${2:resource}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mapwo.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mapwo.snippet
deleted file mode 100644
index b3cf7911..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mapwo.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-${1:map}.with_options :${2:controller} => '${3:thing}' do |$3|
- ${4}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mbs.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mbs.snippet
deleted file mode 100644
index a3b34bb3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mbs.snippet
+++ /dev/null
@@ -1 +0,0 @@
-before_save :${1:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mcc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mcc.snippet
deleted file mode 100644
index 74dc7af0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mcc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-change_column :${1:table}, :${2:column}, :${3:type}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mccc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mccc.snippet
deleted file mode 100644
index 2915a37f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mccc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-t.column :${1:title}, :${2:string}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mcht.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mcht.snippet
deleted file mode 100644
index a71b4731..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mcht.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-change_table :${1:table_name} do |t|
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mcol.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mcol.snippet
deleted file mode 100644
index 8a5bd1ff..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mcol.snippet
+++ /dev/null
@@ -1 +0,0 @@
-remove_column :${1:table}, :${2:column}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mct.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mct.snippet
deleted file mode 100644
index 8dbe1eab..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mct.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-create_table :${1:table_name} do |t|
- t.column :${2:name}, :${3:type}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/migration.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/migration.snippet
deleted file mode 100644
index 9f54e0b9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/migration.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-class ${1:`Snippet_MigrationNameFromFilename()`} < ActiveRecord::Migration
- def self.up
- ${2}
- end
-
- def self.down
- end
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mp.snippet
deleted file mode 100644
index 1264a595..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-map(&:${1:id})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mrc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mrc.snippet
deleted file mode 100644
index aaeba258..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mrc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-remove_column :${1:column}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mrmc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mrmc.snippet
deleted file mode 100644
index 8a5bd1ff..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mrmc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-remove_column :${1:table}, :${2:column}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mrnc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mrnc.snippet
deleted file mode 100644
index 6e167210..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mrnc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-rename_column :${1:table}, :${2:old}, :${3:new}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/mrw.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/mrw.snippet
deleted file mode 100644
index 9ef0f8fe..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/mrw.snippet
+++ /dev/null
@@ -1 +0,0 @@
-mattr_accessor :${1:attr_names}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/nc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/nc.snippet
deleted file mode 100644
index cfc42ca4..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/nc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-named_scope :<+name+><+, :joins => :<+table+>+>, :conditions => <+['<+<+field+> = ?+>', <+true+>]+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ncl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ncl.snippet
deleted file mode 100644
index c420ef2f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ncl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-named_scope :<+name+>, lambda { |<+param+>| { :conditions => <+['<+<+field+> = ?+>', <+param+>]+> } }
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/pa.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/pa.snippet
deleted file mode 100644
index 14fa54fb..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/pa.snippet
+++ /dev/null
@@ -1 +0,0 @@
-params[:${1:id}]${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ra.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ra.snippet
deleted file mode 100644
index 56a9bbf6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ra.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :action => "${1:action}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ral.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ral.snippet
deleted file mode 100644
index 0a0b202d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ral.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :action => "${1:action}", :layout => "${2:layoutname}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rest.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rest.snippet
deleted file mode 100644
index 7938f9d6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rest.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-respond_to do |wants|
- wants.${1:html} <+{ <++> }+>
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rf.snippet
deleted file mode 100644
index 76fcdb1d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :file => "${1:filepath}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rfu.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rfu.snippet
deleted file mode 100644
index c0bb72bf..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rfu.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :file => "${1:filepath}", :use_full_path => ${2:false}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ri.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ri.snippet
deleted file mode 100644
index 17a04048..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ri.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :inline => "<+<%= 'hello' %>+>"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ril.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ril.snippet
deleted file mode 100644
index b1801aa4..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ril.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :inline => "${1:<%= 'hello' %>}", :locals => { ${2::name} => "${3:value}"${4} }
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rit.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rit.snippet
deleted file mode 100644
index b3cd8343..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rit.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :inline => "${1:<%= 'hello' %>}", :type => ${2::rxml}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rjson.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rjson.snippet
deleted file mode 100644
index fece1fcc..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rjson.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :json => ${1:text to render}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rl.snippet
deleted file mode 100644
index 53e8340a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :layout => "${1:layoutname}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rn.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rn.snippet
deleted file mode 100644
index 6c6b0fec..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :nothing => ${1:true}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rns.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rns.snippet
deleted file mode 100644
index d1a581f8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rns.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :nothing => ${1:true}, :status => ${2:401}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rp.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rp.snippet
deleted file mode 100644
index 0c5daa25..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :partial => "${1:item}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rpc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rpc.snippet
deleted file mode 100644
index 570644b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rpc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :partial => "<+item+>", :collection => <+@<+item+>s+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rpl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rpl.snippet
deleted file mode 100644
index 6981fbc3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rpl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :partial => "<+item+>", :locals => { :<+item+> => <+@<+item+>+><++> }
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rpo.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rpo.snippet
deleted file mode 100644
index bab9da96..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rpo.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :partial => "<+item+>", :object => <+@<+item+>+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rps.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rps.snippet
deleted file mode 100644
index aef4c494..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rps.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :partial => "${1:item}", :status => ${2:500}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rt.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rt.snippet
deleted file mode 100644
index c464879c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :text => "${1:text to render}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rtl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rtl.snippet
deleted file mode 100644
index fc78bf14..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rtl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :text => "${1:text to render}", :layout => "${2:layoutname}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rtlt.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rtlt.snippet
deleted file mode 100644
index 69618be0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rtlt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :text => "${1:text to render}", :layout => ${2:true}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rts.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rts.snippet
deleted file mode 100644
index 04fe409d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rts.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :text => "${1:text to render}", :status => ${2:401}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ru.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ru.snippet
deleted file mode 100644
index 3a2d1ed0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ru.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-render :update do |${1:page}|
- $1.${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/rxml.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/rxml.snippet
deleted file mode 100644
index e4e721a0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/rxml.snippet
+++ /dev/null
@@ -1 +0,0 @@
-render :xml => ${1:text to render}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/sha1.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/sha1.snippet
deleted file mode 100644
index 19847471..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/sha1.snippet
+++ /dev/null
@@ -1 +0,0 @@
-Digest::SHA1.hexdigest(${1:string})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/sweeper.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/sweeper.snippet
deleted file mode 100644
index 659aeb0d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/sweeper.snippet
+++ /dev/null
@@ -1,15 +0,0 @@
-class ${1:ModelClassName}Sweeper < ActionController::Caching::Sweeper
- observe $1
-
- def after_save(${2:model_class_name})
- expire_cache($2)
- end
-
- def after_destroy($2)
- expire_cache($2)
- end
-
- def expire_cache($2)
- expire_page
- end
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcb.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcb.snippet
deleted file mode 100644
index 021740df..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcb.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.boolean :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcbi.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcbi.snippet
deleted file mode 100644
index 3e6d3c9c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcbi.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.binary :<+title+><+, :limit => <+2+>.megabytes+>
-<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcd.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcd.snippet
deleted file mode 100644
index 0932f2c1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcd.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.decimal :<+title+><+<+, :precision => <+10+>+><+, :scale => <+2+>+>+>
-<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcda.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcda.snippet
deleted file mode 100644
index b716e8b0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcda.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.date :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcdt.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcdt.snippet
deleted file mode 100644
index d060532e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcdt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.datetime :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcf.snippet
deleted file mode 100644
index f09f7904..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcf.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.float :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tch.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tch.snippet
deleted file mode 100644
index bcce7271..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tch.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.change :<+name+><+, :<+string+><+, :<+limit+> => <+80+>+>+>
-<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tci.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tci.snippet
deleted file mode 100644
index 7cb011ca..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tci.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.integer :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcl.snippet
deleted file mode 100644
index ffa359f5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcl.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.integer :lock_version, :null => false, :default => 0
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcr.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcr.snippet
deleted file mode 100644
index 2b421dd7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.references :<+taggable+><+, :polymorphic => <+{ :default => '<+Photo+>' }+>+>
-<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcs.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcs.snippet
deleted file mode 100644
index a7b8473b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcs.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.string :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tct.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tct.snippet
deleted file mode 100644
index f28518f4..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tct.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.text :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcti.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcti.snippet
deleted file mode 100644
index 0006c819..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcti.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.time :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tcts.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tcts.snippet
deleted file mode 100644
index e46e844c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tcts.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.timestamp :${1:title}
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tctss.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tctss.snippet
deleted file mode 100644
index f009ee62..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tctss.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.timestamps
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/trc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/trc.snippet
deleted file mode 100644
index 2d6250ab..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/trc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-t.remove :${1:column}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tre.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tre.snippet
deleted file mode 100644
index 8f70788c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tre.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-t.rename :<+old_column_name+>, :<+new_column_name+>
-<++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/tref.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/tref.snippet
deleted file mode 100644
index 12867868..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/tref.snippet
+++ /dev/null
@@ -1 +0,0 @@
-t.references :${1:model}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/va.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/va.snippet
deleted file mode 100644
index 064bb7b2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/va.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_associated :${1:attribute}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vao.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vao.snippet
deleted file mode 100644
index 4c6c98b6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vao.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_acceptance_of :${1:terms}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vc.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vc.snippet
deleted file mode 100644
index 0aa1a75d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_confirmation_of :${1:attribute}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/ve.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/ve.snippet
deleted file mode 100644
index b6a4c4d5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/ve.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_exclusion_of :${1:attribute}, :in => ${2:%w( mov avi )}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vf.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vf.snippet
deleted file mode 100644
index adc142c7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_format_of :${1:attribute}, :with => /${2:regex}/
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vi.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vi.snippet
deleted file mode 100644
index 8ba16d2e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_inclusion_of :${1:attribute}, :in => %w(${2: mov avi })
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vl.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vl.snippet
deleted file mode 100644
index 71d802bd..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_length_of :${1:attribute}, :within => ${2:3}..${3:20}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vn.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vn.snippet
deleted file mode 100644
index 34bfaa72..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_numericality_of :${1:attribute}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vpo.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vpo.snippet
deleted file mode 100644
index c8fdff9c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vpo.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_presence_of :${1:attribute}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/vu.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/vu.snippet
deleted file mode 100644
index 0c06e655..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/vu.snippet
+++ /dev/null
@@ -1 +0,0 @@
-validates_uniqueness_of :${1:attribute}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/wants.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/wants.snippet
deleted file mode 100644
index 909c8d59..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/wants.snippet
+++ /dev/null
@@ -1 +0,0 @@
-wants.<+js|xml|html+> <+{ <++> }+>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/xdelete.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/xdelete.snippet
deleted file mode 100644
index 41184e9e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/xdelete.snippet
+++ /dev/null
@@ -1 +0,0 @@
-xhr :delete, :${1:destroy}, :id => ${2:1}${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/xget.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/xget.snippet
deleted file mode 100644
index 1ae7834e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/xget.snippet
+++ /dev/null
@@ -1 +0,0 @@
-xhr :get, :<+show+><+, :id => <+1+>+><++>
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/xpost.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/xpost.snippet
deleted file mode 100644
index 3681a95f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/xpost.snippet
+++ /dev/null
@@ -1 +0,0 @@
-xhr :post, :${1:create}, :${2:object} => { ${3} }
diff --git a/sources_non_forked/snipmate-snippets/ruby-rails/xput.snippet b/sources_non_forked/snipmate-snippets/ruby-rails/xput.snippet
deleted file mode 100644
index f046f2ea..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rails/xput.snippet
+++ /dev/null
@@ -1 +0,0 @@
-xhr :put, :${1:update}, :id => ${2:1}, :${3:object} => { ${4} }${5}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/aft.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/aft.snippet
deleted file mode 100644
index 528f1b30..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/aft.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-after(${1::each}) do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/annot.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/annot.snippet
deleted file mode 100644
index 7199170c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/annot.snippet
+++ /dev/null
@@ -1 +0,0 @@
-any_number_of_times
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/anr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/anr.snippet
deleted file mode 100644
index 573addd5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/anr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-and_return(${1:value})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/anra.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/anra.snippet
deleted file mode 100644
index ab03deb4..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/anra.snippet
+++ /dev/null
@@ -1 +0,0 @@
-and_raise(${1:exception})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/anrb.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/anrb.snippet
deleted file mode 100644
index e313a512..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/anrb.snippet
+++ /dev/null
@@ -1 +0,0 @@
-and_return { ${1} }
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/ant.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/ant.snippet
deleted file mode 100644
index d230e92c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/ant.snippet
+++ /dev/null
@@ -1 +0,0 @@
-and_throw(${1:sym})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/any.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/any.snippet
deleted file mode 100644
index 34c08d69..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/any.snippet
+++ /dev/null
@@ -1 +0,0 @@
-and_yield(${1:values})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/atl.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/atl.snippet
deleted file mode 100644
index b95128bb..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/atl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-at_least(${1:n}).times
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/atm.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/atm.snippet
deleted file mode 100644
index fa5c6060..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/atm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-at_most(${1:n}).times
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/bef.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/bef.snippet
deleted file mode 100644
index f96608c5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/bef.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-before(${1::each}) do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/conn.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/conn.snippet
deleted file mode 100644
index 4bd9d239..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/conn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-controller_name :${1:controller}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/des.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/des.snippet
deleted file mode 100644
index 44c75845..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/des.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-describe "${1:subject}" do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/desc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/desc.snippet
deleted file mode 100644
index 6311aa1d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/desc.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'spec_helper'
-
-describe ${1:`Snippet_RubyClassNameFromFilename()`} do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/desrc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/desrc.snippet
deleted file mode 100644
index a9c8ac2b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/desrc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-describe ${1:controller}, "${2:GET|POST|PUT|DELETE} ${3:/some/path}${4}" do
- ${5}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/dest.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/dest.snippet
deleted file mode 100644
index b3b3e01a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/dest.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-describe ${1:Type} do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/dests.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/dests.snippet
deleted file mode 100644
index 89e9372c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/dests.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-describe ${1:Type}, "${2:description}" do
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/ex.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/ex.snippet
deleted file mode 100644
index 2e5a4a01..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/ex.snippet
+++ /dev/null
@@ -1 +0,0 @@
-exactly(${1:n}).times
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/isbl.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/isbl.snippet
deleted file mode 100644
index 728223f0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/isbl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-it_should_behave_like '${1:do something}'
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/it.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/it.snippet
deleted file mode 100644
index 8af38db4..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/it.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-it "${1}" do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/its.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/its.snippet
deleted file mode 100644
index 963f4041..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/its.snippet
+++ /dev/null
@@ -1 +0,0 @@
-it "should ${1:do something}" do${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/mat.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/mat.snippet
deleted file mode 100644
index 2f047710..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/mat.snippet
+++ /dev/null
@@ -1,24 +0,0 @@
-class ${1:ReverseTo}
- def initialize(${2:param})
- @$2 = $2
- end
-
- def matches?(actual)
- @actual = actual
- # Satisfy expectation here. Return false or raise an error if it's not met.
- ${3:@actual.reverse.should == @$2}
- true
- end
-
- def failure_message
- "expected #{@actual.inspect} to ${4} #{@$2.inspect}, but it didn't"
- end
-
- def negative_failure_message
- "expected #{@actual.inspect} not to ${5} #{@$2.inspect}, but it did"
- end
-end
-
-def ${6:reverse_to}(${7:expected})
- ${8}.new($7)
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/mm.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/mm.snippet
deleted file mode 100644
index b10aa1d5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/mm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-mock_model(${1:model})${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/moc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/moc.snippet
deleted file mode 100644
index 4ff954f1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/moc.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:var} = mock("${2:mock_name}"${3:, :null_object => true})
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/mocw.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/mocw.snippet
deleted file mode 100644
index 09f93e07..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/mocw.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-Spec::Runner.configure do |config|
- config.mock_with :${1:mocha|flexmock|rr}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/on.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/on.snippet
deleted file mode 100644
index b2d1a776..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/on.snippet
+++ /dev/null
@@ -1 +0,0 @@
-once
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/resh.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/resh.snippet
deleted file mode 100644
index 91cd5b06..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/resh.snippet
+++ /dev/null
@@ -1 +0,0 @@
-require File.dirname(__FILE__) + '/../spec_helper'
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/sef.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/sef.snippet
deleted file mode 100644
index 89d34116..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/sef.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-shared_examples_for "${1:do something}" do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/sh.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/sh.snippet
deleted file mode 100644
index 67530e9d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/sh.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should == ${2:value}
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shb.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shb.snippet
deleted file mode 100644
index b909d9c0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shb.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should be(${2:result})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shbc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shbc.snippet
deleted file mode 100644
index 9080a3c2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shbc.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should be_close(${2:result}, ${3:tolerance})
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shbio.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shbio.snippet
deleted file mode 100644
index 98a73893..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shbio.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should be_instance_of(${2:class})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shbko.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shbko.snippet
deleted file mode 100644
index 74bf8520..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shbko.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should be_a_kind_of(${2:class})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shbr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shbr.snippet
deleted file mode 100644
index 887ef800..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shbr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should be_redirect
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shbs.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shbs.snippet
deleted file mode 100644
index 602074b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shbs.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should be_success
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shc.snippet
deleted file mode 100644
index 16206fa1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-lambda do
- ${1}
-end.should change(${2:target}, :${3:method}).from(${4:old_value}).to(${5:new_value}).by(${6:change})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shdm.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shdm.snippet
deleted file mode 100644
index e82d82e7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shdm.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should match(/${2:regexp}/)
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/she.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/she.snippet
deleted file mode 100644
index f896a26e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/she.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should eql(${2:value})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/sheq.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/sheq.snippet
deleted file mode 100644
index e3c389e6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/sheq.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should equal(${2:value})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shh.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shh.snippet
deleted file mode 100644
index 93189cb8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shh.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should have(${2:num}).${3:things}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shhal.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shhal.snippet
deleted file mode 100644
index dabe237a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shhal.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should have_at_least(${2:num}).${3:things}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shham.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shham.snippet
deleted file mode 100644
index 7072add1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shham.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should have_at_most(${2:num}).${3:things}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shhr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shhr.snippet
deleted file mode 100644
index b8a8997f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shhr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should have(${2:n}).records
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shn.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shn.snippet
deleted file mode 100644
index b19cbb67..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shn.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not == ${2:value}
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnb.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnb.snippet
deleted file mode 100644
index a34d62e5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnb.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not be(${2:result})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnbc.snippet
deleted file mode 100644
index 55ac6d3a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbc.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not be_close(${2:result}, ${3:tolerance})
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbio.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnbio.snippet
deleted file mode 100644
index b6f15267..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbio.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not be_instance_of(${2:klass})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbko.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnbko.snippet
deleted file mode 100644
index 0b0cfc7f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbko.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not be_a_kind_of(${2:klass})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnbr.snippet
deleted file mode 100644
index 25519b08..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should_not be_redirect
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbs.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnbs.snippet
deleted file mode 100644
index 7d35ab20..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnbs.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should_not be_success
-${1}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnc.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnc.snippet
deleted file mode 100644
index 7baead27..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnc.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-lambda do
- ${1}
-end.should_not change(${2:target}, :${3:method})
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shne.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shne.snippet
deleted file mode 100644
index 68a7451c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shne.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not eql(${2:value})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shneq.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shneq.snippet
deleted file mode 100644
index da4f59b9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shneq.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
- ${1:target}.should_not equal(${2:value})
- ${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnm.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnm.snippet
deleted file mode 100644
index ee7b6043..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnm.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not match(/${2:regexp}/)
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnp.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnp.snippet
deleted file mode 100644
index 9f1298b7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:target}.should_not be_${2:predicate}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnr.snippet
deleted file mode 100644
index 98c0fc08..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:mock}.should_not_receive(:${2:message})${3}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnre.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnre.snippet
deleted file mode 100644
index fbf9604e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnre.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not raise_error(${2:error})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnredt.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnredt.snippet
deleted file mode 100644
index 2afb69cc..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnredt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should_not redirect_to(${1:url})
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnrt.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnrt.snippet
deleted file mode 100644
index c2c5f2cb..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnrt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not respond_to(:${2:sym})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shns.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shns.snippet
deleted file mode 100644
index b73a71c8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shns.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should_not satisfy { |${2:obj}| ${3} }
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shnt.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shnt.snippet
deleted file mode 100644
index 0353376b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shnt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-lambda { ${1} }.should_not throw_symbol(:${2:symbol})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shp.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shp.snippet
deleted file mode 100644
index 9267b612..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-${1:target}.should be_${2:predicate}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shr.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shr.snippet
deleted file mode 100644
index 4effa2c1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shr.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:mock}.should_receive(:${2:message})${3}
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shre.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shre.snippet
deleted file mode 100644
index 420bbe80..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shre.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should raise_error(${2:error})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shredt.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shredt.snippet
deleted file mode 100644
index 979c1d6e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shredt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should redirect_to(${1:url})
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shrt.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shrt.snippet
deleted file mode 100644
index a796ebd2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shrt.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should respond_to(:${2:sym})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shs.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shs.snippet
deleted file mode 100644
index 08eb9419..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shs.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should satisfy { |${2:obj}| ${3} }
-${4}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/sht.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/sht.snippet
deleted file mode 100644
index 86f55fa3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/sht.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-${1:target}.should throw_symble(:${2:symbol})
-${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/shtemp.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/shtemp.snippet
deleted file mode 100644
index 9b08c10e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/shtemp.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-response.should render_template(:${1:template})
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/tw.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/tw.snippet
deleted file mode 100644
index 6ebb6d4a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/tw.snippet
+++ /dev/null
@@ -1 +0,0 @@
-twice
diff --git a/sources_non_forked/snipmate-snippets/ruby-rspec/wia.snippet b/sources_non_forked/snipmate-snippets/ruby-rspec/wia.snippet
deleted file mode 100644
index 21eda197..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-rspec/wia.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-with(${1:args})
-${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/context.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/context.snippet
deleted file mode 100644
index 0e5a7fd2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/context.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-context "${1:context}" do
-
- ${2}
-
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/samao.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/samao.snippet
deleted file mode 100644
index cfd4e59f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/samao.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_allow_mass_assignment_of :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/savf.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/savf.snippet
deleted file mode 100644
index 39cfd6f1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/savf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_allow_values_for :${1:field}, "${2:value}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/sbt.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/sbt.snippet
deleted file mode 100644
index 90d25c84..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/sbt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_belong_to :${1:association}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/selal.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/selal.snippet
deleted file mode 100644
index 2fc48b4a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/selal.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_ensure_length_at_least :${1:field}, ${2:min_length}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/seli.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/seli.snippet
deleted file mode 100644
index 8bc2bf87..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/seli.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_ensure_length_is :${1:field}, ${2:length}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/selir.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/selir.snippet
deleted file mode 100644
index 1f0bdc98..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/selir.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_ensure_length_in_range :${1:field}, ${2:start}..${3:end}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/setup.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/setup.snippet
deleted file mode 100644
index 68b895c1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/setup.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-setup do
- ${1}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/sevir.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/sevir.snippet
deleted file mode 100644
index 195f7484..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/sevir.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_ensure_value_in_range :${1:field}, ${2:start}..${3:end}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shabtm.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shabtm.snippet
deleted file mode 100644
index 03c70e24..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shabtm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_and_belong_to_many :${1:association}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shcm.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shcm.snippet
deleted file mode 100644
index 6948aea9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shcm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_class_methods :${1:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shdc.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shdc.snippet
deleted file mode 100644
index d841d650..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shdc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_db_columns :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shi.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shi.snippet
deleted file mode 100644
index d6d2b389..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_indices :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shim.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shim.snippet
deleted file mode 100644
index 1f442528..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shim.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_instance_methods :${1:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shm.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shm.snippet
deleted file mode 100644
index 8c98c17e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_many :${1:association}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/sho.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/sho.snippet
deleted file mode 100644
index a652b4f5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/sho.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_one :${1:association}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/shroa.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/shroa.snippet
deleted file mode 100644
index 022015df..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/shroa.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_have_read_only_attributes :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/snamao.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/snamao.snippet
deleted file mode 100644
index 236190b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/snamao.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_not_allow_mass_assignment_of :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/snavf.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/snavf.snippet
deleted file mode 100644
index 029c5bab..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/snavf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_not_allow_values_for :${1:field}, "${2:value}"
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/svao.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/svao.snippet
deleted file mode 100644
index 8eccb887..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/svao.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_validate_acceptance_of :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/svno.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/svno.snippet
deleted file mode 100644
index a90c1cab..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/svno.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_validate_numericality_of :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/svpo.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/svpo.snippet
deleted file mode 100644
index 13598f86..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/svpo.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_validate_presence_of :${1:field}
diff --git a/sources_non_forked/snipmate-snippets/ruby-shoulda/svuo.snippet b/sources_non_forked/snipmate-snippets/ruby-shoulda/svuo.snippet
deleted file mode 100644
index 6e26912d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby-shoulda/svuo.snippet
+++ /dev/null
@@ -1 +0,0 @@
-should_validate_uniqueness_of :${1:field}, :scoped_to => ${2:arrayofnames}
diff --git a/sources_non_forked/snipmate-snippets/ruby/Md.snippet b/sources_non_forked/snipmate-snippets/ruby/Md.snippet
deleted file mode 100644
index 1c2c9f10..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/Md.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.open(${1:dump_path}, "wb") { |${2:file}| Marshal.dump(${3:obj}, ${4:$2}) }
diff --git a/sources_non_forked/snipmate-snippets/ruby/Ml.snippet b/sources_non_forked/snipmate-snippets/ruby/Ml.snippet
deleted file mode 100644
index 33c3200c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/Ml.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.open(${1:dump_path}, "rb") { |${2:file}| Marshal.load(${3:$2}) }
diff --git a/sources_non_forked/snipmate-snippets/ruby/Pn.snippet b/sources_non_forked/snipmate-snippets/ruby/Pn.snippet
deleted file mode 100644
index e2136913..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/Pn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-PStore.new(${1})
diff --git a/sources_non_forked/snipmate-snippets/ruby/Yd.snippet b/sources_non_forked/snipmate-snippets/ruby/Yd.snippet
deleted file mode 100644
index e667a081..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/Yd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.open(${1:path_to_yml}, "w") { |${2:file}| YAML.dump(${3:obj}, ${4:$2}) }
diff --git a/sources_non_forked/snipmate-snippets/ruby/Yl.snippet b/sources_non_forked/snipmate-snippets/ruby/Yl.snippet
deleted file mode 100644
index b37d1bb5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/Yl.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.open(${1:path_to_yml}) { |${2:file}| YAML.load(${3:$2}) }
diff --git a/sources_non_forked/snipmate-snippets/ruby/am.snippet b/sources_non_forked/snipmate-snippets/ruby/am.snippet
deleted file mode 100644
index 91209b9b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/am.snippet
+++ /dev/null
@@ -1 +0,0 @@
-alias_method :${1:new_name}, :${2:old_name}
diff --git a/sources_non_forked/snipmate-snippets/ruby/as.snippet b/sources_non_forked/snipmate-snippets/ruby/as.snippet
deleted file mode 100644
index a8c7f5cb..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/as.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert ${1:test}, "${2:failure_message}"
diff --git a/sources_non_forked/snipmate-snippets/ruby/asam.snippet b/sources_non_forked/snipmate-snippets/ruby/asam.snippet
deleted file mode 100644
index 3c95b31c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asam.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_alias_method ${1:object}, ${2:alias_name}, ${3:original_name}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asb.snippet b/sources_non_forked/snipmate-snippets/ruby/asb.snippet
deleted file mode 100644
index ab1eff71..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asb.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_boolean ${1:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asc.snippet b/sources_non_forked/snipmate-snippets/ruby/asc.snippet
deleted file mode 100644
index c6badc3e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_compare ${1:expected}, ${2:operator}, ${3:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/ascd.snippet b/sources_non_forked/snipmate-snippets/ruby/ascd.snippet
deleted file mode 100644
index bc77908f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ascd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_const_defined ${1:object}, ${2:constant_name}
diff --git a/sources_non_forked/snipmate-snippets/ruby/ase.snippet b/sources_non_forked/snipmate-snippets/ruby/ase.snippet
deleted file mode 100644
index 5f650990..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ase.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_equal ${1:expected}, ${2:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asem.snippet b/sources_non_forked/snipmate-snippets/ruby/asem.snippet
deleted file mode 100644
index 46428325..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asem.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_empty ${1:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asf.snippet b/sources_non_forked/snipmate-snippets/ruby/asf.snippet
deleted file mode 100644
index 27ff6da5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_false ${1:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asfa.snippet b/sources_non_forked/snipmate-snippets/ruby/asfa.snippet
deleted file mode 100644
index f45fa53f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asfa.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_fail_assertion { ${1:block} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/asi.snippet b/sources_non_forked/snipmate-snippets/ruby/asi.snippet
deleted file mode 100644
index dedf94d2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_include ${1:collection}, ${2:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asid.snippet b/sources_non_forked/snipmate-snippets/ruby/asid.snippet
deleted file mode 100644
index 683fb06c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asid.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_in_delta ${1:expected_float}, ${2:actual_float}, ${3:delta_float}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asie.snippet b/sources_non_forked/snipmate-snippets/ruby/asie.snippet
deleted file mode 100644
index f13d0a36..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asie.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_in_epsilon ${1:expected_float}, ${2:actual_float}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asio.snippet b/sources_non_forked/snipmate-snippets/ruby/asio.snippet
deleted file mode 100644
index 56f0ab7e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asio.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_instance_of ${1:ExpectedClass}, ${2:actual_instance}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asko.snippet b/sources_non_forked/snipmate-snippets/ruby/asko.snippet
deleted file mode 100644
index 555bf138..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asko.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_kind_of ${1:ExpectedKind}, ${2:actual_instance}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asm.snippet b/sources_non_forked/snipmate-snippets/ruby/asm.snippet
deleted file mode 100644
index 9860b4cf..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_match /${1:expected_pattern}/, ${2:actual_string}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asn.snippet b/sources_non_forked/snipmate-snippets/ruby/asn.snippet
deleted file mode 100644
index 36a2898e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_nil ${1:instance}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asncd.snippet b/sources_non_forked/snipmate-snippets/ruby/asncd.snippet
deleted file mode 100644
index b4dcd735..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asncd.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_const_defined ${1:object}, ${2:constant_name}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asne.snippet b/sources_non_forked/snipmate-snippets/ruby/asne.snippet
deleted file mode 100644
index 91db286a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asne.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_equal ${1:unexpected}, ${2:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnem.snippet b/sources_non_forked/snipmate-snippets/ruby/asnem.snippet
deleted file mode 100644
index 43d07728..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnem.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_empty ${1:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asni.snippet b/sources_non_forked/snipmate-snippets/ruby/asni.snippet
deleted file mode 100644
index d450d9ea..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asni.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_include ${1:collection}, ${2:object}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnid.snippet b/sources_non_forked/snipmate-snippets/ruby/asnid.snippet
deleted file mode 100644
index 23e039ad..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnid.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_in_delta ${1:expected_float}, ${2:actual_float}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnie.snippet b/sources_non_forked/snipmate-snippets/ruby/asnie.snippet
deleted file mode 100644
index 25eb7515..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnie.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_in_epsilon ${1:expected_float}, ${2:actual_float}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnm.snippet b/sources_non_forked/snipmate-snippets/ruby/asnm.snippet
deleted file mode 100644
index 95dbf247..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_no_match /${1:unexpected_pattern}/, ${2:actual_string}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnn.snippet b/sources_non_forked/snipmate-snippets/ruby/asnn.snippet
deleted file mode 100644
index 9227bc8a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnn.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_nil ${1:instance}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnp.snippet b/sources_non_forked/snipmate-snippets/ruby/asnp.snippet
deleted file mode 100644
index a540f84d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_predicate ${1:object}, ${2:predicate}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnr.snippet b/sources_non_forked/snipmate-snippets/ruby/asnr.snippet
deleted file mode 100644
index fc9a8204..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_nothing_raised { ${1:block} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnrt.snippet b/sources_non_forked/snipmate-snippets/ruby/asnrt.snippet
deleted file mode 100644
index fb063d28..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnrt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_respond_to ${1:object}, ${2:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asns.snippet b/sources_non_forked/snipmate-snippets/ruby/asns.snippet
deleted file mode 100644
index 509e467a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asns.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_same ${1:unexpected}, ${2:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnse.snippet b/sources_non_forked/snipmate-snippets/ruby/asnse.snippet
deleted file mode 100644
index befde129..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnse.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_not_send ${1:send_array}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asnt.snippet b/sources_non_forked/snipmate-snippets/ruby/asnt.snippet
deleted file mode 100644
index cb633c22..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asnt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_nothing_thrown { ${1} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/aso.snippet b/sources_non_forked/snipmate-snippets/ruby/aso.snippet
deleted file mode 100644
index 5b7faf64..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/aso.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_operator ${1:left}, :${2:operator}, ${3:right}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asp.snippet b/sources_non_forked/snipmate-snippets/ruby/asp.snippet
deleted file mode 100644
index c23fd3f6..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asp.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_predicate ${1:object}, ${2:predicate}
diff --git a/sources_non_forked/snipmate-snippets/ruby/aspe.snippet b/sources_non_forked/snipmate-snippets/ruby/aspe.snippet
deleted file mode 100644
index 3a3eed4f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/aspe.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_path_exist ${1:path}
diff --git a/sources_non_forked/snipmate-snippets/ruby/aspne.snippet b/sources_non_forked/snipmate-snippets/ruby/aspne.snippet
deleted file mode 100644
index f7a8873a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/aspne.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_path_not_exist ${1:path}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asr.snippet b/sources_non_forked/snipmate-snippets/ruby/asr.snippet
deleted file mode 100644
index 834038d5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_raise(${1:Exception}) { ${2} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/asrko.snippet b/sources_non_forked/snipmate-snippets/ruby/asrko.snippet
deleted file mode 100644
index f82820ed..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asrko.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_raise_kind_of(${1:kinds...}) { ${2:block} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/asrm.snippet b/sources_non_forked/snipmate-snippets/ruby/asrm.snippet
deleted file mode 100644
index f62f208b..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asrm.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_raise_message ${1:expected_message}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asrt.snippet b/sources_non_forked/snipmate-snippets/ruby/asrt.snippet
deleted file mode 100644
index ca8e84b7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asrt.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_respond_to ${1:object}, :${2:method}
diff --git a/sources_non_forked/snipmate-snippets/ruby/asse.snippet b/sources_non_forked/snipmate-snippets/ruby/asse.snippet
deleted file mode 100644
index 4fb9ef9a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/asse.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_send ${1:send_array}
diff --git a/sources_non_forked/snipmate-snippets/ruby/ast.snippet b/sources_non_forked/snipmate-snippets/ruby/ast.snippet
deleted file mode 100644
index 8962cfb7..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ast.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_throws(:${1:expected}) { ${2} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/astr.snippet b/sources_non_forked/snipmate-snippets/ruby/astr.snippet
deleted file mode 100644
index b9d14f6e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/astr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-assert_true ${1:actual}
diff --git a/sources_non_forked/snipmate-snippets/ruby/bm.snippet b/sources_non_forked/snipmate-snippets/ruby/bm.snippet
deleted file mode 100644
index 681c5621..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/bm.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-TESTS = ${1:10_000}
-Benchmark.bmbm do |results|
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/case.snippet b/sources_non_forked/snipmate-snippets/ruby/case.snippet
deleted file mode 100644
index 085a45db..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/case.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-case ${1}
-when ${2}
-else
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/class.snippet b/sources_non_forked/snipmate-snippets/ruby/class.snippet
deleted file mode 100644
index cb396704..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/class.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-class ${1:`Snippet_RubyClassNameFromFilename()`}${2}
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/classe.snippet b/sources_non_forked/snipmate-snippets/ruby/classe.snippet
deleted file mode 100644
index f683c688..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/classe.snippet
+++ /dev/null
@@ -1 +0,0 @@
-class ${1:ErrorClassName} < ${2:StandardError}; end${3}
diff --git a/sources_non_forked/snipmate-snippets/ruby/def.snippet b/sources_non_forked/snipmate-snippets/ruby/def.snippet
deleted file mode 100644
index ad9bc8cf..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/def.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def ${1:name}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/defi.snippet b/sources_non_forked/snipmate-snippets/ruby/defi.snippet
deleted file mode 100644
index 12c354c8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/defi.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def initialize${1}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/defmm.snippet b/sources_non_forked/snipmate-snippets/ruby/defmm.snippet
deleted file mode 100644
index e3b263a8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/defmm.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def method_missing(meth, *args, &blk)
- ${1}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/defs.snippet b/sources_non_forked/snipmate-snippets/ruby/defs.snippet
deleted file mode 100644
index 837733f2..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/defs.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def self.${1:class_method_name}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/deft.snippet b/sources_non_forked/snipmate-snippets/ruby/deft.snippet
deleted file mode 100644
index 9c2adbff..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/deft.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-def test_${1:case_name}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/detect.snippet b/sources_non_forked/snipmate-snippets/ruby/detect.snippet
deleted file mode 100644
index 5fc24aaa..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/detect.snippet
+++ /dev/null
@@ -1 +0,0 @@
-detect { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/detecto.snippet b/sources_non_forked/snipmate-snippets/ruby/detecto.snippet
deleted file mode 100644
index 904b2a67..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/detecto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-detect do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/dglob.snippet b/sources_non_forked/snipmate-snippets/ruby/dglob.snippet
deleted file mode 100644
index ca326ade..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/dglob.snippet
+++ /dev/null
@@ -1 +0,0 @@
-Dir.glob(${1:"<+dir}"+>) { |${2:file}| ${3} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/do.snippet b/sources_non_forked/snipmate-snippets/ruby/do.snippet
deleted file mode 100644
index 596c11a9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/do.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-do
- ${1}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/dop.snippet b/sources_non_forked/snipmate-snippets/ruby/dop.snippet
deleted file mode 100644
index 9bf1898a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/dop.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-do |${1:param}|
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/ea.snippet b/sources_non_forked/snipmate-snippets/ruby/ea.snippet
deleted file mode 100644
index 5f7edec0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ea.snippet
+++ /dev/null
@@ -1 +0,0 @@
-each { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/each.snippet b/sources_non_forked/snipmate-snippets/ruby/each.snippet
deleted file mode 100644
index 5f7edec0..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/each.snippet
+++ /dev/null
@@ -1 +0,0 @@
-each { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/each_with_index.snippet b/sources_non_forked/snipmate-snippets/ruby/each_with_index.snippet
deleted file mode 100644
index f4d3ef11..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/each_with_index.snippet
+++ /dev/null
@@ -1 +0,0 @@
-each_with_index { |${1:element},${2:i}| ${3:} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/each_with_indexo.snippet b/sources_non_forked/snipmate-snippets/ruby/each_with_indexo.snippet
deleted file mode 100644
index e4fb7080..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/each_with_indexo.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-each_with_index do |${1:element},${2:i}|
- ${3:body}
-end
-
diff --git a/sources_non_forked/snipmate-snippets/ruby/eacho.snippet b/sources_non_forked/snipmate-snippets/ruby/eacho.snippet
deleted file mode 100644
index 7c133426..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/eacho.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-each do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/eado.snippet b/sources_non_forked/snipmate-snippets/ruby/eado.snippet
deleted file mode 100644
index 7c133426..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/eado.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-each do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/eawi.snippet b/sources_non_forked/snipmate-snippets/ruby/eawi.snippet
deleted file mode 100644
index f4d3ef11..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/eawi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-each_with_index { |${1:element},${2:i}| ${3:} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/eawido.snippet b/sources_non_forked/snipmate-snippets/ruby/eawido.snippet
deleted file mode 100644
index e4fb7080..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/eawido.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-each_with_index do |${1:element},${2:i}|
- ${3:body}
-end
-
diff --git a/sources_non_forked/snipmate-snippets/ruby/elsif.snippet b/sources_non_forked/snipmate-snippets/ruby/elsif.snippet
deleted file mode 100644
index 84d8134e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/elsif.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-elsif ${1:condition}
- ${2}
diff --git a/sources_non_forked/snipmate-snippets/ruby/fileeach.snippet b/sources_non_forked/snipmate-snippets/ruby/fileeach.snippet
deleted file mode 100644
index 5076ef1a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/fileeach.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.foreach(${1:"<+path}"+>) { |${2:line}| ${3} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/fopen.snippet b/sources_non_forked/snipmate-snippets/ruby/fopen.snippet
deleted file mode 100644
index b630bfeb..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/fopen.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.open(${1:path}, "${2:rwab}") { |${3:file}| ${4} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/fread.snippet b/sources_non_forked/snipmate-snippets/ruby/fread.snippet
deleted file mode 100644
index d9e6074c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/fread.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.read(${1})
diff --git a/sources_non_forked/snipmate-snippets/ruby/http_get.snippet b/sources_non_forked/snipmate-snippets/ruby/http_get.snippet
deleted file mode 100644
index cba6d589..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/http_get.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-require 'net/http'
-res = Net::HTTP.get URI.parse('${1:url}')
diff --git a/sources_non_forked/snipmate-snippets/ruby/http_post.snippet b/sources_non_forked/snipmate-snippets/ruby/http_post.snippet
deleted file mode 100644
index 3b2036ad..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/http_post.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-require 'net/http'
-res = Net::HTTP.post_form URI.parse('${1:url}')${2:, params}
diff --git a/sources_non_forked/snipmate-snippets/ruby/if.snippet b/sources_non_forked/snipmate-snippets/ruby/if.snippet
deleted file mode 100644
index b2d1e39e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/if.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-if ${1:condition}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/ife.snippet b/sources_non_forked/snipmate-snippets/ruby/ife.snippet
deleted file mode 100644
index 2a7468df..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ife.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-if ${1:condition}
- ${2}
-else
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/inj.snippet b/sources_non_forked/snipmate-snippets/ruby/inj.snippet
deleted file mode 100644
index 90dea0d8..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/inj.snippet
+++ /dev/null
@@ -1 +0,0 @@
-inject(${1:init}) { |${2:total}, ${3:next}| ${4:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/injdo.snippet b/sources_non_forked/snipmate-snippets/ruby/injdo.snippet
deleted file mode 100644
index d3235e90..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/injdo.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-inject(${1:init}) do |${2:total}, ${3:next}|
- ${4:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/inject.snippet b/sources_non_forked/snipmate-snippets/ruby/inject.snippet
deleted file mode 100644
index 78ad721d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/inject.snippet
+++ /dev/null
@@ -1 +0,0 @@
-inject { |${1:total},${2:next}| ${3:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/injecto.snippet b/sources_non_forked/snipmate-snippets/ruby/injecto.snippet
deleted file mode 100644
index 1631033d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/injecto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-inject do |${1:total},${2:next}|
- ${3:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/ip.snippet b/sources_non_forked/snipmate-snippets/ruby/ip.snippet
deleted file mode 100644
index 91769768..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ip.snippet
+++ /dev/null
@@ -1 +0,0 @@
-ip_addr = request.env['REMOTE_ADDR']
diff --git a/sources_non_forked/snipmate-snippets/ruby/map.snippet b/sources_non_forked/snipmate-snippets/ruby/map.snippet
deleted file mode 100644
index b3e7719f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/map.snippet
+++ /dev/null
@@ -1 +0,0 @@
-map { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/mapdo.snippet b/sources_non_forked/snipmate-snippets/ruby/mapdo.snippet
deleted file mode 100644
index 316e7c7c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/mapdo.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-map do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/mapo.snippet b/sources_non_forked/snipmate-snippets/ruby/mapo.snippet
deleted file mode 100644
index 316e7c7c..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/mapo.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-map do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/mod.snippet b/sources_non_forked/snipmate-snippets/ruby/mod.snippet
deleted file mode 100644
index 457fd615..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/mod.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-module ${1:`Snippet_RubyClassNameFromFilename()`}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/module.snippet b/sources_non_forked/snipmate-snippets/ruby/module.snippet
deleted file mode 100644
index 78e025a1..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/module.snippet
+++ /dev/null
@@ -1,14 +0,0 @@
-module ${1:`Snippet_RubyClassNameFromFilename()`}
- module ClassMethods
- ${2}
- end
-
- module InstanceMethods
-
- end
-
- def self.included(receiver)
- receiver.extend ClassMethods
- receiver.send :include, InstanceMethods
- end
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/nam.snippet b/sources_non_forked/snipmate-snippets/ruby/nam.snippet
deleted file mode 100644
index 19b90a76..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/nam.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-namespace :${1:namespace} do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/ope.snippet b/sources_non_forked/snipmate-snippets/ruby/ope.snippet
deleted file mode 100644
index cfe92471..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/ope.snippet
+++ /dev/null
@@ -1 +0,0 @@
-open(${1:path}, "${2:rwab}") { |${3:io}| ${4} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/pathhere.snippet b/sources_non_forked/snipmate-snippets/ruby/pathhere.snippet
deleted file mode 100644
index f4ed9440..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/pathhere.snippet
+++ /dev/null
@@ -1 +0,0 @@
-File.join(File.dirname(__FILE__), *%w[${1:rel_path_here}])
diff --git a/sources_non_forked/snipmate-snippets/ruby/r.snippet b/sources_non_forked/snipmate-snippets/ruby/r.snippet
deleted file mode 100644
index f232fc94..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/r.snippet
+++ /dev/null
@@ -1 +0,0 @@
-attr_reader :${1:attr_names}
diff --git a/sources_non_forked/snipmate-snippets/ruby/reject.snippet b/sources_non_forked/snipmate-snippets/ruby/reject.snippet
deleted file mode 100644
index 07d2787f..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/reject.snippet
+++ /dev/null
@@ -1 +0,0 @@
-reject { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/rejecto.snippet b/sources_non_forked/snipmate-snippets/ruby/rejecto.snippet
deleted file mode 100644
index e906bd7e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/rejecto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-reject do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/rep.snippet b/sources_non_forked/snipmate-snippets/ruby/rep.snippet
deleted file mode 100644
index 04b77b0d..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/rep.snippet
+++ /dev/null
@@ -1 +0,0 @@
-results.report("${1:name}:") { TESTS.times { ${2} } }
diff --git a/sources_non_forked/snipmate-snippets/ruby/rw.snippet b/sources_non_forked/snipmate-snippets/ruby/rw.snippet
deleted file mode 100644
index 1862da33..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/rw.snippet
+++ /dev/null
@@ -1 +0,0 @@
-attr_accessor :${1:attr_names}
diff --git a/sources_non_forked/snipmate-snippets/ruby/select.snippet b/sources_non_forked/snipmate-snippets/ruby/select.snippet
deleted file mode 100644
index 8ab228cc..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/select.snippet
+++ /dev/null
@@ -1 +0,0 @@
-select { |${1:element}| ${2:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/selecto.snippet b/sources_non_forked/snipmate-snippets/ruby/selecto.snippet
deleted file mode 100644
index a22a6505..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/selecto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-select do |${1:element}|
- ${2:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/sinc.snippet b/sources_non_forked/snipmate-snippets/ruby/sinc.snippet
deleted file mode 100644
index 20e2c4c9..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/sinc.snippet
+++ /dev/null
@@ -1 +0,0 @@
-class << self; self end
diff --git a/sources_non_forked/snipmate-snippets/ruby/sort.snippet b/sources_non_forked/snipmate-snippets/ruby/sort.snippet
deleted file mode 100644
index 08a67c1a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/sort.snippet
+++ /dev/null
@@ -1 +0,0 @@
-sort { |${1:x},${2:y}| ${3:body} }
diff --git a/sources_non_forked/snipmate-snippets/ruby/sorto.snippet b/sources_non_forked/snipmate-snippets/ruby/sorto.snippet
deleted file mode 100644
index 76c38e40..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/sorto.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-sort do |${1:x},${2:y}|
- ${3:body}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/tas.snippet b/sources_non_forked/snipmate-snippets/ruby/tas.snippet
deleted file mode 100644
index d949a6b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/tas.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-desc "${1:Task description}"
-task :${2:task_name}${3: => [:dependent, :tasks]} do
- ${4}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/task.snippet b/sources_non_forked/snipmate-snippets/ruby/task.snippet
deleted file mode 100644
index d949a6b5..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/task.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-desc "${1:Task description}"
-task :${2:task_name}${3: => [:dependent, :tasks]} do
- ${4}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/tc.snippet b/sources_non_forked/snipmate-snippets/ruby/tc.snippet
deleted file mode 100644
index 3e28f61a..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/tc.snippet
+++ /dev/null
@@ -1,9 +0,0 @@
-require "test/unit"
-
-require "${1:library_file_name}"
-
-class Test${2:`Snippet_RubyClassNameFromFilename()`} < Test::Unit::TestCase
- def test_${3:case_name}
- ${4}
- end
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/unless.snippet b/sources_non_forked/snipmate-snippets/ruby/unless.snippet
deleted file mode 100644
index 3495d2ba..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/unless.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-unless ${1:condition}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/unlesse.snippet b/sources_non_forked/snipmate-snippets/ruby/unlesse.snippet
deleted file mode 100644
index d190b45e..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/unlesse.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-unless ${1:condition}
- ${2}
-else
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/w.snippet b/sources_non_forked/snipmate-snippets/ruby/w.snippet
deleted file mode 100644
index 0650e955..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/w.snippet
+++ /dev/null
@@ -1 +0,0 @@
-attr_writer :${1:attr_names}
diff --git a/sources_non_forked/snipmate-snippets/ruby/while.snippet b/sources_non_forked/snipmate-snippets/ruby/while.snippet
deleted file mode 100644
index 6e878fa3..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/while.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-while ${1:condition}
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/xmlr.snippet b/sources_non_forked/snipmate-snippets/ruby/xmlr.snippet
deleted file mode 100644
index eeb35802..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/xmlr.snippet
+++ /dev/null
@@ -1 +0,0 @@
-REXML::Document.new(File.read(${1:path}))
diff --git a/sources_non_forked/snipmate-snippets/ruby/xpa.snippet b/sources_non_forked/snipmate-snippets/ruby/xpa.snippet
deleted file mode 100644
index 5bff9508..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/xpa.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-elements.each(${1}) do |${2:node}|
- ${3}
-end
diff --git a/sources_non_forked/snipmate-snippets/ruby/zip.snippet b/sources_non_forked/snipmate-snippets/ruby/zip.snippet
deleted file mode 100644
index b2c831ab..00000000
--- a/sources_non_forked/snipmate-snippets/ruby/zip.snippet
+++ /dev/null
@@ -1 +0,0 @@
-zip(${1:enums}) { |${2:row}| ${3} }
diff --git a/sources_non_forked/snipmate-snippets/sinatra/get.snippet b/sources_non_forked/snipmate-snippets/sinatra/get.snippet
deleted file mode 100644
index 08f3fd5a..00000000
--- a/sources_non_forked/snipmate-snippets/sinatra/get.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-get '${1:/}' do
- ${2}
-end
diff --git a/sources_non_forked/snipmate-snippets/sshconfig/host.snippet b/sources_non_forked/snipmate-snippets/sshconfig/host.snippet
deleted file mode 100644
index 5992a2d0..00000000
--- a/sources_non_forked/snipmate-snippets/sshconfig/host.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-Host ${1:name}
- Hostname ${2:example.com}
- User ${3:username}
diff --git a/sources_non_forked/snipmate-snippets/support_functions.vim b/sources_non_forked/snipmate-snippets/support_functions.vim
deleted file mode 100644
index a09e81da..00000000
--- a/sources_non_forked/snipmate-snippets/support_functions.vim
+++ /dev/null
@@ -1,115 +0,0 @@
-"ruby {{{1
-function! Snippet_RubyClassNameFromFilename(...)
- let name = expand("%:t:r")
- if len(name) == 0
- if a:0 == 0
- let name = 'MyClass'
- else
- let name = a:1
- endif
- endif
- return Snippet_Camelcase(substitute(name, '_spec$', '', ''))
-endfunction
-
-function! Snippet_MigrationNameFromFilename(...)
- let name = substitute(expand("%:t:r"), '^.\{-}_', '', '')
- if len(name) == 0
- if a:0 == 0
- let name = 'MyClass'
- else
- let name = a:1
- endif
- endif
- return Snippet_Camelcase(name)
-endfunction
-
-
-"python {{{1
-function! Snippet_PythonClassNameFromFilename(...)
- let name = expand("%:t:r")
- if len(name) == 0
- if a:0 == 0
- let name = 'MyClass'
- else
- let name = a:1
- endif
- endif
- return Snippet_Camelcase(name)
-endfunction
-
-"php {{{1
-function! Snippet_PHPClassNameFromFilename(...)
- let name = expand("%:t:r:r")
- if len(name) == 0
- if a:0 == 0
- let name = 'MyClass'
- else
- let name = a:1
- endif
- endif
- return name
-endfunction
-
-"java {{{1
-function! Snippet_JavaClassNameFromFilename(...)
- let name = expand("%:t:r")
- if len(name) == 0
- if a:0 == 0
- let name = 'MyClass'
- else
- let name = a:1
- endif
- endif
- return name
-endfunction
-
-function! Snippet_JavaInstanceVarType(name)
- let oldview = winsaveview()
- if searchdecl(a:name) == 0
- normal! B
- let old_reg = @"
- normal! yaW
- let type = @"
- let @" = old_reg
- call winrestview(oldview)
- let type = substitute(type, '\s\+$', '', '')
-
- "searchdecl treats 'return foo;' as a declaration of foo
- if type != 'return'
- return type
- endif
- endif
- return "<+type+>"
-endfunction
-
-
-"global {{{1
-function! s:start_comment()
- return substitute(&commentstring, '^\([^ ]*\)\s*%s\(.*\)$', '\1', '')
-endfunction
-
-function! s:end_comment()
- return substitute(&commentstring, '^.*%s\(.*\)$', '\1', '')
-endfunction
-
-function! Snippet_Modeline()
- return s:start_comment() . " vim: set ${1:settings}:" . s:end_comment()
-endfunction
-
-function! Snippet_Camelcase(s)
- "upcase the first letter
- let toReturn = substitute(a:s, '^\(.\)', '\=toupper(submatch(1))', '')
- "turn all '_x' into 'X'
- return substitute(toReturn, '_\(.\)', '\=toupper(submatch(1))', 'g')
-endfunction
-
-function! Snippet_Underscore(s)
- "down the first letter
- let toReturn = substitute(a:s, '^\(.\)', '\=tolower(submatch(1))', '')
- "turn all 'X' into '_x'
- return substitute(toReturn, '\([A-Z]\)', '\=tolower("_".submatch(1))', 'g')
-endfunction
-
-
-" modeline {{{1
-" vim: set fdm=marker:
diff --git a/sources_non_forked/snipmate-snippets/vim/au.snippet b/sources_non_forked/snipmate-snippets/vim/au.snippet
deleted file mode 100644
index d59720a5..00000000
--- a/sources_non_forked/snipmate-snippets/vim/au.snippet
+++ /dev/null
@@ -1 +0,0 @@
-autocmd ${1:events} ${2:pattern} ${3:command}
diff --git a/sources_non_forked/snipmate-snippets/vim/com.snippet b/sources_non_forked/snipmate-snippets/vim/com.snippet
deleted file mode 100644
index b8eeb5b4..00000000
--- a/sources_non_forked/snipmate-snippets/vim/com.snippet
+++ /dev/null
@@ -1 +0,0 @@
-command! -nargs=${1:number_of_args} ${2:other_params} ${2:name} ${2:command}
diff --git a/sources_non_forked/snipmate-snippets/vim/func.snippet b/sources_non_forked/snipmate-snippets/vim/func.snippet
deleted file mode 100644
index 8591a835..00000000
--- a/sources_non_forked/snipmate-snippets/vim/func.snippet
+++ /dev/null
@@ -1,8 +0,0 @@
-"Function: $1
-"Desc: ${3:description}
-"
-"Arguments:
-"${4}
-function! ${1:name}(${2})
- ${5}
-endfunction
diff --git a/sources_non_forked/snipmate-snippets/vim/if.snippet b/sources_non_forked/snipmate-snippets/vim/if.snippet
deleted file mode 100644
index 336e7a00..00000000
--- a/sources_non_forked/snipmate-snippets/vim/if.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-if ${1}
- ${2}
-endif
diff --git a/sources_non_forked/snipmate-snippets/vim/ife.snippet b/sources_non_forked/snipmate-snippets/vim/ife.snippet
deleted file mode 100644
index c5d16939..00000000
--- a/sources_non_forked/snipmate-snippets/vim/ife.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-if ${1}
- ${2}
-else
-endif
diff --git a/sources_non_forked/snipmate-snippets/vim/log.snippet b/sources_non_forked/snipmate-snippets/vim/log.snippet
deleted file mode 100644
index 5a867549..00000000
--- a/sources_non_forked/snipmate-snippets/vim/log.snippet
+++ /dev/null
@@ -1 +0,0 @@
-echomsg ${1}
diff --git a/sources_non_forked/snipmate-snippets/vim/try.snippet b/sources_non_forked/snipmate-snippets/vim/try.snippet
deleted file mode 100644
index cd4c0e72..00000000
--- a/sources_non_forked/snipmate-snippets/vim/try.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-try
- ${2}
-catch /${1}/
-endtry
diff --git a/sources_non_forked/snipmate-snippets/xslt/call.snippet b/sources_non_forked/snipmate-snippets/xslt/call.snippet
deleted file mode 100644
index 2fe4f9d1..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/call.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${2}
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/choose.snippet b/sources_non_forked/snipmate-snippets/xslt/choose.snippet
deleted file mode 100644
index 1a877543..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/choose.snippet
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- ${2}
-
-
-
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/mat.snippet b/sources_non_forked/snipmate-snippets/xslt/mat.snippet
deleted file mode 100644
index a566e0ec..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/mat.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${2}
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/out.snippet b/sources_non_forked/snipmate-snippets/xslt/out.snippet
deleted file mode 100644
index 88e70c21..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/out.snippet
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/param.snippet b/sources_non_forked/snipmate-snippets/xslt/param.snippet
deleted file mode 100644
index f4f9a504..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/param.snippet
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/sty.snippet b/sources_non_forked/snipmate-snippets/xslt/sty.snippet
deleted file mode 100644
index f6751c74..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/sty.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${1}
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/tem.snippet b/sources_non_forked/snipmate-snippets/xslt/tem.snippet
deleted file mode 100644
index bcd86d6d..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/tem.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${2}
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/value.snippet b/sources_non_forked/snipmate-snippets/xslt/value.snippet
deleted file mode 100644
index 9128cc6d..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/value.snippet
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/var.snippet b/sources_non_forked/snipmate-snippets/xslt/var.snippet
deleted file mode 100644
index d21b77c8..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/var.snippet
+++ /dev/null
@@ -1,3 +0,0 @@
-
- ${2}
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/wparam.snippet b/sources_non_forked/snipmate-snippets/xslt/wparam.snippet
deleted file mode 100644
index 2284b71c..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/wparam.snippet
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/sources_non_forked/snipmate-snippets/xslt/xdec.snippet b/sources_non_forked/snipmate-snippets/xslt/xdec.snippet
deleted file mode 100644
index f1e44209..00000000
--- a/sources_non_forked/snipmate-snippets/xslt/xdec.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-
- ${2}
diff --git a/sources_non_forked/snipmate-snippets/zend/assert.snippet b/sources_non_forked/snipmate-snippets/zend/assert.snippet
deleted file mode 100644
index ca928f25..00000000
--- a/sources_non_forked/snipmate-snippets/zend/assert.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->assertTrue(${1:somevar}, '${2:sometext}');
diff --git a/sources_non_forked/snipmate-snippets/zend/boolcol.snippet b/sources_non_forked/snipmate-snippets/zend/boolcol.snippet
deleted file mode 100644
index 715fe19c..00000000
--- a/sources_non_forked/snipmate-snippets/zend/boolcol.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->hasColumn('${1:active}', '${2:boolean}', ${3:1}, array('default' => '${4:1}','notnull' => true));
diff --git a/sources_non_forked/snipmate-snippets/zend/clac.snippet b/sources_non_forked/snipmate-snippets/zend/clac.snippet
deleted file mode 100644
index 80972a11..00000000
--- a/sources_non_forked/snipmate-snippets/zend/clac.snippet
+++ /dev/null
@@ -1,20 +0,0 @@
-_flashMessenger->addMessage("${1}", '${2:error}');
diff --git a/sources_non_forked/snipmate-snippets/zend/getconf.snippet b/sources_non_forked/snipmate-snippets/zend/getconf.snippet
deleted file mode 100644
index 10f2b202..00000000
--- a/sources_non_forked/snipmate-snippets/zend/getconf.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$${1:conf} = Zend_Registry::get('${2:config}')->${3:general};
diff --git a/sources_non_forked/snipmate-snippets/zend/input.snippet b/sources_non_forked/snipmate-snippets/zend/input.snippet
deleted file mode 100644
index 3c4ed27e..00000000
--- a/sources_non_forked/snipmate-snippets/zend/input.snippet
+++ /dev/null
@@ -1,4 +0,0 @@
-= $this->formInput(array( 'type' => '${1:hidden}',
- 'name' => '${2}',
- 'value' => ${3:},
- 'id' => '${4:}' )); ?>
diff --git a/sources_non_forked/snipmate-snippets/zend/inputarr.snippet b/sources_non_forked/snipmate-snippets/zend/inputarr.snippet
deleted file mode 100644
index 8e97bee5..00000000
--- a/sources_non_forked/snipmate-snippets/zend/inputarr.snippet
+++ /dev/null
@@ -1,6 +0,0 @@
-= $this->formInput(array( 'type' => '${1:dropdown}',
- 'name' => '${2}',
- 'label' => '${3:}',
- 'errors' => ${4:},
- 'value' => ${5:},
- 'valueList' => ${6:} )); ?>
diff --git a/sources_non_forked/snipmate-snippets/zend/intcol.snippet b/sources_non_forked/snipmate-snippets/zend/intcol.snippet
deleted file mode 100644
index caacaa61..00000000
--- a/sources_non_forked/snipmate-snippets/zend/intcol.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->hasColumn('${1:id}', '${2:integer}', ${3:11}, array(${4:'notnull' => true)});
diff --git a/sources_non_forked/snipmate-snippets/zend/lib.snippet b/sources_non_forked/snipmate-snippets/zend/lib.snippet
deleted file mode 100644
index 683e22ef..00000000
--- a/sources_non_forked/snipmate-snippets/zend/lib.snippet
+++ /dev/null
@@ -1,5 +0,0 @@
-hasColumn('id', 'integer', 4, array('notnull' => true,
- 'primary' => true,
- 'autoincrement' => true));
- ${3}
- }
-
-}
diff --git a/sources_non_forked/snipmate-snippets/zend/navi.snippet b/sources_non_forked/snipmate-snippets/zend/navi.snippet
deleted file mode 100644
index 2724ff9f..00000000
--- a/sources_non_forked/snipmate-snippets/zend/navi.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->view->navigationActive = array('topnavi' => '${1:home}','subnavi' => '${2:index}');
diff --git a/sources_non_forked/snipmate-snippets/zend/route.snippet b/sources_non_forked/snipmate-snippets/zend/route.snippet
deleted file mode 100644
index cdf834b2..00000000
--- a/sources_non_forked/snipmate-snippets/zend/route.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->_redirector->gotoRoute(array('controller' => '${1}', 'action' => '${2:index}', 'id' => '${3:}'), '${4:admin_action}');
diff --git a/sources_non_forked/snipmate-snippets/zend/rp.snippet b/sources_non_forked/snipmate-snippets/zend/rp.snippet
deleted file mode 100644
index b5dcd1ff..00000000
--- a/sources_non_forked/snipmate-snippets/zend/rp.snippet
+++ /dev/null
@@ -1,2 +0,0 @@
-=$this->partial('${1:somefile}.phtml',
- array(${2}))?>
diff --git a/sources_non_forked/snipmate-snippets/zend/strcol.snippet b/sources_non_forked/snipmate-snippets/zend/strcol.snippet
deleted file mode 100644
index 98d3cf34..00000000
--- a/sources_non_forked/snipmate-snippets/zend/strcol.snippet
+++ /dev/null
@@ -1 +0,0 @@
-$this->hasColumn('${1:title}', '${2:string}', ${3:255}, array(${4:'notnull' => true}));
diff --git a/sources_non_forked/syntastic/.gitignore b/sources_non_forked/syntastic/.gitignore
deleted file mode 100644
index cc07c931..00000000
--- a/sources_non_forked/syntastic/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*~
-*.swp
-tags
-.DS_Store
diff --git a/sources_non_forked/syntastic/CONTRIBUTING.md b/sources_non_forked/syntastic/CONTRIBUTING.md
deleted file mode 100644
index 6dd17758..00000000
--- a/sources_non_forked/syntastic/CONTRIBUTING.md
+++ /dev/null
@@ -1,105 +0,0 @@
-# CONTRIBUTING
-- - -
-1\. [Bug reports / GitHub issues](#bugreps)
-2\. [Submitting a patch](#patches)
-3\. [General style notes](#generalstyle)
-4\. [Syntax checker notes](#checkerstyle)
-- - -
-
-
-
-## 1. Bug reports / GitHub issues
-
-Please note that the preferred channel for posting bug reports is the
-[issue tracker at GitHub][0]. Reports posted elsewhere are less likely
-to be seen by the core team.
-
-When reporting a bug make sure you search the existing GitHub issues
-for the same/similar issues. If you find one, feel free to add a `+1`
-comment with any additional information that may help us solve the
-issue.
-
-When creating a new issue be sure to state the following:
-
-* steps to reproduce the bug;
-* the version of Vim you are using (run `:ver` to find out);
-* the version of syntastic you are using (see `:SyntasticInfo`).
-
-For syntax checker bugs also state the version of the checker executable
-that you are using. Adding debugging information is typically useful
-too:
-
-* open a file handled by your checker;
-* set `g:syntastic_debug` to 1 or 3;
-* run the checker;
-* copy the output of `:mes`.
-
-
-
-## 2. Submitting a patch
-
-Before you consider adding features to syntastic, _please_ spend a few minutes
-(re-)reading the latest version of the [manual][1]. Syntastic is changing
-rapidly at times, and it's possible that some features you want to add exist
-already.
-
-To submit a patch:
-
-* fork the [repo][2] on GitHub;
-* make a [topic branch][3] and start hacking;
-* submit a pull request based off your topic branch.
-
-Small, focused patches are preferred.
-
-Large changes to the code should be discussed with the core team first.
-Create an issue and explain your plan and see what we say.
-
-Also, make sure to update the manual whenever applicable. Nobody can use
-features that aren't documented.
-
-
-
-## 3. General style notes
-
-Follow the coding conventions/styles used in the syntastic core:
-
-* use 4 space indents;
-* don't use abbreviated keywords - e.g. use `endfunction`, not `endfun`
-(there's always room for more fun!);
-* don't use `l:` prefixes for variables unless actually required (i.e.
-almost never);
-* code for maintainability; we would rather a function be a couple of
-lines longer and have (for example) some [explaining variables][4] to
-aid readability.
-
-
-
-## 4. Syntax checker notes
-
-Make sure to read the [guide][5] if you plan to add new syntax checkers.
-
-Use the existing checkers as templates, rather than writing everything
-from scratch.
-
-The preferred style for error format strings is one "clause" per line.
-E.g. (from the `coffee` checker):
-
-```vim
-let errorformat =
- \ '%E%f:%l:%c: %trror: %m,' .
- \ 'Syntax%trror: In %f\, %m on line %l,' .
- \ '%EError: In %f\, Parse error on line %l: %m,' .
- \ '%EError: In %f\, %m on line %l,' .
- \ '%W%f(%l): lint warning: %m,' .
- \ '%W%f(%l): warning: %m,' .
- \ '%E%f(%l): SyntaxError: %m,' .
- \ '%-Z%p^,' .
- \ '%-G%.%#'
-```
-
-[0]: https://github.com/scrooloose/syntastic/issues
-[1]: https://github.com/scrooloose/syntastic/blob/master/doc/syntastic.txt
-[2]: https://github.com/scrooloose/syntastic
-[3]: https://github.com/dchelimsky/rspec/wiki/Topic-Branches#using-topic-branches-when-contributing-patches
-[4]: http://www.refactoring.com/catalog/extractVariable.html
-[5]: https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide
diff --git a/sources_non_forked/syntastic/LICENCE b/sources_non_forked/syntastic/LICENCE
deleted file mode 100644
index 8b1a9d81..00000000
--- a/sources_non_forked/syntastic/LICENCE
+++ /dev/null
@@ -1,13 +0,0 @@
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- Version 2, December 2004
-
-Copyright (C) 2004 Sam Hocevar
-
-Everyone is permitted to copy and distribute verbatim or modified
-copies of this license document, and changing it is allowed as long
-as the name is changed.
-
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. You just DO WHAT THE FUCK YOU WANT TO.
diff --git a/sources_non_forked/syntastic/README.markdown b/sources_non_forked/syntastic/README.markdown
deleted file mode 100644
index c0a49c67..00000000
--- a/sources_non_forked/syntastic/README.markdown
+++ /dev/null
@@ -1,476 +0,0 @@
- ,
- / \,,_ .'|
- ,{{| /}}}}/_.' _____________________________________________
- }}}}` '{{' '. / \
- {{{{{ _ ;, \ / Ladies and Gentlemen, \
- ,}}}}}} /o`\ ` ;) | |
- {{{{{{ / ( | this is ... |
- }}}}}} | \ | |
- {{{{{{{{ \ \ | |
- }}}}}}}}} '.__ _ | | _____ __ __ _ |
- {{{{{{{{ /`._ (_\ / | / ___/__ ______ / /_____ ______/ /_(_)____ |
- }}}}}}' | //___/ --=: \__ \/ / / / __ \/ __/ __ `/ ___/ __/ / ___/ |
- jgs `{{{{` | '--' | ___/ / /_/ / / / / /_/ /_/ (__ ) /_/ / /__ |
- }}}` | /____/\__, /_/ /_/\__/\__,_/____/\__/_/\___/ |
- | /____/ |
- | /
- \_____________________________________________/
-
-
-- - -
-1. [Introduction](#introduction)
-2. [Installation](#installation)
-2.1. [Requirements](#requirements)
-2.2. [Installing syntastic with Pathogen](#installpathogen)
-3. [Recommended settings](#settings)
-4. [FAQ](#faq)
-4.1. [I installed syntastic but it isn't reporting any errors...](#faqinfo)
-4.2. [The `python` checker complains about syntactically valid Python 3 constructs...](#faqpython3)
-4.3. [Are there any local checkers for HTML5 that I can use with syntastic?](#faqhtml5)
-4.4. [The `perl` checker has stopped working...](#faqperl)
-4.5. [What happened to the `rustc` checker?](#faqrust)
-4.6. [What happened to the `xcrun` checker?](#faqxcrun)
-4.7. [I run a checker and the location list is not updated...](#faqloclist)
-4.7. [I run`:lopen` or `:lwindow` and the error window is empty...](#faqloclist)
-4.8. [How can I pass additional arguments to a checker?](#faqargs)
-4.9. [Syntastic supports several checkers for my filetype - how do I tell which one(s) to use?](#faqcheckers)
-4.10. [What is the difference between syntax checkers and style checkers?](#faqstyle)
-4.11. [I have enabled multiple checkers for the current filetype. How can I display all errors from all checkers together?](#faqaggregate)
-4.12. [How can I jump between the different errors without using the location list at the bottom of the window?](#faqlnext)
-4.13. [The error window is closed automatically when I :quit the current buffer but not when I :bdelete it?](#faqbdelete)
-5. [Resources](#otherresources)
-
-- - -
-
-
-
-## 1\. Introduction
-
-Syntastic is a syntax checking plugin for [Vim][13] that runs files through
-external syntax checkers and displays any resulting errors to the user. This
-can be done on demand, or automatically as files are saved. If syntax errors
-are detected, the user is notified and is happy because they didn't have to
-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, 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],
-[syntastic-extras][26], [syntastic-more][27], [vim-crystal][29],
-[vim-eastwood][28], and [vim-swift][24].
-
-Below is a screenshot showing the methods that Syntastic uses to display syntax
-errors. Note that, in practise, you will only have a subset of these methods
-enabled.
-
-![Screenshot 1][0]
-
-1. Errors are loaded into the location list for the corresponding window.
-2. When the cursor is on a line containing an error, the error message is echoed in the command window.
-3. Signs are placed beside lines with errors - note that warnings are displayed in a different color.
-4. There is a configurable statusline flag you can include in your statusline config.
-5. Hover the mouse over a line containing an error and the error message is displayed as a balloon.
-6. (not shown) Highlighting errors with syntax highlighting. Erroneous parts of lines can be highlighted.
-
-
-
-## 2\. Installation
-
-
-
-### 2.1\. Requirements
-
-Syntastic itself has rather relaxed requirements: it doesn't have any external
-dependencies, and it needs a version of [Vim][13] compiled with a few common
-features: `autocmd`, `eval`, `file_in_path`, `modify_fname`, `quickfix`,
-`reltime`, and `user_commands`. Not all possible combinations of features that
-include the ones above make equal sense on all operating systems, but Vim
-version 7 or later with the "normal", "big", or "huge" feature sets should be
-fine.
-
-Syntastic should work with any modern plugin managers for Vim, such as
-[NeoBundle][14], [Pathogen][1], [Vim-Addon-Manager][15], [Vim-Plug][16], or
-[Vundle][17]. Instructions for installing syntastic with [Pathogen][1] are
-included below for completeness.
-
-Starting with Vim version 7.4.1486 you can also load syntastic using the
-standard mechanism of packages, without the help of third-party plugin managers
-(see `:help packages` in Vim for details). Beware however that, while support
-for packages has been added in Vim 7.4.1384, the functionality needed by
-syntastic is present only in versions 7.4.1486 and later.
-
-Last but not least: syntastic doesn't know how to do any syntax checks by
-itself. In order to get meaningful results you need to install external
-checkers corresponding to the types of files you use. Please consult the
-[wiki][3] for a list of supported checkers.
-
-
-
-### 2.2\. Installing syntastic with Pathogen
-
-If you already have [Pathogen][1] working then skip [Step 1](#step1) and go to
-[Step 2](#step2).
-
-
-
-#### 2.2.1\. Step 1: Install pathogen.vim
-
-First I'll show you how to install Tim Pope's [Pathogen][1] so that it's easy to
-install syntastic. Do this in your terminal so that you get the `pathogen.vim`
-file and the directories it needs:
-```sh
-mkdir -p ~/.vim/autoload ~/.vim/bundle && \
-curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
-```
-Next you *need* to add this to your `~/.vimrc`:
-```vim
-execute pathogen#infect()
-```
-
-
-
-#### 2.2.2\. Step 2: Install syntastic as a Pathogen bundle
-
-You now have pathogen installed and can put syntastic into `~/.vim/bundle` like
-this:
-```sh
-cd ~/.vim/bundle && \
-git clone https://github.com/scrooloose/syntastic.git
-```
-Quit vim and start it back up to reload it, then type:
-```vim
-:Helptags
-```
-If you get an error when you do this, then you probably didn't install
-[Pathogen][1] right. Go back to [Step 1](#step1) and make sure you did the
-following:
-
-1. Created both the `~/.vim/autoload` and `~/.vim/bundle` directories.
-2. Added the `execute pathogen#infect()` line to your `~/.vimrc` file
-3. Did the `git clone` of syntastic inside `~/.vim/bundle`
-4. Have permissions to access all of these directories.
-
-
-
-## 3\. Recommended settings
-
-Syntastic has numerous options that can be configured, and the defaults
-are not particularly well suitable for new users. It is recommended
-that you start by adding the following lines to your `vimrc` file, and
-return to them after reading the manual (see `:help syntastic` in Vim):
-```vim
-set statusline+=%#warningmsg#
-set statusline+=%{SyntasticStatuslineFlag()}
-set statusline+=%*
-
-let g:syntastic_always_populate_loc_list = 1
-let g:syntastic_auto_loc_list = 1
-let g:syntastic_check_on_open = 1
-let g:syntastic_check_on_wq = 0
-```
-
-
-
-## 4\. FAQ
-
-
-
-__4.1. Q. I installed syntastic but it isn't reporting any errors...__
-
-A. The most likely reason is that none of the syntax checkers that it requires
-are installed. For example: by default, python requires either `flake8` or
-`pylint` to be installed and in your `$PATH`. To see which executables are
-supported, look at the [wiki][3]. Note that aliases do not work; the actual
-executables must be available in your `$PATH`. Symbolic links are okay though.
-You can see syntastic's idea of available checkers by running `:SyntasticInfo`.
-
-A second probable reason is that none of the available checkers are
-enabled. Syntastic comes preconfigured with a default list of enabled checkers
-per filetype, but this list is kept short in order to prevent slowing down Vim
-or trying to run conflicting checks. The command `:SyntasticInfo` will show you
-which checkers are enabled. You can tell syntastic which checkers (among the
-available ones) you want to run by setting `g:syntastic__checkers` in
-your `vimrc` (see [below](#faqcheckers)).
-
-A third possible reason is that the `$PATH` seen by syntastic might not be same
-as the `$PATH` in your login shell. Syntastic runs checkers using the shell
-pointed to by Vim's `shell` (or by `g:syntastic_shell`, if set), and that's the
-shell you need to configure to set the proper `$PATH` and environment variables
-for your checkers. You can see syntastic's idea of `$PATH` by running
-```vim
-:echo syntastic#util#system('echo "$PATH"')
-```
-on UNIX and Mac OS-X systems, or
-```vim
-:echo syntastic#util#system('echo %PATH%')
-```
-on Windows.
-
-Finally, another reason it could fail is that either the command line options
-or the error output for a syntax checker may have changed. In this case, make
-sure you have the latest version of the syntax checker installed. If it still
-fails then post an [issue][4] - or better yet, create a pull request.
-
-
-
-__4.2. Q. The `python` checker complains about syntactically valid Python 3 constructs...__
-
-A. Configure the `python` checker to call a Python 3 interpreter rather than
-Python 2, e.g:
-```vim
-let g:syntastic_python_python_exec = '/path/to/python3'
-```
-
-
-
-__4.3. Q. Are there any local checkers for HTML5 that I can use with syntastic?__
-
-[HTML Tidy][18] has a fork named [HTML Tidy for HTML5][19]. It's a drop
-in replacement, and syntastic can use it without changes. Just install it
-somewhere and point `g:syntastic_html_tidy_exec` to its executable:
-```vim
-let g:syntastic_html_tidy_exec = 'tidy5'
-```
-Alternatively, you can install [vnu.jar][21] from the [validator.nu][20]
-project and run it as a [HTTP server][23]:
-```sh
-$ java -Xss512k -cp /path/to/vnu.jar nu.validator.servlet.Main 8888
-```
-Then you can [configure][22] syntastic to use it:
-```vim
-let g:syntastic_html_validator_api = 'http://localhost:8888/'
-```
-
-
-
-__4.4. Q. The `perl` checker has stopped working...__
-
-A. The `perl` checker runs `perl -c` against your file, which in turn
-__executes__ any `BEGIN`, `UNITCHECK`, and `CHECK` blocks, and any `use`
-statements in your file (cf. [perlrun][10]). This is probably fine if you
-wrote the file yourself, but it's a security problem if you're checking
-third-party files. Since there is currently no way to disable this behaviour
-while still producing useful results, the checker is now disabled by default.
-To (re-)enable it, make sure the `g:syntastic_perl_checkers` list includes
-`perl`, and set `g:syntastic_enable_perl_checker` to 1 in your `vimrc`:
-```vim
-let g:syntastic_enable_perl_checker = 1
-```
-
-
-
-__4.5. Q. What happened to the `rustc` checker?__
-
-A. It is now part of the [rust.vim][12] plugin. If you install this plugin the
-checker should be picked up automatically by syntastic.
-
-
-
-__4.6. Q. What happened to the `xcrun` checker?__
-
-A. The `xcrun` checker used to have a security problem and it has been removed.
-A better checker for __Swift__ is part of the [vim-swift][24] plugin. If you
-install this plugin the checker should be picked up automatically by syntastic.
-
-
-
-__4.7. Q. I run a checker and the location list is not updated...__
-__4.7. Q. I run`:lopen` or `:lwindow` and the error window is empty...__
-
-A. By default the location list is changed only when you run the `:Errors`
-command, in order to minimise conflicts with other plugins. If you want the
-location list to always be updated when you run the checkers, add this line to
-your `vimrc`:
-```vim
-let g:syntastic_always_populate_loc_list = 1
-```
-
-
-
-__4.8. Q. How can I pass additional arguments to a checker?__
-
-A. Almost all syntax checkers use the `makeprgBuild()` function. Those checkers
-that do can be configured using global variables. The general form of the
-global `args` variables is `syntastic___args`.
-
-So, If you wanted to pass `--my --args --here` to the ruby mri checker you
-would add this line to your `vimrc`:
-```vim
-let g:syntastic_ruby_mri_args = "--my --args --here"
-```
-
-See `:help syntastic-checker-options` for more information.
-
-
-
-__4.9. Q. Syntastic supports several checkers for my filetype - how do I tell it
-which one(s) to use?__
-
-A. Stick a line like this in your `vimrc`:
-```vim
-let g:syntastic__checkers = ['']
-```
-
-To see the list of supported checkers for your filetype look at the
-[wiki][3].
-
-e.g. Python has the following checkers, among others: `flake8`, `pyflakes`,
-`pylint` and a native `python` checker.
-
-To tell syntastic to use `pylint`, you would use this setting:
-```vim
-let g:syntastic_python_checkers = ['pylint']
-```
-
-Checkers can be chained together like this:
-```vim
-let g:syntastic_php_checkers = ['php', 'phpcs', 'phpmd']
-```
-
-This is telling syntastic to run the `php` checker first, and if no errors are
-found, run `phpcs`, and then `phpmd`.
-
-You can also run checkers explicitly by calling `:SyntasticCheck `.
-
-e.g. to run `phpcs` and `phpmd`:
-```vim
-:SyntasticCheck phpcs phpmd
-```
-
-This works for any checkers available for the current filetype, even if they
-aren't listed in `g:syntastic__checkers`. You can't run checkers for
-"foreign" filetypes though (e.g. you can't run, say, a Python checker if the
-filetype of the current file is `php`).
-
-
-
-__4.10. Q. What is the difference between syntax checkers and style checkers?__
-
-A. The errors and warnings they produce are highlighted differently and can
-be filtered by different rules, but otherwise the distinction is pretty much
-arbitrary. There is an ongoing effort to keep things consistent, so you can
-_generally_ expect messages produced by syntax checkers to be _mostly_ related
-to syntax, and messages produced by style checkers to be _mostly_ about style.
-But there can be no formal guarantee that, say, a style checker that runs into
-a syntax error wouldn't die with a fatal message, nor that a syntax checker
-wouldn't give you warnings against using some constructs as being bad practice.
-There is also no guarantee that messages marked as "style" are less severe than
-the ones marked as "syntax" (whatever that might mean). And there are even a
-few Frankenstein checkers (for example `flake8` and `pylama`) that, by their
-nature, produce both kinds of messages. Syntastic is not smart enough to be
-able to sort out these things by itself.
-
-In fact it's more useful to look at this from the perspective of filtering
-unwanted messages, rather than as an indicator of severity levels. The
-distinction between syntax and style is orthogonal to the distinction between
-errors and warnings, and thus you can turn off messages based on level, on
-type, or both.
-
-e.g. To disable all style messages:
-```vim
-let g:syntastic_quiet_messages = { "type": "style" }
-```
-See `:help syntastic_quiet_messages` for details.
-
-
-
-__4.11. Q. I have enabled multiple checkers for the current filetype. How can I
-display all errors from all checkers together?__
-
-A. Set `g:syntastic_aggregate_errors` to 1 in your `vimrc`:
-```vim
-let g:syntastic_aggregate_errors = 1
-```
-
-See `:help syntastic-aggregating-errors` for more details.
-
-
-
-__4.12. Q. How can I jump between the different errors without using the location
-list at the bottom of the window?__
-
-A. Vim provides several built-in commands for this. See `:help :lnext` and
-`:help :lprevious`.
-
-If you use these commands a lot then you may want to add shortcut mappings to
-your `vimrc`, or install something like [unimpaired][2], which provides such
-mappings (among other things).
-
-
-
-__4.13. Q. The error window is closed automatically when I :quit the current buffer
-but not when I :bdelete it?__
-
-A. There is no safe way to handle that situation automatically, but you can
-work around it:
-
-```vim
-nnoremap :lclose:bdelete
-cabbrev bd =(getcmdtype()==#':' && getcmdpos()==1 ? 'lclose\|bdelete' : 'bd')
-```
-
-
-
-## 5\. Resources
-
-The preferred place for posting suggestions, reporting bugs, and general
-discussions related to syntastic is the [issue tracker at GitHub][4].
-A guide for writing syntax checkers can be found in the [wiki][11].
-There are also a dedicated [google group][5], and a
-[syntastic tag at StackOverflow][6].
-
-Syntastic aims to provide a common interface to syntax checkers for as many
-languages as possible. For particular languages, there are, of course, other
-plugins that provide more functionality than syntastic. You might want to take
-a look at [ghcmod-vim][31], [jedi-vim][7], [python-mode][8], [vim-go][32], or
-[YouCompleteMe][9].
-
-[0]: https://github.com/scrooloose/syntastic/raw/master/_assets/screenshot_1.png
-[1]: https://github.com/tpope/vim-pathogen
-[2]: https://github.com/tpope/vim-unimpaired
-[3]: https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers
-[4]: https://github.com/scrooloose/syntastic/issues
-[5]: https://groups.google.com/group/vim-syntastic
-[6]: http://stackoverflow.com/questions/tagged/syntastic
-[7]: https://github.com/davidhalter/jedi-vim
-[8]: https://github.com/klen/python-mode
-[9]: http://valloric.github.io/YouCompleteMe/
-[10]: http://perldoc.perl.org/perlrun.html#*-c*
-[11]: https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide
-[12]: https://github.com/rust-lang/rust.vim
-[13]: http://www.vim.org/
-[14]: https://github.com/Shougo/neobundle.vim
-[15]: https://github.com/MarcWeber/vim-addon-manager
-[16]: https://github.com/junegunn/vim-plug/
-[17]: https://github.com/gmarik/Vundle.vim
-[18]: http://tidy.sourceforge.net/
-[19]: http://www.htacg.org/tidy-html5/
-[20]: http://about.validator.nu/
-[21]: https://github.com/validator/validator/releases/latest
-[22]: https://github.com/scrooloose/syntastic/wiki/HTML%3A---validator
-[23]: http://validator.github.io/validator/#standalone
-[24]: https://github.com/kballard/vim-swift
-[25]: https://github.com/OmniSharp/omnisharp-vim
-[26]: https://github.com/myint/syntastic-extras
-[27]: https://github.com/roktas/syntastic-more
-[28]: https://github.com/venantius/vim-eastwood
-[29]: https://github.com/rhysd/vim-crystal
-[30]: https://github.com/the-lambda-church/merlin
-[31]: https://github.com/eagletmt/ghcmod-vim
-[32]: https://github.com/fatih/vim-go
-
-
diff --git a/sources_non_forked/syntastic/_assets/screenshot_1.png b/sources_non_forked/syntastic/_assets/screenshot_1.png
deleted file mode 100644
index c1b69f4b..00000000
Binary files a/sources_non_forked/syntastic/_assets/screenshot_1.png and /dev/null differ
diff --git a/sources_non_forked/syntastic/autoload/syntastic/c.vim b/sources_non_forked/syntastic/autoload/syntastic/c.vim
deleted file mode 100644
index e49a29a0..00000000
--- a/sources_non_forked/syntastic/autoload/syntastic/c.vim
+++ /dev/null
@@ -1,341 +0,0 @@
-if exists('g:loaded_syntastic_c_autoload') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_c_autoload = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-" Public functions {{{1
-
-" convenience function to determine the 'null device' parameter
-" based on the current operating system
-function! syntastic#c#NullOutput() abort " {{{2
- let known_os = has('unix') || has('mac') || syntastic#util#isRunningWindows()
- return known_os ? '-o ' . syntastic#util#DevNull() : ''
-endfunction " }}}2
-
-" read additional compiler flags from the given configuration file
-" the file format and its parsing mechanism is inspired by clang_complete
-function! syntastic#c#ReadConfig(file) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, 'ReadConfig: looking for', a:file)
-
- " search upwards from the current file's directory
- let config = syntastic#util#findFileInParent(a:file, expand('%:p:h', 1))
- if config ==# ''
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, 'ReadConfig: file not found')
- return ''
- endif
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, 'ReadConfig: config file:', config)
- if !filereadable(config)
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, 'ReadConfig: file unreadable')
- return ''
- endif
-
- " convert filename into absolute path
- let filepath = fnamemodify(config, ':p:h')
-
- " try to read config file
- try
- let lines = readfile(config)
- catch /\m^Vim\%((\a\+)\)\=:E48[45]/
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, 'ReadConfig: error reading file')
- return ''
- endtry
-
- " filter out empty lines and comments
- call filter(lines, 'v:val !~# ''\v^(\s*#|$)''')
-
- " remove leading and trailing spaces
- call map(lines, 'substitute(v:val, ''\m^\s\+'', "", "")')
- call map(lines, 'substitute(v:val, ''\m\s\+$'', "", "")')
-
- let parameters = []
- for line in lines
- let matches = matchstr(line, '\m\C^\s*-I\s*\zs.\+')
- if matches !=# ''
- " this one looks like an absolute path
- if match(matches, '\m^\%(/\|\a:\)') != -1
- call add(parameters, '-I' . matches)
- else
- call add(parameters, '-I' . filepath . syntastic#util#Slash() . matches)
- endif
- else
- call add(parameters, line)
- endif
- endfor
-
- return join(map(parameters, 'syntastic#util#shescape(v:val)'))
-endfunction " }}}2
-
-" GetLocList() for C-like compilers
-function! syntastic#c#GetLocList(filetype, subchecker, options) abort " {{{2
- try
- let flags = s:_get_cflags(a:filetype, a:subchecker, a:options)
- catch /\m\C^Syntastic: skip checks$/
- return []
- endtry
-
- let makeprg = syntastic#util#shexpand(g:syntastic_{a:filetype}_compiler) .
- \ ' ' . flags . ' ' . syntastic#util#shexpand('%')
-
- let errorformat = s:_get_checker_var('g', a:filetype, a:subchecker, 'errorformat', a:options['errorformat'])
-
- let postprocess = s:_get_checker_var('g', a:filetype, a:subchecker, 'remove_include_errors', 0) ?
- \ ['filterForeignErrors'] : []
-
- " process makeprg
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'postprocess': postprocess })
-endfunction " }}}2
-
-" }}}1
-
-" Private functions {{{1
-
-" initialize c/cpp syntax checker handlers
-function! s:_init() abort " {{{2
- let s:handlers = []
- let s:cflags = {}
-
- call s:_registerHandler('\m\', 's:_checkPhp', [])
- call s:_registerHandler('\m\', 's:_checkPython', [])
- call s:_registerHandler('\m\"
- echohl ErrorMsg
- echomsg 'syntastic: error: ' . a:msg
- echohl None
-endfunction " }}}2
-
-function! syntastic#log#oneTimeWarn(msg) abort " {{{2
- if index(s:one_time_notices_issued, a:msg) >= 0
- return
- endif
-
- call add(s:one_time_notices_issued, a:msg)
- call syntastic#log#warn(a:msg)
-endfunction " }}}2
-
-" @vimlint(EVL102, 1, l:OLD_VAR)
-function! syntastic#log#deprecationWarn(old, new, ...) abort " {{{2
- if exists('g:syntastic_' . a:old) && !exists('g:syntastic_' . a:new)
- let msg = 'variable g:syntastic_' . a:old . ' is deprecated, please use '
-
- if a:0
- let OLD_VAR = g:syntastic_{a:old}
- try
- let NEW_VAR = eval(a:1)
- let msg .= 'in its stead: let g:syntastic_' . a:new . ' = ' . string(NEW_VAR)
- let g:syntastic_{a:new} = NEW_VAR
- catch
- let msg .= 'g:syntastic_' . a:new . ' instead'
- endtry
- else
- let msg .= 'g:syntastic_' . a:new . ' instead'
- let g:syntastic_{a:new} = g:syntastic_{a:old}
- endif
-
- call syntastic#log#oneTimeWarn(msg)
- endif
-endfunction " }}}2
-" @vimlint(EVL102, 0, l:OLD_VAR)
-
-function! syntastic#log#debug(level, msg, ...) abort " {{{2
- if !s:_isDebugEnabled(a:level)
- return
- endif
-
- let leader = s:_log_timestamp()
- call s:_logRedirect(1)
-
- if a:0 > 0
- " filter out dictionary functions
- echomsg leader . a:msg . ' ' .
- \ strtrans(string(type(a:1) == type({}) || type(a:1) == type([]) ?
- \ filter(copy(a:1), 'type(v:val) != type(function("tr"))') : a:1))
- else
- echomsg leader . a:msg
- endif
-
- call s:_logRedirect(0)
-endfunction " }}}2
-
-function! syntastic#log#debugShowOptions(level, names) abort " {{{2
- if !s:_isDebugEnabled(a:level)
- return
- endif
-
- let leader = s:_log_timestamp()
- call s:_logRedirect(1)
-
- let vlist = copy(type(a:names) == type('') ? [a:names] : a:names)
- if !empty(vlist)
- call map(vlist, "'&' . v:val . ' = ' . strtrans(string(eval('&' . v:val))) . (s:_is_modified(v:val) ? ' (!)' : '')")
- echomsg leader . join(vlist, ', ')
- endif
- call s:_logRedirect(0)
-endfunction " }}}2
-
-function! syntastic#log#debugShowVariables(level, names) abort " {{{2
- if !s:_isDebugEnabled(a:level)
- return
- endif
-
- let leader = s:_log_timestamp()
- call s:_logRedirect(1)
-
- let vlist = type(a:names) == type('') ? [a:names] : a:names
- for name in vlist
- let msg = s:_format_variable(name)
- if msg !=# ''
- echomsg leader . msg
- endif
- endfor
-
- call s:_logRedirect(0)
-endfunction " }}}2
-
-function! syntastic#log#debugDump(level) abort " {{{2
- if !s:_isDebugEnabled(a:level)
- return
- endif
-
- call syntastic#log#debugShowVariables( a:level, sort(keys(g:_SYNTASTIC_DEFAULTS)) )
-endfunction " }}}2
-
-function! syntastic#log#ndebug(level, title, messages) abort " {{{2
- if s:_isDebugEnabled(a:level)
- return
- endif
-
- call syntastic#log#error(a:title)
- if type(a:messages) == type([])
- for msg in a:messages
- echomsg msg
- endfor
- else
- echomsg a:messages
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Private functions {{{1
-
-function! s:_isDebugEnabled_smart(level) abort " {{{2
- return and(g:syntastic_debug, a:level)
-endfunction " }}}2
-
-function! s:_isDebugEnabled_dumb(level) abort " {{{2
- " poor man's bit test for bit N, assuming a:level == 2**N
- return (g:syntastic_debug / a:level) % 2
-endfunction " }}}2
-
-let s:_isDebugEnabled = function(exists('*and') ? 's:_isDebugEnabled_smart' : 's:_isDebugEnabled_dumb')
-lockvar s:_isDebugEnabled
-
-function! s:_logRedirect(on) abort " {{{2
- if exists('g:syntastic_debug_file')
- if a:on
- try
- execute 'redir >> ' . fnameescape(expand(g:syntastic_debug_file, 1))
- catch /\m^Vim\%((\a\+)\)\=:/
- silent! redir END
- unlet g:syntastic_debug_file
- endtry
- else
- silent! redir END
- endif
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Utilities {{{1
-
-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)
- call add(vals, 'g:syntastic_' . a:name . ' = ' . strtrans(string(g:syntastic_{a:name})))
- endif
- if exists('b:syntastic_' . a:name)
- call add(vals, 'b:syntastic_' . a:name . ' = ' . strtrans(string(b:syntastic_{a:name})))
- endif
-
- return join(vals, ', ')
-endfunction " }}}2
-
-function! s:_is_modified(name) abort " {{{2
- if !exists('s:option_defaults')
- let s:option_defaults = {}
- endif
- if !has_key(s:option_defaults, a:name)
- let opt_save = eval('&' . a:name)
- execute 'set ' . a:name . '&'
- let s:option_defaults[a:name] = eval('&' . a:name)
- execute 'let &' . a:name . ' = ' . string(opt_save)
- endif
-
- return s:option_defaults[a:name] !=# eval('&' . a:name)
-endfunction " }}}2
-
-" }}}1
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/autoload/syntastic/postprocess.vim b/sources_non_forked/syntastic/autoload/syntastic/postprocess.vim
deleted file mode 100644
index 136fa589..00000000
--- a/sources_non_forked/syntastic/autoload/syntastic/postprocess.vim
+++ /dev/null
@@ -1,73 +0,0 @@
-if exists('g:loaded_syntastic_postprocess_autoload') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_postprocess_autoload = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-" Public functions {{{1
-
-" merge consecutive blanks
-function! syntastic#postprocess#compressWhitespace(errors) abort " {{{2
- for e in a:errors
- let e['text'] = substitute(e['text'], "\001", '', 'g')
- let e['text'] = substitute(e['text'], '\n', ' ', 'g')
- let e['text'] = substitute(e['text'], '\m\s\{2,}', ' ', 'g')
- let e['text'] = substitute(e['text'], '\m^\s\+', '', '')
- let e['text'] = substitute(e['text'], '\m\s\+$', '', '')
- endfor
-
- return a:errors
-endfunction " }}}2
-
-" remove spurious CR under Cygwin
-function! syntastic#postprocess#cygwinRemoveCR(errors) abort " {{{2
- if has('win32unix')
- for e in a:errors
- let e['text'] = substitute(e['text'], '\r', '', 'g')
- endfor
- endif
-
- return a:errors
-endfunction " }}}2
-
-" decode XML entities
-function! syntastic#postprocess#decodeXMLEntities(errors) abort " {{{2
- for e in a:errors
- let e['text'] = syntastic#util#decodeXMLEntities(e['text'])
- endfor
-
- return a:errors
-endfunction " }}}2
-
-" filter out errors referencing other files
-function! syntastic#postprocess#filterForeignErrors(errors) abort " {{{2
- return filter(copy(a:errors), 'get(v:val, "bufnr") == ' . bufnr(''))
-endfunction " }}}2
-
-" make sure line numbers are not past end of buffers
-" XXX: this loads all referenced buffers in memory
-function! syntastic#postprocess#guards(errors) abort " {{{2
- let buffers = syntastic#util#unique(map(filter(copy(a:errors), 'v:val["valid"]'), 'str2nr(v:val["bufnr"])'))
-
- let guards = {}
- for b in buffers
- let guards[b] = len(getbufline(b, 1, '$'))
- endfor
-
- for e in a:errors
- if e['valid'] && e['lnum'] > guards[e['bufnr']]
- let e['lnum'] = guards[e['bufnr']]
- endif
- endfor
-
- return a:errors
-endfunction " }}}2
-
-" }}}1
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/autoload/syntastic/preprocess.vim b/sources_non_forked/syntastic/autoload/syntastic/preprocess.vim
deleted file mode 100644
index 9f4b43b7..00000000
--- a/sources_non_forked/syntastic/autoload/syntastic/preprocess.vim
+++ /dev/null
@@ -1,566 +0,0 @@
-if exists('g:loaded_syntastic_preprocess_autoload') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_preprocess_autoload = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-" Public functions {{{1
-
-function! syntastic#preprocess#cabal(errors) abort " {{{2
- let out = []
- let star = 0
- for err in a:errors
- if star
- if err ==# ''
- let star = 0
- else
- let out[-1] .= ' ' . err
- endif
- else
- call add(out, err)
- if err =~# '\m^*\s'
- let star = 1
- endif
- endif
- endfor
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#checkstyle(errors) abort " {{{2
- let out = []
- let fname = expand('%', 1)
- for err in a:errors
- if match(err, '\m') > -1
- let line = str2nr(matchstr(err, '\m\ \[[^]]+\])+\ze:'', "", "")')
-endfunction " }}}2
-
-function! syntastic#preprocess#dockerfile_lint(errors) abort " {{{2
- let out = []
- let json = s:_decode_JSON(join(a:errors, ''))
-
- if type(json) == type({})
- try
- let data = json['error']['data'] + json['warn']['data'] + json['info']['data']
- for e in data
- let type = toupper(e['level'][0])
- if type ==# 'I'
- let type = 'W'
- let style = 1
- else
- let style = 0
- endif
-
- let line = get(e, 'line', 1)
- let message = e['message']
- if has_key(e, 'description') && e['description'] !=# 'None'
- let message = message . '. ' . e['description']
- endif
-
- let msg =
- \ type . ':' .
- \ style . ':' .
- \ line . ':' .
- \ message
- call add(out, msg)
- endfor
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker dockerfile/dockerfile_lint: unrecognized error format')
- let out = []
- endtry
- else
- call syntastic#log#warn('checker dockerfile/dockerfile_lint: unrecognized error format')
- endif
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#flow(errors) abort " {{{2
- let idx = 0
- while idx < len(a:errors) && a:errors[idx][0] !=# '{'
- let idx += 1
- endwhile
- let errs = s:_decode_JSON(join(a:errors[idx :], ''))
-
- let out = []
- if type(errs) == type({}) && has_key(errs, 'errors') && type(errs['errors']) == type([])
- for e in errs['errors']
- if type(e) == type({}) && has_key(e, 'message') && type(e['message']) == type([]) && len(e['message'])
- let m = e['message'][0]
- let t = e['message'][1:]
-
- try
- let msg =
- \ m['path'] . ':' .
- \ m['line'] . ':' .
- \ m['start'] . ':' .
- \ (m['line'] ==# m['endline'] && str2nr(m['end']) > 0 ? m['end'] . ':' : '') .
- \ ' ' . m['descr']
-
- if len(t)
- let msg .= ' ' . join(map(t,
- \ 'v:val["descr"] . " (" . v:val["path"] . ":" . v:val["line"] . ":" . v:val["start"] . ' .
- \ '"," . (v:val["line"] !=# v:val["endline"] ? v:val["endline"] . ":" : "") . ' .
- \ 'v:val["end"] . ")"'))
- endif
-
- let msg = substitute(msg, '\r', '', 'g')
- let msg = substitute(msg, '\n', ' ', 'g')
-
- call add(out, msg)
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker javascript/flow: unrecognized error format')
- let out = []
- break
- endtry
- else
- call syntastic#log#warn('checker javascript/flow: unrecognized error format')
- let out = []
- break
- endif
- endfor
- else
- call syntastic#log#warn('checker javascript/flow: unrecognized error format')
- endif
-
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#iconv(errors) abort " {{{2
- return
- \ has('iconv') && &encoding !=# '' && &encoding !=# 'utf-8' ?
- \ map(a:errors, 'iconv(v:val, "utf-8", &encoding)') :
- \ a:errors
-endfunction " }}}2
-
-function! syntastic#preprocess#jscs(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
- let e['message'] = substitute(e['message'], "\n", ' ', 'g')
- cal add(out, fname . ':' . e['line'] . ':' . e['column'] . ':' . e['message'])
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker javascript/jscs: unrecognized error item ' . string(e))
- let out = []
- endtry
- endfor
- else
- call syntastic#log#warn('checker javascript/jscs: unrecognized error format')
- endif
- endfor
- else
- call syntastic#log#warn('checker javascript/jscs: unrecognized error format')
- endif
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#killEmpty(errors) abort " {{{2
- return filter(copy(a:errors), 'v:val !=# ""')
-endfunction " }}}2
-
-function! syntastic#preprocess#perl(errors) abort " {{{2
- let out = []
-
- for e in a:errors
- let parts = matchlist(e, '\v^(.*)\sat\s(.{-})\sline\s(\d+)(.*)$')
- if !empty(parts)
- call add(out, parts[2] . ':' . parts[3] . ':' . parts[1] . parts[4])
- endif
- endfor
-
- return syntastic#util#unique(out)
-endfunction " }}}2
-
-function! syntastic#preprocess#prospector(errors) abort " {{{2
- let errs = s:_decode_JSON(join(a:errors, ''))
-
- let out = []
- if type(errs) == type({}) && has_key(errs, 'messages')
- if type(errs['messages']) == type([])
- for e in errs['messages']
- if type(e) == type({})
- try
- if e['source'] ==# 'pylint'
- let e['location']['character'] += 1
- endif
-
- let msg =
- \ e['location']['path'] . ':' .
- \ e['location']['line'] . ':' .
- \ e['location']['character'] . ': ' .
- \ e['code'] . ' ' .
- \ e['message'] . ' ' .
- \ '[' . e['source'] . ']'
-
- call add(out, msg)
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker python/prospector: unrecognized error item ' . string(e))
- let out = []
- break
- endtry
- else
- call syntastic#log#warn('checker python/prospector: unrecognized error item ' . string(e))
- let out = []
- break
- endif
- endfor
- else
- call syntastic#log#warn('checker python/prospector: unrecognized error format')
- endif
- endif
-
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#rparse(errors) abort " {{{2
- let errlist = copy(a:errors)
-
- " remove uninteresting lines and handle continuations
- let i = 0
- while i < len(errlist)
- if i > 0 && errlist[i][:1] ==# ' ' && errlist[i] !~# '\m\s\+\^$'
- let errlist[i-1] .= errlist[i][1:]
- call remove(errlist, i)
- elseif errlist[i] !~# '\m^\(Lint:\|Lint checking:\|Error in\) '
- call remove(errlist, i)
- else
- let i += 1
- endif
- endwhile
-
- let out = []
- let fname = ''
- for e in errlist
- if match(e, '\m^Lint: ') == 0
- let parts = matchlist(e, '\m^Lint: \(.*\): found on lines \([0-9, ]\+\)\(+\(\d\+\) more\)\=')
- if len(parts) >= 3
- for line in split(parts[2], '\m,\s*')
- call add(out, 'E:' . fname . ':' . line . ': ' . parts[1])
- endfor
- endif
- if len(parts) >= 5 && parts[4] !=# ''
- call add(out, 'E:' . fname . ':0: ' . parts[1] . ' - ' . parts[4] . ' messages not shown')
- endif
- elseif match(e, '\m^Lint checking: ') == 0
- let fname = matchstr(e, '\m^Lint checking: \zs.*')
- elseif match(e, '\m^Error in ') == 0
- call add(out, substitute(e, '\m^Error in .\+ : .\+\ze:\d\+:\d\+: ', 'E:' . fname, ''))
- endif
- endfor
-
- 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 = []
-
- " CssSyntaxError: /path/to/file.css:2:11: Missed semicolon
- let parts = matchlist(a:errors[0], '\v^CssSyntaxError: (.{-1,}):(\d+):(\d+): (.+)')
- if len(parts) > 4
- call add(out, 'E:' . join(parts[1:4], ':'))
- else
- let errs = s:_decode_JSON(join(a:errors, ''))
-
- let out = []
- if type(errs) == type([]) && len(errs) == 1 && type(errs[0]) == type({}) &&
- \ has_key(errs[0], 'source') && has_key(errs[0], 'warnings') && type(errs[0]['warnings']) == type([])
-
- for e in errs[0]['warnings']
- try
- let severity = type(e['severity']) == type(0) ? ['W', 'E'][e['severity']-1] : e['severity'][0]
- let msg =
- \ severity . ':' .
- \ errs[0]['source'] . ':' .
- \ e['line'] . ':' .
- \ e['column'] . ':' .
- \ e['text']
- call add(out, msg)
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker css/stylelint: unrecognized error item ' . string(e))
- let out = []
- break
- endtry
- endfor
- else
- call syntastic#log#warn('checker css/stylelint: unrecognized error format')
- endif
- endif
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#tslint(errors) abort " {{{2
- return map(copy(a:errors), 'substitute(v:val, ''\m^\(([^)]\+)\)\s\(.\+\)$'', ''\2 \1'', "")')
-endfunction " }}}2
-
-function! syntastic#preprocess#validator(errors) abort " {{{2
- let out = []
- for e in a:errors
- let parts = matchlist(e, '\v^"([^"]+)"(.+)')
- if len(parts) >= 3
- " URL decode, except leave alone any "+"
- let parts[1] = substitute(parts[1], '\m%\(\x\x\)', '\=nr2char("0x".submatch(1))', 'g')
- let parts[1] = substitute(parts[1], '\m\\"', '"', 'g')
- let parts[1] = substitute(parts[1], '\m\\\\', '\\', 'g')
- call add(out, '"' . parts[1] . '"' . parts[2])
- endif
- endfor
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#vint(errors) abort " {{{2
- let errs = s:_decode_JSON(join(a:errors, ''))
-
- let out = []
- if type(errs) == type([])
- for e in errs
- if type(e) == type({})
- try
- let msg =
- \ e['file_path'] . ':' .
- \ e['line_number'] . ':' .
- \ e['column_number'] . ':' .
- \ e['severity'][0] . ': ' .
- \ e['description'] . ' (' .
- \ e['policy_name'] . ')'
-
- call add(out, msg)
- catch /\m^Vim\%((\a\+)\)\=:E716/
- call syntastic#log#warn('checker vim/vint: unrecognized error item ' . string(e))
- let out = []
- break
- endtry
- else
- call syntastic#log#warn('checker vim/vint: unrecognized error item ' . string(e))
- let out = []
- break
- endif
- endfor
- else
- call syntastic#log#warn('checker vim/vint: unrecognized error format')
- endif
-
- return out
-endfunction " }}}2
-
-" }}}1
-
-" Workarounds {{{1
-
-" In errorformat, \ or % following %f make it depend on isfname. The default
-" setting of isfname is crafted to work with completion, rather than general
-" filename matching. The result for syntastic is that filenames containing
-" spaces (or a few other special characters) can't be matched.
-"
-" Fixing isfname to address this problem would depend on the set of legal
-" characters for filenames on the filesystem the project's files lives on.
-" Inferring the kind of filesystem a file lives on, in advance to parsing the
-" file's name, is an interesting problem (think f.i. a file loaded from a VFAT
-" partition, mounted on Linux). A problem syntastic is not prepared to solve.
-"
-" As a result, the functions below exist for the only reason to avoid using
-" things like %f\, in errorformat.
-"
-" References:
-" https://groups.google.com/forum/#!topic/vim_dev/pTKmZmouhio
-" https://vimhelp.appspot.com/quickfix.txt.html#error-file-format
-
-function! syntastic#preprocess#basex(errors) abort " {{{2
- let out = []
- let idx = 0
- while idx < len(a:errors)
- let parts = matchlist(a:errors[idx], '\v^\[\S+\] Stopped at (.+), (\d+)/(\d+):')
- if len(parts) > 3
- let err = parts[1] . ':' . parts[2] . ':' . parts[3] . ':'
- let parts = matchlist(a:errors[idx+1], '\v^\[(.)\D+(\d+)\] (.+)')
- if len(parts) > 3
- let err .= (parts[1] ==? 'W' || parts[1] ==? 'E' ? parts[1] : 'E') . ':' . parts[2] . ':' . parts[3]
- call add(out, err)
- let idx +=1
- endif
- elseif a:errors[idx] =~# '\m^\['
- " unparseable errors
- call add(out, a:errors[idx])
- endif
- let idx +=1
- endwhile
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#bro(errors) abort " {{{2
- let out = []
- for e in a:errors
- let parts = matchlist(e, '\v^%(fatal )?(error|warning) in (.{-1,}), line (\d+): (.+)')
- if len(parts) > 4
- let parts[1] = parts[1][0]
- call add(out, join(parts[1:4], ':'))
- endif
- endfor
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#coffeelint(errors) abort " {{{2
- let out = []
- for e in a:errors
- let parts = matchlist(e, '\v^(.{-1,}),(\d+)%(,\d*)?,(error|warn),(.+)')
- if len(parts) > 4
- let parts[3] = parts[3][0]
- call add(out, join(parts[1:4], ':'))
- endif
- endfor
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#mypy(errors) abort " {{{2
- let out = []
- for e in a:errors
- " new format
- let parts = matchlist(e, '\v^(.{-1,}):(\d+): error: (.+)')
- if len(parts) > 3
- call add(out, join(parts[1:3], ':'))
- continue
- endif
-
- " old format
- let parts = matchlist(e, '\v^(.{-1,}), line (\d+): (.+)')
- if len(parts) > 3
- call add(out, join(parts[1:3], ':'))
- endif
- endfor
- return out
-endfunction " }}}2
-
-function! syntastic#preprocess#nix(errors) abort " {{{2
- let out = []
- for e in a:errors
- let parts = matchlist(e, '\v^(.{-1,}), at (.{-1,}):(\d+):(\d+)$')
- if len(parts) > 4
- call add(out, join(parts[2:4], ':') . ':' . parts[1])
- continue
- endif
-
- let parts = matchlist(e, '\v^(.{-1,}) at (.{-1,}), line (\d+):')
- if len(parts) > 3
- call add(out, parts[2] . ':' . parts[3] . ':' . parts[1])
- continue
- endif
-
- let parts = matchlist(e, '\v^error: (.{-1,}), in (.{-1,})$')
- if len(parts) > 2
- call add(out, parts[2] . ':' . parts[1])
- endif
- endfor
- return out
-endfunction " }}}2
-
-" }}}1
-
-" Private functions {{{1
-
-" @vimlint(EVL102, 1, l:true)
-" @vimlint(EVL102, 1, l:false)
-" @vimlint(EVL102, 1, l:null)
-function! s:_decode_JSON(json) abort " {{{2
- if a:json ==# ''
- return []
- endif
-
- " The following is inspired by https://github.com/MarcWeber/vim-addon-manager and
- " http://stackoverflow.com/questions/17751186/iterating-over-a-string-in-vimscript-or-parse-a-json-file/19105763#19105763
- " A hat tip to Marc Weber for this trick
- if substitute(a:json, '\v\"%(\\.|[^"\\])*\"|true|false|null|[+-]?\d+%(\.\d+%([Ee][+-]?\d+)?)?', '', 'g') !~# "[^,:{}[\\] \t]"
- " JSON artifacts
- let true = 1
- let false = 0
- let null = ''
-
- try
- let object = eval(a:json)
- catch
- " malformed JSON
- let object = ''
- endtry
- else
- let object = ''
- endif
-
- return object
-endfunction " }}}2
-" @vimlint(EVL102, 0, l:true)
-" @vimlint(EVL102, 0, l:false)
-" @vimlint(EVL102, 0, l:null)
-
-" }}}1
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/autoload/syntastic/util.vim b/sources_non_forked/syntastic/autoload/syntastic/util.vim
deleted file mode 100644
index efdd5869..00000000
--- a/sources_non_forked/syntastic/autoload/syntastic/util.vim
+++ /dev/null
@@ -1,544 +0,0 @@
-if exists('g:loaded_syntastic_util_autoload') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_util_autoload = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-" Public functions {{{1
-
-function! syntastic#util#isRunningWindows() abort " {{{2
- return has('win16') || has('win32') || has('win64')
-endfunction " }}}2
-
-function! syntastic#util#DevNull() abort " {{{2
- if syntastic#util#isRunningWindows()
- return 'NUL'
- endif
- return '/dev/null'
-endfunction " }}}2
-
-" Get directory separator
-function! syntastic#util#Slash() abort " {{{2
- return (!exists('+shellslash') || &shellslash) ? '/' : '\'
-endfunction " }}}2
-
-function! syntastic#util#CygwinPath(path) abort " {{{2
- return substitute(syntastic#util#system('cygpath -m ' . syntastic#util#shescape(a:path)), "\n", '', 'g')
-endfunction " }}}2
-
-function! syntastic#util#system(command) abort " {{{2
- let old_shell = &shell
- let old_lc_messages = $LC_MESSAGES
- let old_lc_all = $LC_ALL
-
- let &shell = syntastic#util#var('shell')
- let $LC_MESSAGES = 'C'
- let $LC_ALL = ''
-
- let out = system(a:command)
-
- let $LC_ALL = old_lc_all
- let $LC_MESSAGES = old_lc_messages
-
- let &shell = old_shell
-
- return out
-endfunction " }}}2
-
-" Create a temporary directory
-function! syntastic#util#tmpdir() abort " {{{2
- let tempdir = ''
-
- 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")
- if v:shell_error == 0 && len(out) == 1
- let tempdir = out[0]
- endif
- endif
-
- if tempdir ==# ''
- if has('win32') || has('win64')
- let tempdir = $TEMP . syntastic#util#Slash() . 'vim-syntastic-' . getpid()
- elseif has('win32unix')
- let tempdir = syntastic#util#CygwinPath('/tmp/vim-syntastic-' . getpid())
- elseif $TMPDIR !=# ''
- let tempdir = $TMPDIR . '/vim-syntastic-' . getpid()
- else
- let tempdir = '/tmp/vim-syntastic-' . getpid()
- endif
-
- try
- call mkdir(tempdir, 'p', 0700)
- catch /\m^Vim\%((\a\+)\)\=:E739/
- call syntastic#log#error(v:exception)
- let tempdir = '.'
- endtry
- endif
-
- return tempdir
-endfunction " }}}2
-
-" Recursively remove a directory
-function! syntastic#util#rmrf(what) abort " {{{2
- " try to make sure we don't delete directories we didn't create
- if a:what !~? 'vim-syntastic-'
- return
- endif
-
- if getftype(a:what) ==# 'dir'
- call s:_delete(a:what, 'rf')
- else
- silent! call delete(a:what)
- endif
-endfunction " }}}2
-
-" Search the first 5 lines of the file for a magic number and return a map
-" containing the args and the executable
-"
-" e.g.
-"
-" #!/usr/bin/perl -f -bar
-"
-" returns
-"
-" {'exe': '/usr/bin/perl', 'args': ['-f', '-bar']}
-function! syntastic#util#parseShebang() abort " {{{2
- for lnum in range(1, 5)
- let line = getline(lnum)
- if line =~# '^#!'
- let line = substitute(line, '\v^#!\s*(\S+/env(\s+-\S+)*\s+)?', '', '')
- let exe = matchstr(line, '\m^\S*\ze')
- let args = split(matchstr(line, '\m^\S*\zs.*'))
- return { 'exe': exe, 'args': args }
- endif
- endfor
-
- return { 'exe': '', 'args': [] }
-endfunction " }}}2
-
-" Get the value of a variable. Allow local variables to override global ones.
-function! syntastic#util#var(name, ...) abort " {{{2
- return
- \ exists('b:syntastic_' . a:name) ? b:syntastic_{a:name} :
- \ exists('g:syntastic_' . a:name) ? g:syntastic_{a:name} :
- \ a:0 > 0 ? a:1 : ''
-endfunction " }}}2
-
-" Parse a version string. Return an array of version components.
-function! syntastic#util#parseVersion(version, ...) abort " {{{2
- return map(split(matchstr( a:version, a:0 ? a:1 : '\v^\D*\zs\d+(\.\d+)+\ze' ), '\m\.'), 'str2nr(v:val)')
-endfunction " }}}2
-
-" Verify that the 'installed' version is at least the 'required' version.
-"
-" 'installed' and 'required' must be arrays. If they have different lengths,
-" the "missing" elements will be assumed to be 0 for the purposes of checking.
-"
-" See http://semver.org for info about version numbers.
-function! syntastic#util#versionIsAtLeast(installed, required) abort " {{{2
- return syntastic#util#compareLexi(a:installed, a:required) >= 0
-endfunction " }}}2
-
-" Almost lexicographic comparison of two lists of integers. :) If lists
-" have different lengths, the "missing" elements are assumed to be 0.
-function! syntastic#util#compareLexi(a, b) abort " {{{2
- for idx in range(max([len(a:a), len(a:b)]))
- let a_element = str2nr(get(a:a, idx, 0))
- let b_element = str2nr(get(a:b, idx, 0))
- if a_element != b_element
- return a_element > b_element ? 1 : -1
- endif
- endfor
- " still here, thus everything matched
- return 0
-endfunction " }}}2
-
-" strwidth() was added in Vim 7.3; if it doesn't exist, we use strlen()
-" and hope for the best :)
-let s:_width = function(exists('*strwidth') ? 'strwidth' : 'strlen')
-lockvar s:_width
-
-function! syntastic#util#screenWidth(str, tabstop) abort " {{{2
- let chunks = split(a:str, "\t", 1)
- let width = s:_width(chunks[-1])
- for c in chunks[:-2]
- let cwidth = s:_width(c)
- let width += cwidth + a:tabstop - cwidth % a:tabstop
- endfor
- return width
-endfunction " }}}2
-
-" Print as much of a:msg as possible without "Press Enter" prompt appearing
-function! syntastic#util#wideMsg(msg) abort " {{{2
- let old_ruler = &ruler
- let old_showcmd = &showcmd
-
- "This is here because it is possible for some error messages to
- "begin with \n which will cause a "press enter" prompt.
- let msg = substitute(a:msg, "\n", '', 'g')
-
- "convert tabs to spaces so that the tabs count towards the window
- "width as the proper amount of characters
- let chunks = split(msg, "\t", 1)
- let msg = join(map(chunks[:-2], 'v:val . repeat(" ", &tabstop - s:_width(v:val) % &tabstop)'), '') . chunks[-1]
- let msg = strpart(msg, 0, &columns - 1)
-
- set noruler noshowcmd
- call syntastic#util#redraw(0)
-
- echo msg
-
- let &ruler = old_ruler
- let &showcmd = old_showcmd
-endfunction " }}}2
-
-" Check whether a buffer is loaded, listed, and not hidden
-function! syntastic#util#bufIsActive(buffer) abort " {{{2
- " convert to number, or hell breaks loose
- let buf = str2nr(a:buffer)
-
- if !bufloaded(buf) || !buflisted(buf)
- return 0
- endif
-
- " get rid of hidden buffers
- for tab in range(1, tabpagenr('$'))
- if index(tabpagebuflist(tab), buf) >= 0
- return 1
- endif
- endfor
-
- return 0
-endfunction " }}}2
-
-" Start in directory a:where and walk up the parent folders until it finds a
-" file named a:what; return path to that file
-function! syntastic#util#findFileInParent(what, where) abort " {{{2
- let old_suffixesadd = &suffixesadd
- let &suffixesadd = ''
- let file = findfile(a:what, escape(a:where, ' ') . ';')
- let &suffixesadd = old_suffixesadd
- return file
-endfunction " }}}2
-
-" Start in directory a:where and walk up the parent folders until it finds a
-" file matching a:what; return path to that file
-function! syntastic#util#findGlobInParent(what, where) abort " {{{2
- let here = fnamemodify(a:where, ':p')
-
- let root = syntastic#util#Slash()
- if syntastic#util#isRunningWindows() && here[1] ==# ':'
- " The drive letter is an ever-green source of fun. That's because
- " we don't care about running syntastic on Amiga these days. ;)
- let root = fnamemodify(root, ':p')
- let root = here[0] . root[1:]
- endif
-
- let old = ''
- while here !=# ''
- try
- " Vim 7.4.279 and later
- let p = globpath(here, a:what, 1, 1)
- catch /\m^Vim\%((\a\+)\)\=:E118/
- let p = split(globpath(here, a:what, 1), "\n")
- endtry
-
- if !empty(p)
- return fnamemodify(p[0], ':p')
- elseif here ==? root || here ==? old
- break
- endif
-
- let old = here
-
- " we use ':h:h' rather than ':h' since ':p' adds a trailing '/'
- " if 'here' is a directory
- let here = fnamemodify(here, ':p:h:h')
- endwhile
-
- return ''
-endfunction " }}}2
-
-" Returns unique elements in a list
-function! syntastic#util#unique(list) abort " {{{2
- let seen = {}
- let uniques = []
- for e in a:list
- let k = string(e)
- if !has_key(seen, k)
- let seen[k] = 1
- call add(uniques, e)
- endif
- endfor
- return uniques
-endfunction " }}}2
-
-" A less noisy shellescape()
-function! syntastic#util#shescape(string) abort " {{{2
- return a:string =~# '\m^[A-Za-z0-9_/.-]\+$' ? a:string : shellescape(a:string)
-endfunction " }}}2
-
-" A less noisy shellescape(expand())
-function! syntastic#util#shexpand(string, ...) abort " {{{2
- return syntastic#util#shescape(a:0 ? expand(a:string, a:1) : expand(a:string, 1))
-endfunction " }}}2
-
-" Escape arguments
-function! syntastic#util#argsescape(opt) abort " {{{2
- if type(a:opt) == type('') && a:opt !=# ''
- return [a:opt]
- elseif type(a:opt) == type([])
- return map(copy(a:opt), 'syntastic#util#shescape(v:val)')
- endif
-
- return []
-endfunction " }}}2
-
-" Decode XML entities
-function! syntastic#util#decodeXMLEntities(string) abort " {{{2
- let str = a:string
- let str = substitute(str, '\m<', '<', 'g')
- let str = substitute(str, '\m>', '>', 'g')
- let str = substitute(str, '\m"', '"', 'g')
- let str = substitute(str, '\m'', "'", 'g')
- let str = substitute(str, '\m&', '\&', 'g')
- return str
-endfunction " }}}2
-
-function! syntastic#util#redraw(full) abort " {{{2
- if a:full
- redraw!
- else
- redraw
- endif
-endfunction " }}}2
-
-function! syntastic#util#dictFilter(errors, filter) abort " {{{2
- let rules = s:_translateFilter(a:filter)
- " call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, "applying filter:", rules)
- try
- call filter(a:errors, rules)
- catch /\m^Vim\%((\a\+)\)\=:E/
- let msg = matchstr(v:exception, '\m^Vim\%((\a\+)\)\=:\zs.*')
- call syntastic#log#error('quiet_messages: ' . msg)
- endtry
-endfunction " }}}2
-
-" Return a [seconds, fractions] list of strings, representing the
-" (hopefully high resolution) time since program start
-function! syntastic#util#stamp() abort " {{{2
- return split( split(reltimestr(reltime(g:_SYNTASTIC_START)))[0], '\.' )
-endfunction " }}}2
-
-function! syntastic#util#setChangedtick() abort " {{{2
- unlockvar! b:syntastic_changedtick
- let b:syntastic_changedtick = b:changedtick
- lockvar! b:syntastic_changedtick
-endfunction " }}}2
-
-let s:_wid_base = 'syntastic_' . getpid() . '_' . reltimestr(g:_SYNTASTIC_START) . '_'
-let s:_wid_pool = 0
-
-" Add unique IDs to windows
-function! syntastic#util#setWids() abort " {{{2
- for tab in range(1, tabpagenr('$'))
- for win in range(1, tabpagewinnr(tab, '$'))
- if gettabwinvar(tab, win, 'syntastic_wid') ==# ''
- call settabwinvar(tab, win, 'syntastic_wid', s:_wid_base . s:_wid_pool)
- let s:_wid_pool += 1
- endif
- endfor
- endfor
-endfunction " }}}2
-
-let s:_str2float = function(exists('*str2float') ? 'str2float' : 'str2nr')
-lockvar s:_str2float
-
-function! syntastic#util#str2float(val) abort " {{{2
- return s:_str2float(a:val)
-endfunction " }}}2
-
-function! syntastic#util#float2str(val) abort " {{{2
- return s:_float2str(a:val)
-endfunction " }}}2
-
-" Crude printf()-like width formatter. Handles wide characters.
-function! syntastic#util#wformat(format, str) abort " {{{2
- if a:format ==# ''
- return a:str
- endif
-
- echomsg string(a:format) . ', ' . string(a:str)
- let specs = matchlist(a:format, '\v^(-?)(0?)(%([1-9]\d*))?%(\.(\d+))?$')
- if len(specs) < 5
- return a:str
- endif
-
- let flushleft = specs[1] ==# '-'
- let lpad = specs[2] ==# '0' ? '0' : ' '
- let minlen = str2nr(specs[3])
- let maxlen = str2nr(specs[4])
- let out = substitute(a:str, "\t", ' ', 'g')
-
- if maxlen && s:_width(out) > maxlen
- let chars = filter(split(out, '\zs\ze', 1), 'v:val !=# ""')
- let out = ''
-
- if flushleft
- for c in chars
- if s:_width(out . c) < maxlen
- let out .= c
- else
- let out .= &encoding ==# 'utf-8' && &termencoding ==# 'utf-8' ? "\u2026" : '>'
- break
- endif
- endfor
- else
- call reverse(chars)
- for c in chars
- if s:_width(c . out) < maxlen
- let out = c . out
- else
- let out = (&encoding ==# 'utf-8' && &termencoding ==# 'utf-8' ? "\u2026" : '<') . out
- break
- endif
- endfor
- endif
- endif
-
- if minlen && s:_width(out) < minlen
- if flushleft
- let out .= repeat(' ', minlen - s:_width(out))
- else
- let out = repeat(lpad, minlen - s:_width(out)) . out
- endif
- endif
-
- return out
-endfunction " }}}2
-
-" }}}1
-
-" Private functions {{{1
-
-function! s:_translateFilter(filters) abort " {{{2
- let conditions = []
- for k in keys(a:filters)
- if type(a:filters[k]) == type([])
- call extend(conditions, map(copy(a:filters[k]), 's:_translateElement(k, v:val)'))
- else
- call add(conditions, s:_translateElement(k, a:filters[k]))
- endif
- endfor
-
- if conditions == []
- let conditions = ['1']
- endif
- return len(conditions) == 1 ? conditions[0] : join(map(conditions, '"(" . v:val . ")"'), ' && ')
-endfunction " }}}2
-
-function! s:_translateElement(key, term) abort " {{{2
- let fkey = a:key
- if fkey[0] ==# '!'
- let fkey = fkey[1:]
- let not = 1
- else
- let not = 0
- endif
-
- if fkey ==? 'level'
- let op = not ? ' ==? ' : ' !=? '
- let ret = 'v:val["type"]' . op . string(a:term[0])
- elseif fkey ==? 'type'
- if a:term ==? 'style'
- let op = not ? ' ==? ' : ' !=? '
- let ret = 'get(v:val, "subtype", "")' . op . '"style"'
- else
- let op = not ? '!' : ''
- let ret = op . 'has_key(v:val, "subtype")'
- endif
- elseif fkey ==? 'regex'
- let op = not ? ' =~? ' : ' !~? '
- let ret = 'v:val["text"]' . op . string(a:term)
- elseif fkey ==? 'file' || fkey[:4] ==? 'file:'
- let op = not ? ' =~# ' : ' !~# '
- let ret = 'bufname(str2nr(v:val["bufnr"]))'
- let mod = fkey[4:]
- if mod !=# ''
- let ret = 'fnamemodify(' . ret . ', ' . string(mod) . ')'
- endif
- let ret .= op . string(a:term)
- else
- call syntastic#log#warn('quiet_messages: ignoring invalid key ' . strtrans(string(fkey)))
- let ret = '1'
- endif
- 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'))
- endif
-
- if getftype(a:what) ==# 'dir'
- if filewritable(a:what) != 2
- return
- endif
-
- try
- " Vim 7.4.279 and later
- let entries = globpath(a:what, '*', 1, 1)
- catch /\m^Vim\%((\a\+)\)\=:E118/
- let entries = split(globpath(a:what, '*', 1), "\n")
- endtry
- for f in entries
- call s:_rmrf(f)
- endfor
- silent! call syntastic#util#system(s:rmdir . ' ' . syntastic#util#shescape(a:what))
- else
- silent! call delete(a:what)
- endif
-endfunction " }}}2
-
-function! s:_float2str_smart(val) abort " {{{2
- return printf('%.1f', a:val)
-endfunction " }}}2
-
-function! s:_float2str_dumb(val) abort " {{{2
- return a:val
-endfunction " }}}2
-
-let s:_float2str = function(has('float') ? 's:_float2str_smart' : 's:_float2str_dumb')
-lockvar s:_float2str
-
-" }}}1
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/doc/syntastic.txt b/sources_non_forked/syntastic/doc/syntastic.txt
deleted file mode 100644
index 310c1348..00000000
--- a/sources_non_forked/syntastic/doc/syntastic.txt
+++ /dev/null
@@ -1,1127 +0,0 @@
-*syntastic.txt* Syntax checking on the fly has never been so pimp.
-*syntastic*
-
-
- It's a bird! It's a plane! ZOMG It's ... ~
-
- _____ __ __ _ ~
- / ___/__ ______ / /_____ ______/ /_(_)____ ~
- \__ \/ / / / __ \/ __/ __ `/ ___/ __/ / ___/ ~
- ___/ / /_/ / / / / /_/ /_/ (__ ) /_/ / /__ ~
- /____/\__, /_/ /_/\__/\__,_/____/\__/_/\___/ ~
- /____/ ~
-
-
-
- Reference Manual~
-
-
-==============================================================================
-CONTENTS *syntastic-contents*
-
- 1.Intro........................................|syntastic-intro|
- 1.1.Quick start............................|syntastic-quickstart|
- 1.2.Recommended settings...................|syntastic-recommended|
- 2.Functionality provided.......................|syntastic-functionality|
- 2.1.The statusline flag....................|syntastic-statusline-flag|
- 2.2.Error signs............................|syntastic-error-signs|
- 2.3.Error window...........................|syntastic-error-window|
- 2.4.Error highlighting.....................|syntastic-highlighting|
- 2.5.Aggregating errors.....................|syntastic-aggregating-errors|
- 2.6.Filtering errors.......................|syntastic-filtering-errors|
- 3.Commands.....................................|syntastic-commands|
- 4.Global Options...............................|syntastic-global-options|
- 5.Checker Options..............................|syntastic-checker-options|
- 5.1.Choosing which checkers to use.........|syntastic-filetype-checkers|
- 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.Filtering errors.......................|syntastic-config-filtering|
- 5.6.Debugging..............................|syntastic-config-debug|
- 5.7.Profiling..............................|syntastic-profiling|
- 6.Notes........................................|syntastic-notes|
- 6.1.Handling of composite filetypes........|syntastic-composite|
- 6.2.Editing files over network.............|syntastic-netrw|
- 6.3.The 'shellslash' option................|syntastic-shellslash|
- 6.4.Saving Vim sessions....................|syntastic-sessions|
- 7.Compatibility with other software............|syntastic-compatibility|
- 7.1.The csh and tcsh shells................|syntastic-csh|
- 7.2.Eclim..................................|syntastic-eclim|
- 7.3.The fish shell.........................|syntastic-fish|
- 7.4.The fizsh shell........................|syntastic-fizsh|
- 7.5.flagship...............................|syntastic-flagship|
- 7.6.powerline..............................|syntastic-powerline|
- 7.7.The PowerShell shell...................|syntastic-powershell|
- 7.8.python-mode............................|syntastic-pymode|
- 7.9.vim-auto-save..........................|syntastic-vim-auto-save|
- 7.10.vim-go................................|syntastic-vim-go|
- 7.11.vim-virtualenv........................|syntastic-vim-virtualenv|
- 7.12.YouCompleteMe.........................|syntastic-ycm|
- 7.13.The zsh shell and MacVim..............|syntastic-zsh|
- 8.About........................................|syntastic-about|
- 9.License......................................|syntastic-license|
-
-
-==============================================================================
-1. Intro *syntastic-intro*
-
-Syntastic is a syntax checking plugin that runs files through external syntax
-checkers. This can be done on demand, or automatically as files are saved
-and opened. If syntax errors are detected, the user is notified and is happy
-because they didn't have to compile their code or execute their script to find
-them.
-
-Syntastic comes in two parts: the syntax checker plugins, and the core. The
-syntax checker plugins are defined on a per-filetype basis where each one wraps
-up an external syntax checking program. The core script delegates off to these
-plugins and uses their output to provide the syntastic functionality.
-
-Take a look at the wiki for a list of supported filetypes and checkers:
-
- https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers
-
-Note: This doc only deals with using syntastic. To learn how to write syntax
-checker integrations, see the guide on the GitHub wiki:
-
- https://github.com/scrooloose/syntastic/wiki/Syntax-Checker-Guide
-
-------------------------------------------------------------------------------
-1.1. Quick start *syntastic-quickstart*
-
-Syntastic comes preconfigured with a default list of enabled checkers per
-|filetype|. This list is kept reasonably short to prevent slowing down Vim or
-trying to use conflicting checkers.
-
-You can see the list of checkers available for the current filetype with the
-`:SyntasticInfo` command.
-
-You probably want to override the configured list of checkers for the
-filetypes you use, and also change the arguments passed to specific checkers
-to suit your needs. See |syntastic-checker-options| below for details.
-
-Use `:SyntasticCheck` to manually check right now. Use `:Errors` to open the
-|location-list| window, and `:lclose` to close it. You can clear the error
-list with `:SyntasticReset`, and you can use `:SyntasticToggleMode` to switch
-between active (checking on writing the buffer) and passive (manual) checking.
-
-You don't have to switch focus to the |location-list| window to jump to the
-different errors. Vim provides several built-in commands for this, for
-example `:lnext` and `:lprevious`. You may want to add shortcut mappings for
-these commands, or perhaps install a plugin such as Tim Pope's "unimpaired"
-(see https://github.com/tpope/vim-unimpaired) that provides such mappings.
-
-------------------------------------------------------------------------------
-1.2. Recommended settings *syntastic-recommended*
-
-Syntastic has numerous options that can be configured, and the defaults are
-not particularly well suitable for new users. It is recommended that you start
-by adding the following lines to your vimrc, and return to them later as
-needed: >
- set statusline+=%#warningmsg#
- set statusline+=%{SyntasticStatuslineFlag()}
- set statusline+=%*
-
- let g:syntastic_always_populate_loc_list = 1
- let g:syntastic_auto_loc_list = 1
- let g:syntastic_check_on_open = 1
- let g:syntastic_check_on_wq = 0
-<
-==============================================================================
-2. Functionality provided *syntastic-functionality*
-
-Syntax checking can be done automatically or on demand (see
-|'syntastic_mode_map'| and `:SyntasticToggleMode` for configuring this).
-
-When syntax checking is done, the features below can be used to notify the
-user of errors. See |syntastic-global-options| for how to configure and
-activate/deactivate these features.
-
- * A statusline flag
- * Signs beside lines with errors
- * The |location-list| can be populated with the errors for the associated
- buffer
- * Erroneous parts of lines can be highlighted (this functionality is only
- provided by some syntax checkers)
- * Balloons (if the |+balloon_eval| feature is compiled in) can be used to
- display error messages for erroneous lines when hovering the mouse over
- them
- * Error messages from multiple checkers can be aggregated in a single list
-
-------------------------------------------------------------------------------
-2.1. The statusline flag *syntastic-statusline-flag*
-
-To use the statusline flag, this must appear in your |'statusline'| setting >
- %{SyntasticStatuslineFlag()}
-<
-Something like this could be more useful: >
- set statusline+=%#warningmsg#
- set statusline+=%{SyntasticStatuslineFlag()}
- set statusline+=%*
-<
-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*
-
-Syntastic uses the `:sign` commands (provided that the |+signs| feature is
-compiled in) to mark lines with errors and warnings in the sign column. To
-enable this feature, use the |'syntastic_enable_signs'| option.
-
-Signs are colored using the Error and Todo syntax highlight groups by default
-(see |group-name|). If you wish to customize the colors for the signs, you
-can use the following groups:
- SyntasticErrorSign - For syntax errors, links to "error" by default
- SyntasticWarningSign - For syntax warnings, links to "todo" by default
- SyntasticStyleErrorSign - For style errors, links to "SyntasticErrorSign"
- by default
- SyntasticStyleWarningSign - For style warnings, links to
- "SyntasticWarningSign" by default
-
-Example: >
- highlight SyntasticErrorSign guifg=white guibg=red
-<
-To set up highlighting for the line where a sign resides, you can use the
-following highlight groups:
- SyntasticErrorLine
- SyntasticWarningLine
- SyntasticStyleErrorLine - Links to "SyntasticErrorLine" by default
- SyntasticStyleWarningLine - Links to "SyntasticWarningLine" by default
-
-Example: >
- highlight SyntasticErrorLine guibg=#2f0000
-<
-------------------------------------------------------------------------------
-2.3. The error window *syntastic-error-window*
-
-You can use the `:Errors` command to display the errors for the current buffer
-in the |location-list|.
-
-By default syntastic doesn't fill the |location-list| with the errors found by
-the checkers, in order to reduce clashes with other plugins. Consequently, if
-you run `:lopen` or `:lwindow` rather than `:Errors` to open the error window
-you wouldn't see syntastic's list of errors. If you insist on using `:lopen`
-or `:lwindow` you should either run `:SyntasticSetLoclist` after running the
-checks, or set |'syntastic_always_populate_loc_list'| which tells syntastic to
-update the |location-list| automatically.
-
-------------------------------------------------------------------------------
-2.4. Error highlighting *syntastic-highlighting*
-
-Some checkers provide enough information for syntastic to be able to highlight
-errors. By default the SpellBad syntax highlight group is used to color errors,
-and the SpellCap group is used for warnings. If you wish to customize the
-colors for highlighting you can use the following groups:
- SyntasticError - Links to "SpellBad" by default (see |hl-SpellBad|)
- SyntasticWarning - Links to "SpellCap" by default (see |hl-SpellCap|)
- SyntasticStyleError - Links to "SyntasticError" by default
- SyntasticStyleWarning - Links to "SyntasticWarning" by default
-
-Example: >
- highlight SyntasticError guibg=#2f0000
-<
-------------------------------------------------------------------------------
-2.5. Aggregating errors *syntastic-aggregating-errors*
-
-By default, namely if |'syntastic_aggregate_errors'| is unset, syntastic runs
-in turn the checkers corresponding to the filetype of the current file (see
-|syntastic-filetype-checkers|), and stops as soon as a checker reports any
-errors. It then notifies you of the errors using the notification mechanisms
-above. In this mode error lists are always produced by a single checker, and,
-if you open the error window, the name of the checker that generated the errors
-is shown on the statusline of the error window.
-
-If |'syntastic_aggregate_errors'| is set, syntastic runs all checkers that
-apply (still cf. |syntastic-filetype-checkers|), then aggregates errors found
-by all checkers in a single list, and notifies you. In this mode each error
-message is labeled with the name of the checker that generated it, but you can
-disable generation of these labels by turning off |'syntastic_id_checkers'|.
-
-If |'syntastic_sort_aggregated_errors'| is set (which is the default), messages
-in the aggregated list are grouped by file, then sorted by line number, then
-type, then column number. Otherwise messages produced by the same checker are
-grouped together, and sorting within each group is decided by the variables
-|'syntastic___sort'|.
-
-------------------------------------------------------------------------------
-2.6 Filtering errors *syntastic-filtering-errors*
-
-You can selectively disable some of the errors found by checkers either
-using |'syntastic_quiet_messages'|, or by specifying a list of patterns in
-|'syntastic_ignore_files'|.
-
-See also: |'syntastic___quiet_messages'| and
-|'b:syntastic_skip_checks'|.
-
-==============================================================================
-3. Commands *syntastic-commands*
-
-:Errors *:Errors*
-
-When errors have been detected, use this command to pop up the |location-list|
-and display the error messages.
-
-Please note that the `:Errors` command overwrites the current location list with
-syntastic's own location list.
-
-:SyntasticToggleMode *:SyntasticToggleMode*
-
-Toggles syntastic between active and passive mode. See |'syntastic_mode_map'|
-for more info.
-
-:SyntasticCheck *:SyntasticCheck*
-
-Manually cause a syntax check to be done. By default the checkers in the
-|'g:syntastic__checkers'| or |'b:syntastic_checkers'| lists are run,
-cf. |syntastic-filetype-checkers|. If |'syntastic_aggregate_errors'| is unset
-(which is the default), checking stops the first time a checker reports any
-errors; if |'syntastic_aggregate_errors'| is set, all checkers that apply are
-run in turn, and all errors found are aggregated in a single list.
-
-The command may be followed by a (space separated) list of checkers. In this
-case |'g:syntastic__checkers'| and |'b:syntastic_checkers'| are
-ignored, and the checkers named by the command's arguments are run instead, in
-the order specified. The set by |'syntastic_aggregate_errors'| still apply.
-
-Example: >
- :SyntasticCheck flake8 pylint
-<
-:SyntasticInfo *:SyntasticInfo*
-
-The command takes an optional argument, and outputs information about the
-checkers available for the filetype named by said argument, or for the current
-filetype if no argument was provided.
-
-:SyntasticReset *:SyntasticReset*
-
-Resets the list of errors and turns off all error notifiers.
-
-:SyntasticSetLoclist *:SyntasticSetLoclist*
-
-If |'syntastic_always_populate_loc_list'| is not set, the |location-list| is
-not filled in automatically with the list of errors detected by the checkers.
-This is useful if you run syntastic along with other plugins that use location
-lists. The `:SyntasticSetLoclist` command allows you to stick the errors into
-the location list explicitly.
-
-==============================================================================
-4. Global Options *syntastic-global-options*
-
- *'syntastic_check_on_open'*
-Type: boolean
-Default: 0
-If this variable is enabled, syntastic in active mode will run syntax checks
-when buffers are first loaded, as well as on saving: >
- let g:syntastic_check_on_open = 1
-<
- *'syntastic_check_on_wq'*
-Type: boolean
-Default: 1
-In active mode syntax checks are normally run whenever buffers are written to
-disk, even when the writes happen just before quitting Vim. If you want to
-skip checks when you issue `:wq`, `:x`, and `:ZZ`, set this variable to 0: >
- let g:syntastic_check_on_wq = 0
-<
- *'syntastic_aggregate_errors'*
-Type: boolean
-Default: 0
-When enabled, syntastic runs all checkers that apply to the current filetype,
-then aggregates errors found by all checkers and displays them. When disabled,
-syntastic runs each checker in turn, and stops to display the results the first
-time a checker finds any errors. >
- let g:syntastic_aggregate_errors = 1
-<
- *'syntastic_id_checkers'*
-Type: boolean
-Default: 1
-When results from multiple checkers are aggregated in a single error list
-(that is either when |'syntastic_aggregate_errors'| is enabled, or when
-checking a file with a composite filetype, cf. |syntastic-composite|), it
-might not be immediately obvious which checker has produced a given error
-message. This variable instructs syntastic to label error messages with the
-names of the checkers that created them. >
- let g:syntastic_id_checkers = 0
-<
- *'syntastic_sort_aggregated_errors'*
-Type: boolean
-Default: 1
-By default, when results from multiple checkers are aggregated in a single
-error list (that is either when |'syntastic_aggregate_errors'| is enabled, or
-when checking a file with a composite filetype, cf. |syntastic-composite|),
-errors are grouped by file, then sorted by line number, then grouped by type
-(namely errors take precedence over warnings), then they are sorted by column
-number. If you want to leave messages grouped by checker output, set this
-variable to 0: >
- let g:syntastic_sort_aggregated_errors = 0
-<
- *'syntastic_echo_current_error'*
-Type: boolean
-Default: 1
-If enabled, syntastic will echo current error to the command window. If
-multiple errors are found on the same line, |'syntastic_cursor_columns'| is
-used to decide which one is shown. >
- let g:syntastic_echo_current_error = 1
-<
- *'syntastic_cursor_columns'*
-Type: boolean
-Default: 1
-This option controls which errors are echoed to the command window if
-|'syntastic_echo_current_error'| is set and multiple errors are found on the
-same line. When the option is enabled, the first error corresponding to the
-current column is shown. Otherwise, the first error on the current line is
-echoed, regardless of the cursor position on the current line.
-
-When dealing with very large lists of errors, disabling this option can speed
-up navigation significantly: >
- let g:syntastic_cursor_column = 0
-<
- *'syntastic_enable_signs'*
-Type: boolean
-Default: 1
-Use this option to tell syntastic whether to use the `:sign` interface to mark
-syntax errors: >
- let g:syntastic_enable_signs = 1
-<
- *'syntastic_error_symbol'* *'syntastic_style_error_symbol'*
- *'syntastic_warning_symbol'* *'syntastic_style_warning_symbol'*
-Type: string
-Use these options to control what the syntastic `:sign` text contains. Several
-error symbols can be customized:
- syntastic_error_symbol - For syntax errors, defaults to ">>"
- syntastic_style_error_symbol - For style errors, defaults to "S>"
- syntastic_warning_symbol - For syntax warnings, defaults to ">>"
- syntastic_style_warning_symbol - For style warnings, defaults to "S>"
-
-Example: >
- let g:syntastic_error_symbol = "\u2717"
- let g:syntastic_warning_symbol = "\u26A0"
-<
- *'syntastic_enable_balloons'*
-Type: boolean
-Default: 1
-Use this option to tell syntastic whether to display error messages in balloons
-when the mouse is hovered over erroneous lines: >
- let g:syntastic_enable_balloons = 1
-<
-Note that Vim must be compiled with |+balloon_eval|.
-
- *'syntastic_enable_highlighting'*
-Type: boolean
-Default: 1
-Use this option to tell syntastic whether to use syntax highlighting to mark
-errors (where possible). Highlighting can be turned off with the following >
- let g:syntastic_enable_highlighting = 0
-<
- *'syntastic_always_populate_loc_list'*
-Type: boolean
-Default: 0
-By default syntastic doesn't fill the |location-list| with the errors found
-by the checkers, in order to reduce clashes with other plugins. Enable this
-option to tell syntastic to always stick any detected errors into the
-|location-list|: >
- let g:syntastic_always_populate_loc_list = 1
-<
-Please note that if |'syntastic_auto_jump'| is set to a non-zero value the
-location list is overwritten with Syntastic's own list when taking a jump,
-regardless of the value of |'syntastic_always_populate_loc_list'|. The
-location list is also overwritten when running the `:Errors` command.
-
- *'syntastic_auto_jump'*
-Type: integer
-Default: 0
-Enable this option if you want the cursor to jump to the first detected issue
-when saving or opening a file.
-
-When set to 0 the cursor won't jump automatically. >
- let g:syntastic_auto_jump = 0
-<
-When set to 1 the cursor will always jump to the first issue detected,
-regardless of type. >
- let g:syntastic_auto_jump = 1
-<
-When set to 2 the cursor will jump to the first issue detected, but only if
-this issue is an error. >
- let g:syntastic_auto_jump = 2
-<
-When set to 3 the cursor will jump to the first error detected, if any. If
-all issues detected are warnings, the cursor won't jump. >
- let g:syntastic_auto_jump = 3
-<
-Please note that in either situation taking the jump also has the side effect
-of the location list being overwritten with Syntastic's own location list,
-regardless of the value of |'syntastic_always_populate_loc_list'|.
-
- *'syntastic_auto_loc_list'*
-Type: integer
-Default: 2
-Use this option to tell syntastic to automatically open and/or close the
-|location-list| (see |syntastic-error-window|).
-
-When set to 0 the error window will be neither opened nor closed
-automatically. >
- let g:syntastic_auto_loc_list = 0
-<
-When set to 1 the error window will be automatically opened when errors are
-detected, and closed when none are detected. >
- let g:syntastic_auto_loc_list = 1
-<
-When set to 2 the error window will be automatically closed when no errors are
-detected, but not opened automatically. >
- let g:syntastic_auto_loc_list = 2
-<
-When set to 3 the error window will be automatically opened when errors are
-detected, but not closed automatically. >
- let g:syntastic_auto_loc_list = 3
-<
- *'syntastic_loc_list_height'*
-Type: integer
-Default: 10
-Use this option to specify the height of the location lists that syntastic
-opens. >
- let g:syntastic_loc_list_height = 5
-<
- *'syntastic_ignore_files'*
-Type: list of strings
-Default: []
-Use this option to specify files that syntastic should never check. It's a
-list of |regular-expression| patterns. The full paths of files (see |::p|) are
-matched against these patterns, and the matches are case-sensitive. Use |\c|
-to specify case-insensitive patterns. Example: >
- let g:syntastic_ignore_files = ['\m^/usr/include/', '\m\c\.h$']
-<
- *'syntastic_filetype_map'*
-Type: dictionary
-Default: {}
-Use this option to map non-standard filetypes to standard ones. Corresponding
-checkers are mapped accordingly, which allows syntastic to check files with
-non-standard filetypes: >
- let g:syntastic_filetype_map = {
- \ "plaintex": "tex",
- \ "gentoo-metadata": "xml" }
-<
-Composite filetypes (cf. |syntastic-composite|) can also be mapped to simple
-types, which disables the default behaviour of running both checkers against
-the input file: >
- let g:syntastic_filetype_map = { "handlebars.html": "handlebars" }
-<
- *'syntastic_mode_map'*
-Type: dictionary
-Default: { "mode": "active",
- "active_filetypes": [],
- "passive_filetypes": [] }
-Use this option to fine tune when automatic syntax checking is done (or not
-done).
-
-The option should be set to something like: >
- let g:syntastic_mode_map = {
- \ "mode": "active",
- \ "active_filetypes": ["ruby", "php"],
- \ "passive_filetypes": ["puppet"] }
-<
-"mode" can be mapped to one of two values - "active" or "passive". When set
-to "active", syntastic does automatic checking whenever a buffer is saved or
-initially opened. When set to "passive" syntastic only checks when the user
-calls `:SyntasticCheck`.
-
-The exceptions to these rules are defined with "active_filetypes" and
-"passive_filetypes". In passive mode, automatic checks are still done for
-filetypes in the "active_filetypes" array (and "passive_filetypes" is
-ignored). In active mode, automatic checks are not done for any filetypes in
-the "passive_filetypes" array ("active_filetypes" is ignored).
-
-If any of "mode", "active_filetypes", or "passive_filetypes" are left
-unspecified, they default to values above.
-
-If local variable |'b:syntastic_mode'| is defined its value takes precedence
-over all calculations involving |'syntastic_mode_map'| for the corresponding
-buffer.
-
-At runtime, the `:SyntasticToggleMode` command can be used to switch between
-active and passive modes.
-
- *'b:syntastic_mode'*
-Type: string
-Default: unset
-Only the local form |'b:syntastic_mode'| is used. When set to either "active"
-or "passive", it takes precedence over |'syntastic_mode_map'| when deciding
-whether the corresponding buffer should be checked automatically.
-
- *'syntastic_quiet_messages'*
-Type: dictionary
-Default: {}
-Use this option to filter out some of the messages produced by checkers. The
-option should be set to something like: >
- let g:syntastic_quiet_messages = {
- \ "!level": "errors",
- \ "type": "style",
- \ "regex": '\m\[C03\d\d\]',
- \ "file:p": ['\m^/usr/include/', '\m\c\.h$'] }
-<
-Each element turns off messages matching the patterns specified by the
-corresponding value. Values are lists, but if a list consist of a single
-element you may omit the brackets (e.g. you may write "style" instead of
-["style"]). Elements with values [] or "" are ignored (this is useful for
-overriding filters, cf. |filter-overrides|).
-
- "level" - takes one of two values, "warnings" or "errors"
- "type" - can be either "syntax" or "style"
- "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).
-
-The "file" key may be followed by one or more filename modifiers (see
-|filename-modifiers|). The modifiers are applied to the filenames the messages
-refer to before matching against the value (i.e. in the above example the full
-path of the issues are matched against '\m^/usr/include/' and '\m\c\.h$').
-
-If |'syntastic_id_checkers'| is set, filters are applied before error messages
-are labeled with the names of the checkers that created them.
-
-There are also checker-specific variants of this option, providing finer
-control. They are named |'syntastic___quiet_messages'|.
-
-For a particular checker, if both a |'syntastic_quiet_messages'| filter and
-a checker-specific filter are present, they are both applied (to the list of
-errors produced by the said checker). In case of conflicting values for the
-same keys, the values of the checker-specific filters take precedence.
-
- *filter-overrides*
-Since filter elements with values [] or "" are ignored, you can disable global
-filters for particular checkers, by setting the values of the corresponding
-elements in |'syntastic___quiet_messages'| to [] or "". For
-example, the following setting will silence all warnings, except for the
-ones produced by "pylint": >
- let g:syntastic_quiet_messages = { "level": "warnings" }
- let g:syntastic_python_pylint_quiet_messages = { "level" : [] }
-<
- *'syntastic_stl_format'*
-Type: string
-Default: "[Syntax: line:%F (%t)]"
-Use this option to control what the syntastic statusline text contains. Several
-magic flags are available to insert information:
- %e - number of errors
- %w - number of warnings
- %t - total number of warnings and errors
- %ne - filename of file containing first error
- %nw - filename of file containing first warning
- %N - filename of file containing first warning or error
- %pe - filename with path of file containing first error
- %pw - filename with path of file containing first warning
- %P - filename with path of file containing first warning or error
- %fe - line number of first error
- %fw - line number of first warning
- %F - line number of first warning or error
-
-These flags accept width and alignment controls similar to the ones used by
-|'statusline'| flags:
- %-0{minwid}.{maxwid}{flag}
-
-All fields except {flag} are optional. A single percent sign can be given as
-"%%".
-
-Several additional flags are available to hide text under certain conditions:
- %E{...} - hide the text in the brackets unless there are errors
- %W{...} - hide the text in the brackets unless there are warnings
- %B{...} - hide the text in the brackets unless there are both warnings AND
- errors
-These flags can't be nested.
-
-Example: >
- let g:syntastic_stl_format = "[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]"
-<
-If this format is used and the current buffer has 5 errors and 1 warning
-starting on lines 20 and 10 respectively then this would appear on the
-statusline: >
- [Err: 20 #5, Warn: 10 #1]
-<
-If the buffer had 2 warnings, starting on line 5 then this would appear: >
- [Warn: 5 #2]
-<
- *'b:syntastic_skip_checks'*
-Type: boolean
-Default: unset
-Only the local form |'b:syntastic_skip_checks'| is used. When set to a true
-value, no checks are run against the corresponding buffer. Example: >
- let b:syntastic_skip_checks = 1
-<
- *'syntastic_full_redraws'*
-Type: boolean
-Default: 0 in GUI Vim and MacVim, 1 otherwise
-Controls whether syntastic calls `:redraw` or `:redraw!` for screen redraws.
-Changing it can in principle make screen redraws smoother, but it can also
-cause screen to flicker, or cause ghost characters. Leaving it to the default
-should be safe.
-
- *'syntastic_exit_checks'*
-Type: boolean
-Default: 0 when running under "cmd.exe" on Windows, 1 otherwise
-Syntastic attempts to catch abnormal termination conditions from checkers by
-looking at their exit codes. The "cmd.exe" shell on Windows make these checks
-meaningless, by returning 1 to Vim when the checkers exit with non-zero codes.
-The above variable can be used to disable exit code checks in syntastic.
-
- *'syntastic_shell'*
-Type: string
-Default: Vim's 'shell'
-This is the (full path to) the shell syntastic will use to run the checkers.
-On UNIX and Mac OS-X this shell must accept Bourne-compatible syntax for
-file "stdout" and "stderr" redirections ">file" and "2>file". Examples of
-compatible shells are "zsh", "bash", "ksh", and of course the original Bourne
-"sh".
-
-This shell is independent of Vim's 'shell', and it isn't used for interactive
-operations. It must take care to initialize all environment variables needed
-by the checkers you're using. Example: >
- let g:syntastic_shell = "/bin/sh"
-<
- *'syntastic_nested_autocommands'*
-Type: boolean
-Default: 0
-Controls whether syntastic's autocommands |BufReadPost| and |BufWritePost|
-are called from other |BufReadPost| and |BufWritePost| autocommands (see
-|autocmd-nested|). This is known to trigger interoperability problems with
-other plugins, so only enable it if you actually need that functionality.
-
- *'syntastic_debug'*
-Type: integer
-Default: 0
-Set this to the sum of one or more of the following flags to enable
-debugging:
-
- 1 - trace general workflow
- 2 - dump location lists
- 4 - trace notifiers
- 8 - trace autocommands
- 16 - dump options
- 32 - trace running of specific checkers
-
-Example: >
- let g:syntastic_debug = 1
-<
-Syntastic will then add debugging messages to Vim's |message-history|. You can
-examine these messages with `:mes`.
-
- *'syntastic_debug_file'*
-Type: string
-Default: unset
-When set, debugging messages are written to the file named by its value, in
-addition to being added to Vim's |message-history|: >
- let g:syntastic_debug_file = "~/syntastic.log"
-<
- *'syntastic_extra_filetypes'*
-Type: list of strings
-Default: []
-List of filetypes handled by checkers external to syntastic. If you have a Vim
-plugin that adds a checker for syntastic, and if the said checker deals with a
-filetype that is unknown to syntastic, you might consider adding that filetype
-to this list: >
- let g:syntastic_extra_filetypes = [ "make", "gitcommit" ]
-<
-This will allow `:SyntasticInfo` to do proper tab completion for the new
-filetypes.
-
-==============================================================================
-5. Checker Options *syntastic-checker-options*
-
-------------------------------------------------------------------------------
-5.1 Choosing which checkers to use *syntastic-filetype-checkers*
-
- *'g:syntastic__checkers'*
-You can tell syntastic which checkers to run for a given filetype by setting a
-variable 'g:syntastic__checkers' to a list of checkers, e.g. >
- let g:syntastic_php_checkers = ["php", "phpcs", "phpmd"]
-<
- *'b:syntastic_checkers'*
-There is also a per-buffer version of this setting, |'b:syntastic_checkers'|.
-When set, it takes precedence over |'g:syntastic__checkers'|. You can
-use this in an autocmd to configure specific checkers for particular paths: >
- autocmd FileType python if stridx(expand("%:p"), "/some/path/") == 0 |
- \ let b:syntastic_checkers = ["pylint"] | endif
-<
-If neither |'g:syntastic__checkers'| nor |'b:syntastic_checkers'|
-is set, a default list of checker is used. Beware however that this list
-deliberately kept minimal, for performance reasons.
-
-Take a look at the wiki to find out what checkers and filetypes are supported
-by syntastic:
-
- https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers
-
-Use `:SyntasticInfo` to see which checkers are available for a given filetype.
-
-------------------------------------------------------------------------------
-5.2 Choosing the executable *syntastic-config-exec*
-
- *'syntastic___exec'*
-The executable run by a checker is normally defined automatically, when the
-checker is registered. You can however override it, by setting the variable
-'g:syntastic___exec': >
- let g:syntastic_ruby_mri_exec = "~/bin/ruby2"
-<
-This variable has a local version, 'b:syntastic___exec',
-which takes precedence over the global one in the corresponding buffer.
-
- *'b:syntastic__exec'*
-There is also a local variable named 'b:syntastic__exec', which
-takes precedence over both 'b:syntastic___exec' and
-'g:syntastic___exec' in the buffers where it is defined.
-
-------------------------------------------------------------------------------
-5.3 Configuring specific checkers *syntastic-config-makeprg*
-
-Checkers are run by constructing a command line and by passing it to a shell
-(see |'shell'| and |'syntastic_shell'|). In most cases this command line is
-built using an internal function named "makeprgBuild()", which provides a
-number of options that allow you to customise every part of the command that
-gets called.
-
- *'syntastic___'*
-Checkers that use "makeprgBuild()" construct the corresponding command line
-like this: >
- let makeprg = self.makeprgBuild({
- \ "exe": self.getExec(),
- \ "args": "-a -b -c",
- \ "fname": shellescape(expand("%", 1)),
- \ "post_args": "--more --args",
- \ "tail": "2>/dev/null" })
-<
-The result is a command line of the form: >
-
-<
-All fields above are optional, and can be overridden by setting global
-variables 'g:syntastic___' - even
-parameters not specified in the call to "makeprgBuild()". For example to
-override the argguments and the tail: >
- let g:syntastic_c_pc_lint_args = "-w5 -Iz:/usr/include/linux"
- let g:syntastic_c_pc_lint_tail = "2>/dev/null"
-<
-These variables also have buffer-local versions named
-'b:syntastic___', which takes precedence
-over the global ones in the corresponding buffers.
-
-You can see the final outcome of setting these variables in the debug logs
-(cf. |syntastic-config-debug|).
-
-Special characters need to be escaped, so that they can survive shell
-expansions. Vim function |shellescape()| can help you with escaping: >
- let g:syntastic_c_cppcheck_args =
- \ "-DBUILD_BASENAME=my-module " . shellescape("-DBUILD_STR(s)=#s")
-<
-Alternatively, you can tell syntastic to escape special characters by turning
-the value into a list: >
- let g:syntastic_c_cppcheck_args =
- \ ["-DBUILD_BASENAME=my-module", "-DBUILD_STR(s)=#s"]
-<
-Each element of this list is then escaped as needed, and turned into a
-separate argument for the shell.
-
- *syntastic-config-empty*
-If one of the above variables has a non-empty default and you want it to be
-empty, you can set it to an empty string, e.g.: >
- let g:syntastic_javascript_jslint_args = ""
-<
- *'syntastic___exe'*
-The 'exe' option is special. Normally it is the same as the 'exec' attribute
-described above, but you can use it to add environment variables to the
-command line, or to change the way the checker is run. For example this setup
-allows you to run PC-Lint on Linux, under Wine emulation: >
- let g:syntastic_c_pc_lint_exec = "wine"
- let g:syntastic_c_pc_lint_exe = "wine c:/path/to/lint-nt.exe"
-<
- *'syntastic___fname'*
-
-The 'fname' option is also special. Normally it is automatically set by
-syntastic to the name of the current file, but you can change that as needed.
-For example you can tell the SML/NJ compiler to use Compilation Manager by
-omitting the filename from the command line: >
- let g:syntastic_sml_smlnj_fname = ""
-<
- *syntastic-config-no-makeprgbuild*
-For checkers that do not use the "makeprgBuild()" function you will have to
-look at the source code of the checker in question. If there are specific
-options that can be set, they are normally documented in the wiki:
-
- https://github.com/scrooloose/syntastic/wiki/Syntax-Checkers
-
-------------------------------------------------------------------------------
-5.4 Sorting errors *syntastic-config-sort*
-
- *'syntastic___sort'*
-Syntastic may decide to group the errors produced by some checkers by file,
-then sort them by line number, then by type, then by column number. If you'd
-prefer to see the errors in the order in which they are output by the external
-checker you can set the variable |'g:syntastic___sort'| to 0.
-
-Alternatively, if syntastic doesn't reorder the errors produced by a checker
-but you'd like it to sort them, you can set the same variable to 1.
-
-There is also a local version |'b:syntastic___sort'| of
-this variable, that takes precedence over it in the buffers where it is
-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 Filtering errors *syntastic-config-filtering*
-
- *'syntastic___quiet_messages'*
-Finally, variables 'g:syntastic___quiet_messages' can
-be used to filter out some of the messages produced by specific checkers. The
-effect is identical to that of |syntastic_quiet_messages|, except only messages
-from the corresponding checkers are filtered. Example: >
- let g:syntastic_python_pylama_quiet_messages = {
- \ "type": "style",
- \ "regex": '\m\[C03\d\d\]' }
-<
-The syntax is of course identical to that of |syntastic_quiet_messages|.
-
-------------------------------------------------------------------------------
-5.6 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.
-
-------------------------------------------------------------------------------
-5.7 Profiling *syntastic-profiling*
-
-A very useful tool for debugging performance problems is Vim's built-in
-|profiler|. In order to enable profiling for syntastic you need to add two lines
-to your vimrc (not to gvimrc): >
- profile start syntastic.log
- profile! file */syntastic/*
-<
-(assuming your copy of syntastic lives in a directory creatively named
-"syntastic"). These lines must be executed before syntastic is loaded, so you
-need to put them before package managers such as "pathogen" or "Vundle", and
-(in newer Vim versions) before any commands related to |packages|.
-
-A log file is created in the current directory, and is updated when you quit
-Vim.
-
-==============================================================================
-6. Notes *syntastic-notes*
-
-------------------------------------------------------------------------------
-6.1. Handling of composite filetypes *syntastic-composite*
-
-Some Vim plugins use composite filetypes, such as "django.python" or
-"handlebars.html". Normally syntastic deals with this situation by splitting
-the filetype in its simple components, and calling all checkers that apply.
-If this behaviour is not desirable, you can disable it by mapping the
-composite filetypes to simple ones using |'syntastic_filetype_map'|, e.g.: >
- let g:syntastic_filetype_map = { "handlebars.html": "handlebars" }
-<
-------------------------------------------------------------------------------
-6.2 Editing files over network *syntastic-netrw*
-
-The standard plugin |netrw| allows Vim to transparently edit files over
-network and inside archives. Currently syntastic doesn't support this mode
-of operation. It can only check files that can be accessed directly by local
-checkers, without any translation or conversion.
-
-------------------------------------------------------------------------------
-6.3 The 'shellslash' option *syntastic-shellslash*
-
-The 'shellslash' option is relevant only on Windows systems. This option
-determines (among other things) the rules for quoting command lines, and there
-is no easy way for syntastic to make sure its state is appropriate for your
-shell. It should be turned off if your 'shell' (or |'syntastic_shell'|) is
-"cmd.exe", and on for shells that expect an UNIX-like syntax, such as Cygwin's
-"sh". Most checkers will stop working if 'shellslash' is set to the wrong
-value.
-
-------------------------------------------------------------------------------
-6.4 Saving Vim sessions *syntastic-sessions*
-
-If you use `:mksession` to save Vim sessions you should probably make sure to
-remove option "blank" from 'sessionoptions': >
- set sessionoptions-=blank
-<
-This will prevent `:mksession` from saving |syntastic-error-window| as empty
-quickfix windows.
-
-==============================================================================
-7. Compatibility with other software *syntastic-compatibility*
-
-------------------------------------------------------------------------------
-7.1 The csh and tcsh shells *syntastic-csh*
-
-The "csh" and "tcsh" shells are mostly compatible with syntastic. However,
-some checkers assume Bourne shell syntax for redirecting "stderr". For this
-reason, you should point |'syntastic_shell'| to a Bourne-compatible shell,
-such as "zsh", "bash", "ksh", or even the original Bourne "sh": >
- let g:syntastic_shell = "/bin/sh"
-<
-------------------------------------------------------------------------------
-7.2. Eclim *syntastic-eclim*
-
-Syntastic can be used together with "Eclim" (see http://eclim.org/). However,
-by default Eclim disables syntastic's checks for the filetypes it supports, in
-order to run its own validation. If you'd prefer to use Eclim but still run
-syntastic's checks, set |g:EclimFileTypeValidate| to 0: >
- let g:EclimFileTypeValidate = 0
-<
-It is also possible to re-enable syntastic checks only for some filetypes, and
-run Eclim's validation for others. Please consult Eclim's documentation for
-details.
-
-------------------------------------------------------------------------------
-7.3 The fish shell *syntastic-fish*
-
-At the time of this writing the "fish" shell (see http://fishshell.com/)
-doesn't support the standard UNIX syntax for file redirections, and thus it
-can't be used together with syntastic. You can however set |'syntastic_shell'|
-to a more traditional shell, such as "zsh", "bash", "ksh", or even the
-original Bourne "sh": >
- let g:syntastic_shell = "/bin/sh"
-<
-------------------------------------------------------------------------------
-7.4. The fizsh shell *syntastic-fizsh*
-
-Using syntastic with the "fizsh" shell (see https://github.com/zsh-users/fizsh)
-is possible, but potentially problematic. In order to do it you'll need to set
-'shellredir' like this: >
- set shellredir=>%s\ 2>&1
-<
-Please keep in mind however that Vim can't take advantage of any of the
-interactive features of "fizsh". Using a more traditional shell such as "zsh",
-"bash", "ksh", or the original Bourne "sh" might be a better choice: >
- let g:syntastic_shell = "/bin/sh"
-<
-------------------------------------------------------------------------------
-7.5 flagship *syntastic-flagship*
-
-The "flagship" Vim plugin (https://github.com/tpope/vim-flagship) has its
-own mechanism of showing flags on the |'statusline'|. To allow "flagship"
-to manage syntastic's statusline flag add the following |autocommand| to
-your vimrc, rather than explicitly adding the flag to your |'statusline'| as
-described in the |syntastic-statusline-flag| section above: >
- autocmd User Flags call Hoist("window", "SyntasticStatuslineFlag")
-<
-------------------------------------------------------------------------------
-7.6. powerline *syntastic-powerline*
-
-The "powerline" Vim plugin (https://github.com/powerline/powerline) comes
-packaged with a syntastic segment. To customize this segment create a file
-"~/.config/powerline/themes/vim/default.json", with a content like this: >
- {
- "segment_data" : {
- "powerline.segments.vim.plugin.syntastic.syntastic" : {
- "args" : {
- "err_format" : "Err: {first_line} #{num} ",
- "warn_format" : "Warn: {first_line} #{num} "
- }
- }
- }
- }
-<
-------------------------------------------------------------------------------
-7.7. The PowerShell shell *syntastic-powershell*
-
-At the time of this writing, syntastic is not compatible with using "Windows
-PowerShell" (http://technet.microsoft.com/en-us/library/bb978526.aspx) as Vim's
-'shell'. You may still run Vim from 'PowerShell', but you do have to point
-Vim's 'shell' to a more traditional program, such as "cmd.exe": >
- set shell=cmd.exe
-<
-------------------------------------------------------------------------------
-7.8 python-mode *syntastic-pymode*
-
-Syntastic can be used along with the "python-mode" Vim plugin (see
-https://github.com/klen/python-mode). However, they both run syntax checks by
-default when you save buffers to disk, and this is probably not what you want.
-To avoid both plugins opening error windows, you can either set passive mode
-for python in syntastic (see |'syntastic_mode_map'|), or disable lint checks in
-"python-mode", by setting |pymode_lint_on_write| to 0. E.g.: >
- let g:pymode_lint_on_write = 0
-<
-------------------------------------------------------------------------------
-7.9. vim-auto-save *syntastic-vim-auto-save*
-
-Syntastic can be used together with the "vim-auto-save" Vim plugin (see
-https://github.com/907th/vim-auto-save). However, syntastic checks in active
-mode only work with "vim-auto-save" version 0.1.7 or later.
-
-------------------------------------------------------------------------------
-7.10. vim-go *syntastic-vim-go*
-
-Syntastic can be used along with the "vim-go" Vim plugin (see
-https://github.com/fatih/vim-go). However, both "vim-go" and syntastic run
-syntax checks by default when you save buffers to disk. To avoid conflicts,
-you have to either set passive mode in syntastic for the go filetype (see
-|syntastic_mode_map|), or prevent "vim-go" from showing a quickfix window when
-|g:go_fmt_command| fails, by setting |g:go_fmt_fail_silently| to 1. E.g.: >
- let g:go_fmt_fail_silently = 1
-<
-------------------------------------------------------------------------------
-7.11. vim-virtualenv *syntastic-vim-virtualenv*
-
-At the time of this writing, syntastic can't run checkers installed
-in Python virtual environments activated by "vim-virtualenv" (see
-https://github.com/jmcantrell/vim-virtualenv). This is a limitation of
-"vim-virtualenv".
-
-------------------------------------------------------------------------------
-7.12 YouCompleteMe *syntastic-ycm*
-
-Syntastic can be used together with the "YouCompleteMe" Vim plugin (see
-http://valloric.github.io/YouCompleteMe/). However, by default "YouCompleteMe"
-disables syntastic's checkers for the "c", "cpp", "objc", and "objcpp"
-filetypes, in order to allow its own checkers to run. If you want to use YCM's
-identifier completer but still run syntastic's checkers for those filetypes you
-have to set |g:ycm_show_diagnostics_ui| to 0. E.g.: >
- let g:ycm_show_diagnostics_ui = 0
-<
-------------------------------------------------------------------------------
-7.13 The zsh shell and MacVim *syntastic-zsh*
-
-If you're running MacVim together with the "zsh" shell (http://www.zsh.org/)
-you need to be aware that MacVim does not source your .zshrc file, but will
-source a .zshenv file. Consequently you have to move any setup steps relevant
-to the checkers you're using from .zshrc to .zshenv, otherwise your checkers
-will misbehave when run by syntastic. This is particularly important for
-programs such as "rvm" (https://rvm.io/) or "rbenv" (http://rbenv.org/), that
-rely on setting environment variables.
-
-==============================================================================
-8. About *syntastic-about*
-
-The core maintainers of syntastic are:
- Martin Grenfell (GitHub: scrooloose)
- Gregor Uhlenheuer (GitHub: kongo2002)
- LCD 047 (GitHub: lcd047)
-
-Find the latest version of syntastic at:
-
- http://github.com/scrooloose/syntastic
-
-==============================================================================
-9. License *syntastic-license*
-
-Syntastic is released under the WTFPL.
-See http://sam.zoy.org/wtfpl/COPYING.
-
- vim:tw=78:sw=4:ft=help:norl:
diff --git a/sources_non_forked/syntastic/plugin/syntastic.vim b/sources_non_forked/syntastic/plugin/syntastic.vim
deleted file mode 100644
index 1e3194c0..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic.vim
+++ /dev/null
@@ -1,729 +0,0 @@
-"============================================================================
-"File: syntastic.vim
-"Description: Vim plugin for on the fly syntax checking.
-"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_plugin') || &compatible
- finish
-endif
-let g:loaded_syntastic_plugin = 1
-
-if has('reltime')
- let g:_SYNTASTIC_START = reltime()
- lockvar! g:_SYNTASTIC_START
-endif
-
-let g:_SYNTASTIC_VERSION = '3.7.0-112'
-lockvar g:_SYNTASTIC_VERSION
-
-" Sanity checks {{{1
-
-if v:version < 700 || (v:version == 700 && !has('patch175'))
- call syntastic#log#error('need Vim version 7.0.175 or later')
- finish
-endif
-
-for s:feature in [
- \ 'autocmd',
- \ 'eval',
- \ 'file_in_path',
- \ 'modify_fname',
- \ 'quickfix',
- \ 'reltime',
- \ 'user_commands'
- \ ]
- if !has(s:feature)
- call syntastic#log#error('need Vim compiled with feature ' . s:feature)
- finish
- endif
-endfor
-
-let s:_running_windows = syntastic#util#isRunningWindows()
-lockvar s:_running_windows
-
-if !exists('g:syntastic_shell')
- let g:syntastic_shell = &shell
-endif
-
-if s:_running_windows
- let g:_SYNTASTIC_UNAME = 'Windows'
-elseif executable('uname')
- try
- let g:_SYNTASTIC_UNAME = split(syntastic#util#system('uname'), "\n")[0]
- catch /\m^Vim\%((\a\+)\)\=:E484/
- call syntastic#log#error("your shell " . syntastic#util#var('shell') . " can't handle traditional UNIX syntax for redirections")
- finish
- catch /\m^Vim\%((\a\+)\)\=:E684/
- let g:_SYNTASTIC_UNAME = 'Unknown'
- endtry
-else
- let g:_SYNTASTIC_UNAME = 'Unknown'
-endif
-lockvar g:_SYNTASTIC_UNAME
-
-" }}}1
-
-" Defaults {{{1
-
-let g:_SYNTASTIC_DEFAULTS = {
- \ 'aggregate_errors': 0,
- \ 'always_populate_loc_list': 0,
- \ 'auto_jump': 0,
- \ 'auto_loc_list': 2,
- \ 'check_on_open': 0,
- \ 'check_on_wq': 1,
- \ 'cursor_columns': 1,
- \ 'debug': 0,
- \ 'echo_current_error': 1,
- \ 'enable_balloons': 1,
- \ 'enable_highlighting': 1,
- \ 'enable_signs': 1,
- \ 'error_symbol': '>>',
- \ 'exit_checks': !(s:_running_windows && syntastic#util#var('shell', &shell) =~? '\m\',
- \ 'style_warning_symbol': 'S>',
- \ 'warning_symbol': '>>'
- \ }
-lockvar! g:_SYNTASTIC_DEFAULTS
-
-for s:key in keys(g:_SYNTASTIC_DEFAULTS)
- if !exists('g:syntastic_' . s:key)
- let g:syntastic_{s:key} = copy(g:_SYNTASTIC_DEFAULTS[s:key])
- endif
-endfor
-
-if exists('g:syntastic_quiet_warnings')
- call syntastic#log#oneTimeWarn("variable g:syntastic_quiet_warnings is deprecated, please use let g:syntastic_quiet_messages = {'level': 'warnings'} instead")
- if g:syntastic_quiet_warnings
- let s:quiet_warnings = get(g:syntastic_quiet_messages, 'type', [])
- if type(s:quiet_warnings) != type([])
- let s:quiet_warnings = [s:quiet_warnings]
- endif
- call add(s:quiet_warnings, 'warnings')
- let g:syntastic_quiet_messages['type'] = s:quiet_warnings
- endif
-endif
-
-" }}}1
-
-" Debug {{{1
-
-let s:_DEBUG_DUMP_OPTIONS = [
- \ 'shell',
- \ 'shellcmdflag',
- \ 'shellpipe',
- \ 'shellquote',
- \ 'shellredir',
- \ 'shellslash',
- \ 'shelltemp',
- \ 'shellxquote'
- \ ]
-if exists('+shellxescape')
- call add(s:_DEBUG_DUMP_OPTIONS, 'shellxescape')
-endif
-lockvar! s:_DEBUG_DUMP_OPTIONS
-
-" debug constants
-let g:_SYNTASTIC_DEBUG_TRACE = 1
-lockvar g:_SYNTASTIC_DEBUG_TRACE
-let g:_SYNTASTIC_DEBUG_LOCLIST = 2
-lockvar g:_SYNTASTIC_DEBUG_LOCLIST
-let g:_SYNTASTIC_DEBUG_NOTIFICATIONS = 4
-lockvar g:_SYNTASTIC_DEBUG_NOTIFICATIONS
-let g:_SYNTASTIC_DEBUG_AUTOCOMMANDS = 8
-lockvar g:_SYNTASTIC_DEBUG_AUTOCOMMANDS
-let g:_SYNTASTIC_DEBUG_VARIABLES = 16
-lockvar g:_SYNTASTIC_DEBUG_VARIABLES
-let g:_SYNTASTIC_DEBUG_CHECKERS = 32
-lockvar g:_SYNTASTIC_DEBUG_CHECKERS
-
-" }}}1
-
-runtime! plugin/syntastic/*.vim
-
-let s:registry = g:SyntasticRegistry.Instance()
-let s:notifiers = g:SyntasticNotifiers.Instance()
-let s:modemap = g:SyntasticModeMap.Instance()
-
-let s:_quit_pre = []
-
-" Commands {{{1
-
-" @vimlint(EVL103, 1, a:cursorPos)
-" @vimlint(EVL103, 1, a:cmdLine)
-" @vimlint(EVL103, 1, a:argLead)
-function! s:CompleteCheckerName(argLead, cmdLine, cursorPos) abort " {{{2
- let checker_names = []
- for ft in s:_resolve_filetypes([])
- call extend(checker_names, s:registry.getNamesOfAvailableCheckers(ft))
- endfor
- return join(checker_names, "\n")
-endfunction " }}}2
-" @vimlint(EVL103, 0, a:cursorPos)
-" @vimlint(EVL103, 0, a:cmdLine)
-" @vimlint(EVL103, 0, a:argLead)
-
-
-" @vimlint(EVL103, 1, a:cursorPos)
-" @vimlint(EVL103, 1, a:cmdLine)
-" @vimlint(EVL103, 1, a:argLead)
-function! s:CompleteFiletypes(argLead, cmdLine, cursorPos) abort " {{{2
- return join(s:registry.getKnownFiletypes(), "\n")
-endfunction " }}}2
-" @vimlint(EVL103, 0, a:cursorPos)
-" @vimlint(EVL103, 0, a:cmdLine)
-" @vimlint(EVL103, 0, a:argLead)
-
-command! -bar -nargs=* -complete=custom,s:CompleteCheckerName SyntasticCheck call SyntasticCheck()
-command! -bar -nargs=? -complete=custom,s:CompleteFiletypes SyntasticInfo call SyntasticInfo()
-command! -bar Errors call SyntasticErrors()
-command! -bar SyntasticReset call SyntasticReset()
-command! -bar SyntasticToggleMode call SyntasticToggleMode()
-command! -bar SyntasticSetLoclist call SyntasticSetLoclist()
-
-command! SyntasticJavacEditClasspath runtime! syntax_checkers/java/*.vim | SyntasticJavacEditClasspath
-command! SyntasticJavacEditConfig runtime! syntax_checkers/java/*.vim | SyntasticJavacEditConfig
-
-" }}}1
-
-" Public API {{{1
-
-function! SyntasticCheck(...) abort " {{{2
- call s:UpdateErrors(0, a:000)
- call syntastic#util#redraw(g:syntastic_full_redraws)
-endfunction " }}}2
-
-function! SyntasticInfo(...) abort " {{{2
- call s:modemap.modeInfo(a:000)
- call s:registry.echoInfoFor(s:_resolve_filetypes(a:000))
- call s:_explain_skip(a:000)
-endfunction " }}}2
-
-function! SyntasticErrors() abort " {{{2
- call g:SyntasticLoclist.current().show()
-endfunction " }}}2
-
-function! SyntasticReset() abort " {{{2
- call s:ClearCache()
- call s:notifiers.refresh(g:SyntasticLoclist.New([]))
-endfunction " }}}2
-
-function! SyntasticToggleMode() abort " {{{2
- call s:modemap.toggleMode()
- call s:ClearCache()
- call s:notifiers.refresh(g:SyntasticLoclist.New([]))
- call s:modemap.echoMode()
-endfunction " }}}2
-
-function! SyntasticSetLoclist() abort " {{{2
- call g:SyntasticLoclist.current().setloclist()
-endfunction " }}}2
-
-" }}}1
-
-" Autocommands {{{1
-
-augroup syntastic
- autocmd!
- autocmd BufEnter * call s:BufEnterHook()
-augroup END
-
-if g:syntastic_nested_autocommands
- augroup syntastic
- autocmd BufReadPost * nested call s:BufReadPostHook()
- autocmd BufWritePost * nested call s:BufWritePostHook()
- augroup END
-else
- augroup syntastic
- autocmd BufReadPost * call s:BufReadPostHook()
- autocmd BufWritePost * call s:BufWritePostHook()
- augroup END
-endif
-
-if exists('##QuitPre')
- " QuitPre was added in Vim 7.3.544
- augroup syntastic
- autocmd QuitPre * call s:QuitPreHook(expand('', 1))
- augroup END
-endif
-
-function! s:BufReadPostHook() abort " {{{2
- if g:syntastic_check_on_open
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_AUTOCOMMANDS,
- \ 'autocmd: BufReadPost, buffer ' . bufnr('') . ' = ' . string(bufname(str2nr(bufnr('')))))
- call s:UpdateErrors(1, [])
- endif
-endfunction " }}}2
-
-function! s:BufWritePostHook() abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_AUTOCOMMANDS,
- \ 'autocmd: BufWritePost, buffer ' . bufnr('') . ' = ' . string(bufname(str2nr(bufnr('')))))
- call s:UpdateErrors(1, [])
-endfunction " }}}2
-
-function! s:BufEnterHook() abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_AUTOCOMMANDS,
- \ 'autocmd: BufEnter, buffer ' . bufnr('') . ' = ' . string(bufname(str2nr(bufnr('')))) .
- \ ', &buftype = ' . string(&buftype))
- if &buftype ==# ''
- call s:notifiers.refresh(g:SyntasticLoclist.current())
- elseif &buftype ==# 'quickfix'
- " TODO: this is needed because in recent versions of Vim lclose
- " can no longer be called from BufWinLeave
- " TODO: at this point there is no b:syntastic_loclist
- let loclist = filter(copy(getloclist(0)), 'v:val["valid"] == 1')
- let owner = str2nr(getbufvar(bufnr(''), 'syntastic_owner_buffer'))
- let buffers = syntastic#util#unique(map(loclist, 'v:val["bufnr"]') + (owner ? [owner] : []))
- if !empty(get(w:, 'syntastic_loclist_set', [])) && !empty(loclist) && empty(filter( buffers, 'syntastic#util#bufIsActive(v:val)' ))
- call SyntasticLoclistHide()
- endif
- endif
-endfunction " }}}2
-
-function! s:QuitPreHook(fname) abort " {{{2
- let buf = bufnr(fnameescape(a:fname))
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_AUTOCOMMANDS, 'autocmd: QuitPre, buffer ' . buf . ' = ' . string(a:fname))
-
- if !syntastic#util#var('check_on_wq')
- call syntastic#util#setWids()
- call add(s:_quit_pre, buf . '_' . getbufvar(buf, 'changetick') . '_' . w:syntastic_wid)
- endif
-
- if !empty(get(w:, 'syntastic_loclist_set', []))
- call SyntasticLoclistHide()
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Main {{{1
-
-"refresh and redraw all the error info for this buf when saving or reading
-function! s:UpdateErrors(auto_invoked, checker_names) abort " {{{2
- call syntastic#log#debugShowVariables(g:_SYNTASTIC_DEBUG_TRACE, 'version')
- call syntastic#log#debugShowOptions(g:_SYNTASTIC_DEBUG_TRACE, s:_DEBUG_DUMP_OPTIONS)
- call syntastic#log#debugDump(g:_SYNTASTIC_DEBUG_VARIABLES)
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'UpdateErrors' . (a:auto_invoked ? ' (auto)' : '') .
- \ ': ' . (len(a:checker_names) ? join(a:checker_names) : 'default checkers'))
-
- call s:modemap.synch()
-
- if s:_skip_file()
- return
- endif
-
- let run_checks = !a:auto_invoked || s:modemap.doAutoChecking()
- if run_checks
- call s:CacheErrors(a:checker_names)
- call syntastic#util#setChangedtick()
- else
- if a:auto_invoked
- return
- endif
- endif
-
- let loclist = g:SyntasticLoclist.current()
-
- if exists('*SyntasticCheckHook')
- call SyntasticCheckHook(loclist.getRaw())
- endif
-
- " populate loclist and jump {{{3
- let do_jump = syntastic#util#var('auto_jump') + 0
- if do_jump == 2
- let do_jump = loclist.getFirstError(1)
- elseif do_jump == 3
- let do_jump = loclist.getFirstError()
- elseif 0 > do_jump || do_jump > 3
- let do_jump = 0
- endif
-
- let w:syntastic_loclist_set = []
- if syntastic#util#var('always_populate_loc_list') || do_jump
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'loclist: setloclist (new)')
- call setloclist(0, loclist.getRaw())
- if !exists('b:syntastic_changedtick')
- call syntastic#util#setChangedtick()
- endif
- let w:syntastic_loclist_set = [bufnr(''), b:syntastic_changedtick]
- if run_checks && do_jump && !loclist.isEmpty()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'loclist: jump')
- execute 'silent! lrewind ' . do_jump
-
- " XXX: Vim doesn't call autocmd commands in a predictible
- " order, which can lead to missing filetype when jumping
- " to a new file; the following is a workaround for the
- " resulting brain damage
- if &filetype ==# ''
- silent! filetype detect
- endif
- endif
- endif
- " }}}3
-
- call s:notifiers.refresh(loclist)
-endfunction " }}}2
-
-"clear the loc list for the buffer
-function! s:ClearCache() abort " {{{2
- call s:notifiers.reset(g:SyntasticLoclist.current())
- call b:syntastic_loclist.destroy()
-endfunction " }}}2
-
-"detect and cache all syntax errors in this buffer
-function! s:CacheErrors(checker_names) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'CacheErrors: ' .
- \ (len(a:checker_names) ? join(a:checker_names) : 'default checkers'))
- call s:ClearCache()
- let newLoclist = g:SyntasticLoclist.New([])
-
- if !s:_skip_file()
- " debug logging {{{3
- call syntastic#log#debugShowVariables(g:_SYNTASTIC_DEBUG_TRACE, 'aggregate_errors')
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, '$PATH = ' . string($PATH))
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'getcwd() = ' . string(getcwd()))
- " }}}3
-
- let filetypes = s:_resolve_filetypes([])
- let aggregate_errors = syntastic#util#var('aggregate_errors') || len(filetypes) > 1
- let decorate_errors = aggregate_errors && syntastic#util#var('id_checkers')
- let sort_aggregated_errors = aggregate_errors && syntastic#util#var('sort_aggregated_errors')
-
- let clist = []
- for type in filetypes
- call extend(clist, s:registry.getCheckers(type, a:checker_names))
- endfor
-
- let names = []
- let unavailable_checkers = 0
- for checker in clist
- let cname = checker.getFiletype() . '/' . checker.getName()
- if !checker.isAvailable()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'CacheErrors: Checker ' . cname . ' is not available')
- let unavailable_checkers += 1
- continue
- endif
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'CacheErrors: Invoking checker: ' . cname)
-
- let loclist = checker.getLocList()
-
- if !loclist.isEmpty()
- if decorate_errors
- call loclist.decorate(cname)
- endif
- call add(names, cname)
- if checker.wantSort() && !sort_aggregated_errors
- call loclist.sort()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'sorted:', loclist)
- endif
-
- let newLoclist = newLoclist.extend(loclist)
-
- if !aggregate_errors
- break
- endif
- endif
- endfor
-
- " set names {{{3
- if !empty(names)
- if len(syntastic#util#unique(map( copy(names), 'substitute(v:val, "\\m/.*", "", "")' ))) == 1
- let type = substitute(names[0], '\m/.*', '', '')
- let name = join(map( names, 'substitute(v:val, "\\m.\\{-}/", "", "")' ), ', ')
- call newLoclist.setName( name . ' ('. type . ')' )
- else
- " checkers from mixed types
- call newLoclist.setName(join(names, ', '))
- endif
- endif
- " }}}3
-
- " issue warning about no active checkers {{{3
- if len(clist) == unavailable_checkers
- if !empty(a:checker_names)
- if len(a:checker_names) == 1
- call syntastic#log#warn('checker ' . a:checker_names[0] . ' is not available')
- else
- call syntastic#log#warn('checkers ' . join(a:checker_names, ', ') . ' are not available')
- endif
- else
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'CacheErrors: no checkers available for ' . &filetype)
- endif
- endif
- " }}}3
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'aggregated:', newLoclist)
- if sort_aggregated_errors
- call newLoclist.sort()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'sorted:', newLoclist)
- endif
- endif
-
- call newLoclist.deploy()
-endfunction " }}}2
-
-"Emulates the :lmake command. Sets up the make environment according to the
-"options given, runs make, resets the environment, returns the location list
-"
-"a:options can contain the following keys:
-" 'makeprg'
-" 'errorformat'
-"
-"The corresponding options are set for the duration of the function call. They
-"are set with :let, so dont escape spaces.
-"
-"a:options may also contain:
-" 'defaults' - a dict containing default values for the returned errors
-" 'subtype' - all errors will be assigned the given subtype
-" 'preprocess' - a function to be applied to the error file before parsing errors
-" 'postprocess' - a list of functions to be applied to the error list
-" 'cwd' - change directory to the given path before running the checker
-" 'env' - environment variables to set before running the checker
-" 'returns' - a list of valid exit codes for the checker
-" @vimlint(EVL102, 1, l:env_save)
-function! SyntasticMake(options) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'SyntasticMake: called with options:', a:options)
-
- " save options and locale env variables {{{3
- let old_local_errorformat = &l:errorformat
- let old_errorformat = &errorformat
- let old_cwd = getcwd()
- " }}}3
-
- if has_key(a:options, 'errorformat')
- let &errorformat = a:options['errorformat']
- set errorformat<
- endif
-
- if has_key(a:options, 'cwd')
- execute 'lcd ' . fnameescape(a:options['cwd'])
- endif
-
- " set environment variables {{{3
- let env_save = {}
- if has_key(a:options, 'env') && len(a:options['env'])
- for key in keys(a:options['env'])
- if key =~? '\m^[a-z_]\+$'
- execute 'let env_save[' . string(key) . '] = $' . key
- execute 'let $' . key . ' = ' . string(a:options['env'][key])
- endif
- endfor
- endif
- " }}}3
-
- let err_lines = split(syntastic#util#system(a:options['makeprg']), "\n", 1)
-
- " restore environment variables {{{3
- if len(env_save)
- for key in keys(env_save)
- execute 'let $' . key . ' = ' . string(env_save[key])
- endfor
- endif
- " }}}3
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'checker output:', err_lines)
-
- " Does it still make sense to go on?
- let bailout =
- \ syntastic#util#var('exit_checks') &&
- \ has_key(a:options, 'returns') &&
- \ index(a:options['returns'], v:shell_error) == -1
-
- if !bailout
- if has_key(a:options, 'Preprocess')
- let err_lines = call(a:options['Preprocess'], [err_lines])
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'preprocess (external):', err_lines)
- elseif has_key(a:options, 'preprocess')
- let err_lines = call('syntastic#preprocess#' . a:options['preprocess'], [err_lines])
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'preprocess:', err_lines)
- endif
- lgetexpr err_lines
-
- let errors = deepcopy(getloclist(0))
-
- if has_key(a:options, 'cwd')
- execute 'lcd ' . fnameescape(old_cwd)
- endif
-
- try
- silent lolder
- catch /\m^Vim\%((\a\+)\)\=:E380/
- " E380: At bottom of quickfix stack
- call setloclist(0, [], 'r')
- catch /\m^Vim\%((\a\+)\)\=:E776/
- " E776: No location list
- " do nothing
- endtry
- else
- let errors = []
- endif
-
- " restore options {{{3
- let &errorformat = old_errorformat
- let &l:errorformat = old_local_errorformat
- " }}}3
-
- if !s:_running_windows && (s:_os_name() =~? 'FreeBSD' || s:_os_name() =~? 'OpenBSD')
- call syntastic#util#redraw(g:syntastic_full_redraws)
- endif
-
- if bailout
- call syntastic#log#ndebug(g:_SYNTASTIC_DEBUG_LOCLIST, 'checker output:', err_lines)
- throw 'Syntastic: checker error'
- endif
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'raw loclist:', errors)
-
- if has_key(a:options, 'defaults')
- call s:_add_to_errors(errors, a:options['defaults'])
- endif
-
- " Add subtype info if present.
- if has_key(a:options, 'subtype')
- call s:_add_to_errors(errors, { 'subtype': a:options['subtype'] })
- endif
-
- if has_key(a:options, 'Postprocess') && !empty(a:options['Postprocess'])
- for rule in a:options['Postprocess']
- let errors = call(rule, [errors])
- endfor
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'postprocess (external):', errors)
- elseif has_key(a:options, 'postprocess') && !empty(a:options['postprocess'])
- for rule in a:options['postprocess']
- let errors = call('syntastic#postprocess#' . rule, [errors])
- endfor
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'postprocess:', errors)
- endif
-
- return errors
-endfunction " }}}2
-" @vimlint(EVL102, 0, l:env_save)
-
-"return a string representing the state of buffer according to
-"g:syntastic_stl_format
-"
-"return '' if no errors are cached for the buffer
-function! SyntasticStatuslineFlag() abort " {{{2
- return g:SyntasticLoclist.current().getStatuslineFlag()
-endfunction " }}}2
-
-" }}}1
-
-" Utilities {{{1
-
-function! s:_resolve_filetypes(filetypes) abort " {{{2
- let type = len(a:filetypes) ? a:filetypes[0] : &filetype
- return split( get(g:syntastic_filetype_map, type, type), '\m\.' )
-endfunction " }}}2
-
-function! s:_ignore_file(filename) abort " {{{2
- let fname = fnamemodify(a:filename, ':p')
- for pattern in g:syntastic_ignore_files
- if fname =~# pattern
- return 1
- endif
- endfor
- return 0
-endfunction " }}}2
-
-function! s:_is_quitting(buf) abort " {{{2
- let quitting = 0
- if exists('w:syntastic_wid')
- let key = a:buf . '_' . getbufvar(a:buf, 'changetick') . '_' . w:syntastic_wid
- let idx = index(s:_quit_pre, key)
- if idx >= 0
- call remove(s:_quit_pre, idx)
- let quitting = 1
- endif
- endif
-
- return quitting
-endfunction " }}}2
-
-" Skip running in special buffers
-function! s:_skip_file() abort " {{{2
- let fname = expand('%', 1)
- let skip = s:_is_quitting(bufnr('%')) || get(b:, 'syntastic_skip_checks', 0) ||
- \ (&buftype !=# '') || !filereadable(fname) || getwinvar(0, '&diff') ||
- \ getwinvar(0, '&previewwindow') || s:_ignore_file(fname) ||
- \ fnamemodify(fname, ':e') =~? g:syntastic_ignore_extensions
- if skip
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, '_skip_file: skipping checks')
- endif
- return skip
-endfunction " }}}2
-
-" Explain why checks will be skipped for the current file
-function! s:_explain_skip(filetypes) abort " {{{2
- if empty(a:filetypes) && s:_skip_file()
- let why = []
- let fname = expand('%', 1)
-
- if s:_is_quitting(bufnr('%'))
- call add(why, 'quitting buffer')
- endif
- if get(b:, 'syntastic_skip_checks', 0)
- call add(why, 'b:syntastic_skip_checks set')
- endif
- if &buftype !=# ''
- call add(why, 'buftype = ' . string(&buftype))
- endif
- if !filereadable(fname)
- call add(why, 'file not readable / not local')
- endif
- if getwinvar(0, '&diff')
- call add(why, 'diff mode')
- endif
- if getwinvar(0, '&previewwindow')
- call add(why, 'preview window')
- endif
- if s:_ignore_file(fname)
- call add(why, 'filename matching g:syntastic_ignore_files')
- endif
- if fnamemodify(fname, ':e') =~? g:syntastic_ignore_extensions
- call add(why, 'extension matching g:syntastic_ignore_extensions')
- endif
-
- echomsg 'The current file will not be checked (' . join(why, ', ') . ')'
- endif
-endfunction " }}}2
-
-" Take a list of errors and add default values to them from a:options
-function! s:_add_to_errors(errors, options) abort " {{{2
- for err in a:errors
- for key in keys(a:options)
- if !has_key(err, key) || empty(err[key])
- let err[key] = a:options[key]
- endif
- endfor
- endfor
-
- return a:errors
-endfunction " }}}2
-
-function! s:_os_name() abort " {{{2
- return g:_SYNTASTIC_UNAME
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/autoloclist.vim b/sources_non_forked/syntastic/plugin/syntastic/autoloclist.vim
deleted file mode 100644
index 153b0bc9..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/autoloclist.vim
+++ /dev/null
@@ -1,38 +0,0 @@
-if exists('g:loaded_syntastic_notifier_autoloclist') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifier_autoloclist = 1
-
-let g:SyntasticAutoloclistNotifier = {}
-
-" Public methods {{{1
-"
-function! g:SyntasticAutoloclistNotifier.New() abort " {{{2
- let newObj = copy(self)
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticAutoloclistNotifier.refresh(loclist) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'autoloclist: refresh')
- call g:SyntasticAutoloclistNotifier.AutoToggle(a:loclist)
-endfunction " }}}2
-
-function! g:SyntasticAutoloclistNotifier.AutoToggle(loclist) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'autoloclist: toggle')
- let auto_loc_list = syntastic#util#var('auto_loc_list')
- if !a:loclist.isEmpty()
- if auto_loc_list == 1 || auto_loc_list == 3
- call a:loclist.show()
- endif
- else
- if auto_loc_list == 1 || auto_loc_list == 2
- "TODO: this will close the loc list window if one was opened by
- "something other than syntastic
- lclose
- endif
- endif
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/balloons.vim b/sources_non_forked/syntastic/plugin/syntastic/balloons.vim
deleted file mode 100644
index fdd70bfe..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/balloons.vim
+++ /dev/null
@@ -1,59 +0,0 @@
-if exists('g:loaded_syntastic_notifier_balloons') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifier_balloons = 1
-
-if !has('balloon_eval')
- let g:syntastic_enable_balloons = 0
-endif
-
-let g:SyntasticBalloonsNotifier = {}
-
-" Public methods {{{1
-
-function! g:SyntasticBalloonsNotifier.New() abort " {{{2
- let newObj = copy(self)
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticBalloonsNotifier.enabled() abort " {{{2
- return has('balloon_eval') && syntastic#util#var('enable_balloons')
-endfunction " }}}2
-
-" Update the error balloons
-function! g:SyntasticBalloonsNotifier.refresh(loclist) abort " {{{2
- unlet! b:syntastic_private_balloons
- if self.enabled() && !a:loclist.isEmpty()
- let b:syntastic_private_balloons = a:loclist.balloons()
- if !empty(b:syntastic_private_balloons)
- set ballooneval balloonexpr=SyntasticBalloonsExprNotifier()
- endif
- endif
-endfunction " }}}2
-
-" Reset the error balloons
-" @vimlint(EVL103, 1, a:loclist)
-function! g:SyntasticBalloonsNotifier.reset(loclist) abort " {{{2
- let b:syntastic_private_balloons = {}
- if has('balloon_eval')
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'balloons: reset')
- unlet! b:syntastic_private_balloons
- set noballooneval
- endif
-endfunction " }}}2
-" @vimlint(EVL103, 0, a:loclist)
-
-" }}}1
-
-" Private functions {{{1
-
-function! SyntasticBalloonsExprNotifier() abort " {{{2
- if !exists('b:syntastic_private_balloons')
- return ''
- endif
- return get(b:syntastic_private_balloons, v:beval_lnum, '')
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/checker.vim b/sources_non_forked/syntastic/plugin/syntastic/checker.vim
deleted file mode 100644
index 6569da62..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/checker.vim
+++ /dev/null
@@ -1,270 +0,0 @@
-if exists('g:loaded_syntastic_checker') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_checker = 1
-
-let g:SyntasticChecker = {}
-
-" Public methods {{{1
-
-function! g:SyntasticChecker.New(args, ...) abort " {{{2
- let newObj = copy(self)
-
- let newObj._filetype = a:args['filetype']
- let newObj._name = a:args['name']
-
- if a:0
- " redirected checker
- let newObj._exec = get(a:args, 'exec', a:1['_exec'])
-
- let filetype = a:1['_filetype']
- let name = a:1['_name']
- let prefix = 'SyntaxCheckers_' . filetype . '_' . name . '_'
-
- if exists('g:syntastic_' . filetype . '_' . name . '_sort') && !exists('g:syntastic_' . newObj._filetype . '_' . newObj._name . '_sort')
- let g:syntastic_{newObj._filetype}_{newObj._name}_sort = g:syntastic_{filetype}_{name}_sort
- endif
-
- if has_key(a:args, 'enable')
- let newObj._enable = a:args['enable']
- elseif has_key(a:1, '_enable')
- let newObj._enable = a:1['_enable']
- endif
- else
- let newObj._exec = get(a:args, 'exec', newObj._name)
- let prefix = 'SyntaxCheckers_' . newObj._filetype . '_' . newObj._name . '_'
-
- if has_key(a:args, 'enable')
- let newObj._enable = a:args['enable']
- endif
- endif
-
- let newObj._locListFunc = function(prefix . 'GetLocList')
-
- if exists('*' . prefix . 'IsAvailable')
- let newObj._isAvailableFunc = function(prefix . 'IsAvailable')
- else
- let newObj._isAvailableFunc = function('s:_isAvailableDefault')
- endif
-
- if exists('*' . prefix . 'GetHighlightRegex')
- let newObj._highlightRegexFunc = function(prefix . 'GetHighlightRegex')
- endif
-
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticChecker.getFiletype() abort " {{{2
- return self._filetype
-endfunction " }}}2
-
-function! g:SyntasticChecker.getName() abort " {{{2
- return self._name
-endfunction " }}}2
-
-" Synchronise _exec with user's setting. Force re-validation if needed.
-"
-" XXX: This function must be called at least once before calling either
-" getExec() or getExecEscaped(). Normally isAvailable() does that for you
-" automatically, but you should keep still this in mind if you change the
-" current checker workflow.
-function! g:SyntasticChecker.syncExec() abort " {{{2
- let user_exec =
- \ expand( exists('b:syntastic_' . self._name . '_exec') ? b:syntastic_{self._name}_exec :
- \ syntastic#util#var(self._filetype . '_' . self._name . '_exec'), 1 )
-
- if user_exec !=# '' && user_exec !=# self._exec
- let self._exec = user_exec
- if has_key(self, '_available')
- " we have a new _exec on the block, it has to be validated
- call remove(self, '_available')
- endif
- endif
-endfunction " }}}2
-
-function! g:SyntasticChecker.getExec() abort " {{{2
- return self._exec
-endfunction " }}}2
-
-function! g:SyntasticChecker.getExecEscaped() abort " {{{2
- return syntastic#util#shescape(self._exec)
-endfunction " }}}2
-
-function! g:SyntasticChecker.getLocListRaw() abort " {{{2
- let name = self._filetype . '/' . self._name
-
- if has_key(self, '_enable')
- let status = syntastic#util#var(self._enable, -1)
- if type(status) != type(0)
- call syntastic#log#error('checker ' . name . ': invalid value ' . strtrans(string(status)) .
- \ ' for g:syntastic_' . self._enable . '; try 0 or 1 instead')
- return []
- endif
- if status < 0
- call syntastic#log#error('checker ' . name . ': checks disabled for security reasons; ' .
- \ 'set g:syntastic_' . self._enable . ' to 1 to override')
- endif
- if status <= 0
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'getLocList: checker ' . name . ' enabled but not forced')
- return []
- else
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'getLocList: checker ' . name . ' forced')
- endif
- endif
-
- try
- let list = self._locListFunc()
- if self._exec !=# ''
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_TRACE, 'getLocList: checker ' . name . ' returned ' . v:shell_error)
- endif
- catch /\m\C^Syntastic: checker error$/
- let list = []
- if self._exec !=# ''
- call syntastic#log#error('checker ' . name . ' returned abnormal status ' . v:shell_error)
- else
- call syntastic#log#error('checker ' . name . ' aborted')
- endif
- endtry
- call self._populateHighlightRegexes(list)
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, name . ' raw:', list)
- call self._quietMessages(list)
- return list
-endfunction " }}}2
-
-function! g:SyntasticChecker.getLocList() abort " {{{2
- return g:SyntasticLoclist.New(self.getLocListRaw())
-endfunction " }}}2
-
-function! g:SyntasticChecker.getVersion(...) abort " {{{2
- if !exists('self._version')
- let command = a:0 ? a:1 : self.getExecEscaped() . ' --version'
- let version_output = syntastic#util#system(command)
- call self.log('getVersion: ' . string(command) . ': ' .
- \ string(split(version_output, "\n", 1)) .
- \ (v:shell_error ? ' (exit code ' . v:shell_error . ')' : '') )
- let parsed_ver = syntastic#util#parseVersion(version_output)
- if len(parsed_ver)
- call self.setVersion(parsed_ver)
- else
- call syntastic#log#ndebug(g:_SYNTASTIC_DEBUG_LOCLIST, 'checker output:', split(version_output, "\n", 1))
- call syntastic#log#error("checker " . self._filetype . "/" . self._name . ": can't parse version string (abnormal termination?)")
- endif
- endif
- return get(self, '_version', [])
-endfunction " }}}2
-
-function! g:SyntasticChecker.setVersion(version) abort " {{{2
- if len(a:version)
- let self._version = copy(a:version)
- call self.log(self.getExec() . ' version =', a:version)
- endif
-endfunction " }}}2
-
-function! g:SyntasticChecker.log(msg, ...) abort " {{{2
- let leader = self._filetype . '/' . self._name . ': '
- if a:0 > 0
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, leader . a:msg, a:1)
- else
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_CHECKERS, leader . a:msg)
- endif
-endfunction " }}}2
-
-function! g:SyntasticChecker.makeprgBuild(opts) abort " {{{2
- let basename = self._filetype . '_' . self._name . '_'
-
- let parts = []
- call extend(parts, self._getOpt(a:opts, basename, 'exe', self.getExecEscaped()))
- call extend(parts, self._getOpt(a:opts, basename, 'args', ''))
- call extend(parts, self._getOpt(a:opts, basename, 'fname', syntastic#util#shexpand('%')))
- call extend(parts, self._getOpt(a:opts, basename, 'post_args', ''))
- call extend(parts, self._getOpt(a:opts, basename, 'tail', ''))
-
- return join(parts)
-endfunction " }}}2
-
-function! g:SyntasticChecker.isAvailable() abort " {{{2
- call self.syncExec()
- if !has_key(self, '_available')
- let self._available = self._isAvailableFunc()
- endif
- return self._available
-endfunction " }}}2
-
-function! g:SyntasticChecker.isDisabled() abort " {{{2
- return has_key(self, '_enable') && syntastic#util#var(self._enable, -1) <= 0
-endfunction " }}}2
-
-function! g:SyntasticChecker.wantSort() abort " {{{2
- return syntastic#util#var(self._filetype . '_' . self._name . '_sort', 0)
-endfunction " }}}2
-
-" This method is no longer used by syntastic. It's here only to maintain
-" backwards compatibility with external checkers which might depend on it.
-function! g:SyntasticChecker.setWantSort(val) abort " {{{2
- if !exists('g:syntastic_' . self._filetype . '_' . self._name . '_sort')
- let g:syntastic_{self._filetype}_{self._name}_sort = a:val
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Private methods {{{1
-
-function! g:SyntasticChecker._quietMessages(errors) abort " {{{2
- " wildcard quiet_messages
- let quiet_filters = copy(syntastic#util#var('quiet_messages', {}))
- if type(quiet_filters) != type({})
- call syntastic#log#warn('ignoring invalid syntastic_quiet_messages')
- unlet quiet_filters
- let quiet_filters = {}
- endif
-
- " per checker quiet_messages
- let name = self._filetype . '_' . self._name
- try
- call extend( quiet_filters, copy(syntastic#util#var(name . '_quiet_messages', {})), 'force' )
- catch /\m^Vim\%((\a\+)\)\=:E712/
- call syntastic#log#warn('ignoring invalid syntastic_' . name . '_quiet_messages')
- endtry
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'quiet_messages filter:', quiet_filters)
-
- if !empty(quiet_filters)
- call syntastic#util#dictFilter(a:errors, quiet_filters)
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_LOCLIST, 'filtered by quiet_messages:', a:errors)
- endif
-endfunction " }}}2
-
-function! g:SyntasticChecker._populateHighlightRegexes(errors) abort " {{{2
- if has_key(self, '_highlightRegexFunc')
- for e in a:errors
- if e['valid']
- let term = self._highlightRegexFunc(e)
- if term !=# ''
- let e['hl'] = term
- endif
- endif
- endfor
- endif
-endfunction " }}}2
-
-function! g:SyntasticChecker._getOpt(opts, basename, name, default) abort " {{{2
- let ret = []
- call extend( ret, syntastic#util#argsescape(get(a:opts, a:name . '_before', '')) )
- call extend( ret, syntastic#util#argsescape(syntastic#util#var( a:basename . a:name, get(a:opts, a:name, a:default) )) )
- call extend( ret, syntastic#util#argsescape(get(a:opts, a:name . '_after', '')) )
-
- return ret
-endfunction " }}}2
-
-" }}}1
-
-" Private functions {{{1
-
-function! s:_isAvailableDefault() dict " {{{2
- return executable(self.getExec())
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/cursor.vim b/sources_non_forked/syntastic/plugin/syntastic/cursor.vim
deleted file mode 100644
index f59d87b6..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/cursor.vim
+++ /dev/null
@@ -1,138 +0,0 @@
-if exists('g:loaded_syntastic_notifier_cursor') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifier_cursor = 1
-
-let g:SyntasticCursorNotifier = {}
-
-" Public methods {{{1
-
-function! g:SyntasticCursorNotifier.New() abort " {{{2
- let newObj = copy(self)
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticCursorNotifier.enabled() abort " {{{2
- return syntastic#util#var('echo_current_error')
-endfunction " }}}2
-
-function! g:SyntasticCursorNotifier.refresh(loclist) abort " {{{2
- if self.enabled() && !a:loclist.isEmpty()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'cursor: refresh')
- let b:syntastic_private_messages = copy(a:loclist.messages(bufnr('')))
- let b:syntastic_private_line = -1
- let b:syntastic_cursor_columns = a:loclist.getCursorColumns()
- autocmd! syntastic CursorMoved
- autocmd syntastic CursorMoved * call SyntasticRefreshCursor()
- endif
-endfunction " }}}2
-
-" @vimlint(EVL103, 1, a:loclist)
-function! g:SyntasticCursorNotifier.reset(loclist) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'cursor: reset')
- autocmd! syntastic CursorMoved
- unlet! b:syntastic_private_messages
- let b:syntastic_private_line = -1
-endfunction " }}}2
-" @vimlint(EVL103, 0, a:loclist)
-
-" }}}1
-
-" Private functions {{{1
-
-function! SyntasticRefreshCursor() abort " {{{2
- if !exists('b:syntastic_private_messages') || empty(b:syntastic_private_messages)
- " file not checked
- return
- endif
-
- if !exists('b:syntastic_private_line')
- let b:syntastic_private_line = -1
- endif
- let l = line('.')
- let current_messages = get(b:syntastic_private_messages, l, {})
-
- if !exists('b:syntastic_cursor_columns')
- let b:syntastic_cursor_columns = g:syntastic_cursor_columns
- endif
-
- if b:syntastic_cursor_columns
- let c = virtcol('.')
- if !exists('b:syntastic_private_idx')
- let b:syntastic_private_idx = -1
- endif
-
- if s:_is_same_index(l, b:syntastic_private_line, c, b:syntastic_private_idx, current_messages)
- return
- else
- let b:syntastic_private_line = l
- endif
-
- if !empty(current_messages)
- let b:syntastic_private_idx = s:_find_index(c, current_messages)
- call syntastic#util#wideMsg(current_messages[b:syntastic_private_idx].text)
- else
- let b:syntastic_private_idx = -1
- echo
- endif
- else
- if l == b:syntastic_private_line
- return
- endif
- let b:syntastic_private_line = l
-
- if !empty(current_messages)
- call syntastic#util#wideMsg(current_messages[0].text)
- else
- echo
- endif
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Utilities {{{1
-
-function! s:_is_same_index(line, old_line, column, idx, messages) abort " {{{2
- if a:old_line >= 0 && a:line == a:old_line && a:idx >= 0
- if len(a:messages) <= 1
- return 1
- endif
-
- if a:messages[a:idx].scol <= a:column || a:idx == 0
- if a:idx == len(a:messages) - 1 || a:column < a:messages[a:idx + 1].scol
- return 1
- else
- return 0
- endif
- else
- return 0
- endif
- else
- return 0
- endif
-endfunction " }}}2
-
-function! s:_find_index(column, messages) abort " {{{2
- let max = len(a:messages) - 1
- if max == 0
- return 0
- endif
- let min = 0
-
- " modified binary search: assign index 0 to columns to the left of the first error
- while min < max - 1
- let mid = (min + max) / 2
- if a:column < a:messages[mid].scol
- let max = mid
- else
- let min = mid
- endif
- endwhile
-
- return a:column < a:messages[max].scol ? min : max
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/highlighting.vim b/sources_non_forked/syntastic/plugin/syntastic/highlighting.vim
deleted file mode 100644
index a9e1a080..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/highlighting.vim
+++ /dev/null
@@ -1,104 +0,0 @@
-if exists('g:loaded_syntastic_notifier_highlighting') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifier_highlighting = 1
-
-" Highlighting requires getmatches introduced in 7.1.040
-let s:has_highlighting = v:version > 701 || (v:version == 701 && has('patch040'))
-lockvar s:has_highlighting
-
-let g:SyntasticHighlightingNotifier = {}
-
-let s:setup_done = 0
-
-" Public methods {{{1
-
-function! g:SyntasticHighlightingNotifier.New() abort " {{{2
- let newObj = copy(self)
-
- if !s:setup_done
- call self._setup()
- let s:setup_done = 1
- lockvar s:setup_done
- endif
-
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticHighlightingNotifier.enabled() abort " {{{2
- return s:has_highlighting && syntastic#util#var('enable_highlighting')
-endfunction " }}}2
-
-" Sets error highlights in the current window
-function! g:SyntasticHighlightingNotifier.refresh(loclist) abort " {{{2
- if self.enabled()
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'highlighting: refresh')
- call self._reset()
- let buf = bufnr('')
- let issues = filter(a:loclist.copyRaw(), 'v:val["bufnr"] == buf')
- for item in issues
- let group = 'Syntastic' . get(item, 'subtype', '') . ( item['type'] ==? 'E' ? 'Error' : 'Warning' )
-
- " The function `Syntastic_{filetype}_{checker}_GetHighlightRegex` is
- " used to override default highlighting.
- if has_key(item, 'hl')
- call matchadd(group, '\%' . item['lnum'] . 'l' . item['hl'])
- elseif get(item, 'col', 0)
- if get(item, 'vcol', 0)
- let lastcol = virtcol([item['lnum'], '$'])
- let coltype = 'v'
- else
- let lastcol = col([item['lnum'], '$'])
- let coltype = 'c'
- endif
- let lcol = min([lastcol, item['col']])
-
- call matchadd(group, '\%' . item['lnum'] . 'l\%' . lcol . coltype)
- endif
- endfor
- endif
-endfunction " }}}2
-
-" Remove all error highlights from the window
-" @vimlint(EVL103, 1, a:loclist)
-function! g:SyntasticHighlightingNotifier.reset(loclist) abort " {{{2
- if s:has_highlighting
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'highlighting: reset')
- call self._reset()
- endif
-endfunction " }}}2
-" @vimlint(EVL103, 0, a:loclist)
-
-" }}}1
-
-" Private methods {{{1
-
-" One time setup: define our own highlighting
-function! g:SyntasticHighlightingNotifier._setup() abort " {{{2
- if s:has_highlighting
- if !hlexists('SyntasticError')
- highlight link SyntasticError SpellBad
- endif
- if !hlexists('SyntasticWarning')
- highlight link SyntasticWarning SpellCap
- endif
- if !hlexists('SyntasticStyleError')
- highlight link SyntasticStyleError SyntasticError
- endif
- if !hlexists('SyntasticStyleWarning')
- highlight link SyntasticStyleWarning SyntasticWarning
- endif
- endif
-endfunction " }}}2
-
-function! g:SyntasticHighlightingNotifier._reset() abort " {{{2
- for match in getmatches()
- if stridx(match['group'], 'Syntastic') == 0
- call matchdelete(match['id'])
- endif
- endfor
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/loclist.vim b/sources_non_forked/syntastic/plugin/syntastic/loclist.vim
deleted file mode 100644
index 3e9528b5..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/loclist.vim
+++ /dev/null
@@ -1,439 +0,0 @@
-if exists('g:loaded_syntastic_loclist') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_loclist = 1
-
-let g:SyntasticLoclist = {}
-
-" Public methods {{{1
-
-function! g:SyntasticLoclist.New(rawLoclist) abort " {{{2
- let newObj = copy(self)
-
- let llist = filter(copy(a:rawLoclist), 'v:val["valid"] == 1')
-
- for e in llist
- if get(e, 'type', '') ==# ''
- let e['type'] = 'E'
- endif
- endfor
-
- let newObj._rawLoclist = llist
- let newObj._name = ''
- let newObj._owner = bufnr('')
- let newObj._sorted = 0
- let newObj._columns = g:syntastic_cursor_columns
-
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticLoclist.current() abort " {{{2
- if !exists('b:syntastic_loclist') || empty(b:syntastic_loclist)
- let b:syntastic_loclist = g:SyntasticLoclist.New([])
- endif
- return b:syntastic_loclist
-endfunction " }}}2
-
-function! g:SyntasticLoclist.extend(other) abort " {{{2
- let list = self.copyRaw()
- call extend(list, a:other.copyRaw())
- return g:SyntasticLoclist.New(list)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.sort() abort " {{{2
- if !self._sorted
- for e in self._rawLoclist
- call s:_set_screen_column(e)
- endfor
-
- call sort(self._rawLoclist, self._columns ? 's:_compare_error_items_by_columns' : 's:_compare_error_items_by_lines')
-
- let self._sorted = 1
- endif
-endfunction " }}}2
-
-function! g:SyntasticLoclist.isEmpty() abort " {{{2
- return empty(self._rawLoclist)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.isNewerThan(stamp) abort " {{{2
- if !exists('self._stamp')
- let self._stamp = []
- return 0
- endif
- return syntastic#util#compareLexi(self._stamp, a:stamp) > 0
-endfunction " }}}2
-
-function! g:SyntasticLoclist.copyRaw() abort " {{{2
- return copy(self._rawLoclist)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getRaw() abort " {{{2
- return self._rawLoclist
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getBuffers() abort " {{{2
- return syntastic#util#unique(map(copy(self._rawLoclist), 'str2nr(v:val["bufnr"])') + [self._owner])
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getCursorColumns() abort " {{{2
- return self._columns
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getStatuslineFlag() abort " {{{2
- if !exists('self._stl_format')
- let self._stl_format = ''
- endif
- if !exists('self._stl_flag')
- let self._stl_flag = ''
- endif
-
- if g:syntastic_stl_format !=# self._stl_format
- let self._stl_format = g:syntastic_stl_format
-
- if !empty(self._rawLoclist)
- let errors = self.errors()
- let warnings = self.warnings()
-
- let num_errors = len(errors)
- let num_warnings = len(warnings)
- let num_issues = len(self._rawLoclist)
-
- let output = self._stl_format
-
- "hide stuff wrapped in %E(...) unless there are errors
- let output = substitute(output, '\m\C%E{\([^}]*\)}', num_errors ? '\1' : '' , 'g')
-
- "hide stuff wrapped in %W(...) unless there are warnings
- let output = substitute(output, '\m\C%W{\([^}]*\)}', num_warnings ? '\1' : '' , 'g')
-
- "hide stuff wrapped in %B(...) unless there are both errors and warnings
- let output = substitute(output, '\m\C%B{\([^}]*\)}', (num_warnings && num_errors) ? '\1' : '' , 'g')
-
- let flags = {
- \ '%': '%',
- \ 't': num_issues,
- \ 'e': num_errors,
- \ 'w': num_warnings,
- \ 'N': (num_issues ? fnamemodify( bufname(self._rawLoclist[0]['bufnr']), ':t') : ''),
- \ 'P': (num_issues ? fnamemodify( bufname(self._rawLoclist[0]['bufnr']), ':p:~:.') : ''),
- \ 'F': (num_issues ? self._rawLoclist[0]['lnum'] : ''),
- \ 'ne': (num_errors ? fnamemodify( bufname(errors[0]['bufnr']), ':t') : ''),
- \ 'pe': (num_errors ? fnamemodify( bufname(errors[0]['bufnr']), ':p:~:.') : ''),
- \ 'fe': (num_errors ? errors[0]['lnum'] : ''),
- \ 'nw': (num_warnings ? fnamemodify( bufname(warnings[0]['bufnr']), ':t') : ''),
- \ 'pw': (num_warnings ? fnamemodify( bufname(warnings[0]['bufnr']), ':p:~:.') : ''),
- \ 'fw': (num_warnings ? warnings[0]['lnum'] : '') }
- let output = substitute(output, '\v\C\%(-?\d*%(\.\d+)?)([npf][ew]|[NPFtew%])', '\=syntastic#util#wformat(submatch(1), flags[submatch(2)])', 'g')
-
- let self._stl_flag = output
- else
- let self._stl_flag = ''
- endif
- endif
-
- return self._stl_flag
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getFirstError(...) abort " {{{2
- let max_issues = len(self._rawLoclist)
- if a:0 && a:1 < max_issues
- let max_issues = a:1
- endif
-
- for idx in range(max_issues)
- if get(self._rawLoclist[idx], 'type', '') ==? 'E'
- return idx + 1
- endif
- endfor
-
- return 0
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getName() abort " {{{2
- return len(self._name)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.setName(name) abort " {{{2
- let self._name = a:name
-endfunction " }}}2
-
-function! g:SyntasticLoclist.getOwner() abort " {{{2
- return self._owner
-endfunction " }}}2
-
-function! g:SyntasticLoclist.setOwner(buffer) abort " {{{2
- let self._owner = type(a:buffer) == type(0) ? a:buffer : str2nr(a:buffer)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.deploy() abort " {{{2
- call self.setOwner(bufnr(''))
- let self._stamp = syntastic#util#stamp()
- for buf in self.getBuffers()
- call setbufvar(buf, 'syntastic_loclist', self)
- endfor
-endfunction " }}}2
-
-function! g:SyntasticLoclist.destroy() abort " {{{2
- for buf in self.getBuffers()
- call setbufvar(buf, 'syntastic_loclist', {})
- endfor
-endfunction " }}}2
-
-function! g:SyntasticLoclist.decorate(tag) abort " {{{2
- for e in self._rawLoclist
- let e['text'] .= ' [' . a:tag . ']'
- endfor
-endfunction " }}}2
-
-function! g:SyntasticLoclist.balloons() abort " {{{2
- if !exists('self._cachedBalloons')
- let sep = has('balloon_multiline') ? "\n" : ' | '
-
- let self._cachedBalloons = {}
- for e in self._rawLoclist
- let buf = e['bufnr']
-
- if !has_key(self._cachedBalloons, buf)
- let self._cachedBalloons[buf] = {}
- endif
-
- if has_key(self._cachedBalloons[buf], e['lnum'])
- let self._cachedBalloons[buf][e['lnum']] .= sep . e['text']
- else
- let self._cachedBalloons[buf][e['lnum']] = e['text']
- endif
- endfor
- endif
-
- return get(self._cachedBalloons, bufnr(''), {})
-endfunction " }}}2
-
-function! g:SyntasticLoclist.errors() abort " {{{2
- if !exists('self._cachedErrors')
- let self._cachedErrors = self.filter({'type': 'E'})
- endif
- return self._cachedErrors
-endfunction " }}}2
-
-function! g:SyntasticLoclist.warnings() abort " {{{2
- if !exists('self._cachedWarnings')
- let self._cachedWarnings = self.filter({'type': 'W'})
- endif
- return self._cachedWarnings
-endfunction " }}}2
-
-" Legacy function. Syntastic no longer calls it, but we keep it
-" around because other plugins (f.i. powerline) depend on it.
-function! g:SyntasticLoclist.hasErrorsOrWarningsToDisplay() abort " {{{2
- return !self.isEmpty()
-endfunction " }}}2
-
-" cache used by EchoCurrentError()
-function! g:SyntasticLoclist.messages(buf) abort " {{{2
- if !exists('self._cachedMessages')
- let self._cachedMessages = {}
-
- let errors = self.errors() + self.warnings()
- for e in errors
- let b = e['bufnr']
- let l = e['lnum']
-
- if !has_key(self._cachedMessages, b)
- let self._cachedMessages[b] = {}
- endif
-
- if !has_key(self._cachedMessages[b], l)
- let self._cachedMessages[b][l] = [e]
- elseif self._columns
- call add(self._cachedMessages[b][l], e)
- endif
- endfor
-
- if self._columns
- if !self._sorted
- for b in keys(self._cachedMessages)
- for l in keys(self._cachedMessages[b])
- if len(self._cachedMessages[b][l]) > 1
- for e in self._cachedMessages[b][l]
- call s:_set_screen_column(e)
- endfor
- call sort(self._cachedMessages[b][l], 's:_compare_error_items_by_columns')
- endif
- endfor
- endfor
- endif
-
- for b in keys(self._cachedMessages)
- for l in keys(self._cachedMessages[b])
- call s:_remove_shadowed_items(self._cachedMessages[b][l])
- endfor
- endfor
- endif
- endif
-
- return get(self._cachedMessages, a:buf, {})
-endfunction " }}}2
-
-"Filter the list and return new native loclist
-"e.g.
-" .filter({'bufnr': 10, 'type': 'e'})
-"
-"would return all errors for buffer 10.
-"
-"Note that all comparisons are done with ==?
-function! g:SyntasticLoclist.filter(filters) abort " {{{2
- let conditions = values(map(copy(a:filters), 's:_translate(v:key, v:val)'))
- let filter = len(conditions) == 1 ?
- \ conditions[0] : join(map(conditions, '"(" . v:val . ")"'), ' && ')
- return filter(copy(self._rawLoclist), filter)
-endfunction " }}}2
-
-function! g:SyntasticLoclist.setloclist() abort " {{{2
- if !exists('w:syntastic_loclist_set')
- let w:syntastic_loclist_set = []
- endif
- if empty(w:syntastic_loclist_set) || w:syntastic_loclist_set != [bufnr(''), b:changedtick]
- let replace = g:syntastic_reuse_loc_lists && !empty(w:syntastic_loclist_set)
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'loclist: setloclist ' . (replace ? '(replace)' : '(new)'))
- call setloclist(0, self.getRaw(), replace ? 'r' : ' ')
- call syntastic#util#setChangedtick()
- let w:syntastic_loclist_set = [bufnr(''), b:syntastic_changedtick]
- endif
-endfunction " }}}2
-
-"display the cached errors for this buf in the location list
-function! g:SyntasticLoclist.show() abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'loclist: show')
- call self.setloclist()
-
- if !self.isEmpty()
- let num = winnr()
- execute 'lopen ' . syntastic#util#var('loc_list_height')
- if num != winnr()
- execute num . 'wincmd w'
- endif
-
- " try to find the loclist window and set w:quickfix_title
- let errors = getloclist(0)
- for buf in tabpagebuflist()
- if buflisted(buf) && bufloaded(buf) && getbufvar(buf, '&buftype') ==# 'quickfix'
- let win = bufwinnr(buf)
- let title = getwinvar(win, 'quickfix_title')
-
- " TODO: try to make sure we actually own this window; sadly,
- " errors == getloclist(0) is the only somewhat safe way to
- " achieve that
- if strpart(title, 0, 16) ==# ':SyntasticCheck ' ||
- \ ( (title ==# '' || title ==# ':setloclist()') && errors == getloclist(0) )
- call setwinvar(win, 'quickfix_title', ':SyntasticCheck ' . self._name)
- call setbufvar(buf, 'syntastic_owner_buffer', self._owner)
- endif
- endif
- endfor
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Public functions {{{1
-
-function! SyntasticLoclistHide() abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'loclist: hide')
- silent! lclose
-endfunction " }}}2
-
-" }}}1
-
-" Utilities {{{1
-
-function! s:_translate(key, val) abort " {{{2
- return 'get(v:val, ' . string(a:key) . ', "") ==? ' . string(a:val)
-endfunction " }}}2
-
-function! s:_set_screen_column(item) abort " {{{2
- if !has_key(a:item, 'scol')
- let col = get(a:item, 'col', 0)
- if col != 0 && get(a:item, 'vcol', 0) == 0
- let buf = str2nr(a:item['bufnr'])
- try
- let line = getbufline(buf, a:item['lnum'])[0]
- catch /\m^Vim\%((\a\+)\)\=:E684/
- let line = ''
- endtry
- let a:item['scol'] = syntastic#util#screenWidth(strpart(line, 0, col), getbufvar(buf, '&tabstop'))
- else
- let a:item['scol'] = col
- endif
- endif
-endfunction " }}}2
-
-function! s:_remove_shadowed_items(errors) abort " {{{2
- " keep only the first message at a given column
- let i = 0
- while i < len(a:errors) - 1
- let j = i + 1
- let dupes = 0
- while j < len(a:errors) && a:errors[j].scol == a:errors[i].scol
- let dupes = 1
- let j += 1
- endwhile
- if dupes
- call remove(a:errors, i + 1, j - 1)
- endif
- let i += 1
- endwhile
-
- " merge messages with the same text
- let i = 0
- while i < len(a:errors) - 1
- let j = i + 1
- let dupes = 0
- while j < len(a:errors) && a:errors[j].text == a:errors[i].text
- let dupes = 1
- let j += 1
- endwhile
- if dupes
- call remove(a:errors, i + 1, j - 1)
- endif
- let i += 1
- endwhile
-endfunction " }}}2
-
-function! s:_compare_error_items_by_columns(a, b) abort " {{{2
- if a:a['bufnr'] != a:b['bufnr']
- " group by file
- return a:a['bufnr'] - a:b['bufnr']
- elseif a:a['lnum'] != a:b['lnum']
- " sort by line
- return a:a['lnum'] - a:b['lnum']
- elseif a:a['scol'] != a:b['scol']
- " sort by screen column
- return a:a['scol'] - a:b['scol']
- elseif a:a['type'] !=? a:b['type']
- " errors take precedence over warnings
- return a:a['type'] ==? 'E' ? -1 : 1
- else
- return 0
- endif
-endfunction " }}}2
-
-function! s:_compare_error_items_by_lines(a, b) abort " {{{2
- if a:a['bufnr'] != a:b['bufnr']
- " group by file
- return a:a['bufnr'] - a:b['bufnr']
- elseif a:a['lnum'] != a:b['lnum']
- " sort by line
- return a:a['lnum'] - a:b['lnum']
- elseif a:a['type'] !=? a:b['type']
- " errors take precedence over warnings
- return a:a['type'] ==? 'E' ? -1 : 1
- else
- " sort by screen column
- return a:a['scol'] - a:b['scol']
- endif
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/modemap.vim b/sources_non_forked/syntastic/plugin/syntastic/modemap.vim
deleted file mode 100644
index 501c82b7..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/modemap.vim
+++ /dev/null
@@ -1,117 +0,0 @@
-if exists('g:loaded_syntastic_modemap') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_modemap = 1
-
-let g:SyntasticModeMap = {}
-
-" Public methods {{{1
-
-function! g:SyntasticModeMap.Instance() abort " {{{2
- if !exists('s:SyntasticModeMapInstance')
- let s:SyntasticModeMapInstance = copy(self)
- call s:SyntasticModeMapInstance.synch()
- endif
-
- return s:SyntasticModeMapInstance
-endfunction " }}}2
-
-function! g:SyntasticModeMap.synch() abort " {{{2
- if exists('g:syntastic_mode_map')
- let self._mode = get(g:syntastic_mode_map, 'mode', 'active')
- let self._activeFiletypes = copy(get(g:syntastic_mode_map, 'active_filetypes', []))
- let self._passiveFiletypes = copy(get(g:syntastic_mode_map, 'passive_filetypes', []))
- else
- let self._mode = 'active'
- let self._activeFiletypes = []
- let self._passiveFiletypes = []
- endif
-endfunction " }}}2
-
-function! g:SyntasticModeMap.allowsAutoChecking(filetype) abort " {{{2
- let fts = split(a:filetype, '\m\.')
-
- if self.isPassive()
- return self._isOneFiletypeActive(fts)
- else
- return self._noFiletypesArePassive(fts)
- endif
-endfunction " }}}2
-
-function! g:SyntasticModeMap.doAutoChecking() abort " {{{2
- let local_mode = get(b:, 'syntastic_mode', '')
- if local_mode ==# 'active' || local_mode ==# 'passive'
- return local_mode ==# 'active'
- endif
-
- return self.allowsAutoChecking(&filetype)
-endfunction " }}}2
-
-function! g:SyntasticModeMap.isPassive() abort " {{{2
- return self._mode ==# 'passive'
-endfunction " }}}2
-
-function! g:SyntasticModeMap.toggleMode() abort " {{{2
- call self.synch()
-
- if self._mode ==# 'active'
- let self._mode = 'passive'
- else
- let self._mode = 'active'
- endif
-
- "XXX Changing a global variable. Tsk, tsk...
- if !exists('g:syntastic_mode_map')
- let g:syntastic_mode_map = {}
- endif
- let g:syntastic_mode_map['mode'] = self._mode
-endfunction " }}}2
-
-function! g:SyntasticModeMap.echoMode() abort " {{{2
- echo 'Syntastic: ' . self._mode . ' mode enabled'
-endfunction " }}}2
-
-function! g:SyntasticModeMap.modeInfo(filetypes) abort " {{{2
- echomsg 'Syntastic version: ' . g:_SYNTASTIC_VERSION . ' (Vim ' . v:version . ', ' . g:_SYNTASTIC_UNAME . ')'
- let type = len(a:filetypes) ? a:filetypes[0] : &filetype
- echomsg 'Info for filetype: ' . type
-
- call self.synch()
- echomsg 'Global mode: ' . self._mode
- if self._mode ==# 'active'
- if len(self._passiveFiletypes)
- let plural = len(self._passiveFiletypes) != 1 ? 's' : ''
- echomsg 'Passive filetype' . plural . ': ' . join(sort(copy(self._passiveFiletypes)))
- endif
- else
- if len(self._activeFiletypes)
- let plural = len(self._activeFiletypes) != 1 ? 's' : ''
- echomsg 'Active filetype' . plural . ': ' . join(sort(copy(self._activeFiletypes)))
- endif
- endif
- echomsg 'Filetype ' . type . ' is ' . (self.allowsAutoChecking(type) ? 'active' : 'passive')
-
- if !len(a:filetypes)
- if exists('b:syntastic_mode') && (b:syntastic_mode ==# 'active' || b:syntastic_mode ==# 'passive')
- echomsg 'Local mode: ' . b:syntastic_mode
- endif
-
- echomsg 'The current file will ' . (self.doAutoChecking() ? '' : 'not ') . 'be checked automatically'
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Private methods {{{1
-
-function! g:SyntasticModeMap._isOneFiletypeActive(filetypes) abort " {{{2
- return !empty(filter(copy(a:filetypes), 'index(self._activeFiletypes, v:val) != -1'))
-endfunction " }}}2
-
-function! g:SyntasticModeMap._noFiletypesArePassive(filetypes) abort " {{{2
- return empty(filter(copy(a:filetypes), 'index(self._passiveFiletypes, v:val) != -1'))
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/notifiers.vim b/sources_non_forked/syntastic/plugin/syntastic/notifiers.vim
deleted file mode 100644
index fe158ca1..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/notifiers.vim
+++ /dev/null
@@ -1,86 +0,0 @@
-if exists('g:loaded_syntastic_notifiers') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifiers = 1
-
-let g:SyntasticNotifiers = {}
-
-let s:_NOTIFIER_TYPES = ['signs', 'balloons', 'highlighting', 'cursor', 'autoloclist']
-lockvar! s:_NOTIFIER_TYPES
-
-let s:_PERSISTENT_NOTIFIERS = ['signs', 'balloons']
-lockvar! s:_PERSISTENT_NOTIFIERS
-
-" Public methods {{{1
-
-function! g:SyntasticNotifiers.Instance() abort " {{{2
- if !exists('s:SyntasticNotifiersInstance')
- let s:SyntasticNotifiersInstance = copy(self)
- call s:SyntasticNotifiersInstance._initNotifiers()
- endif
-
- return s:SyntasticNotifiersInstance
-endfunction " }}}2
-
-function! g:SyntasticNotifiers.refresh(loclist) abort " {{{2
- if !a:loclist.isEmpty() && !a:loclist.isNewerThan([])
- " loclist not fully constructed yet
- return
- endif
-
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'notifiers: refresh')
- for type in self._enabled_types
- let class = substitute(type, '\m.*', 'Syntastic\u&Notifier', '')
- if !has_key(g:{class}, 'enabled') || self._notifier[type].enabled()
- if index(s:_PERSISTENT_NOTIFIERS, type) > -1
- " refresh only if loclist has changed since last call
- if !exists('b:syntastic_private_' . type . '_stamp')
- let b:syntastic_private_{type}_stamp = []
- endif
- if a:loclist.isNewerThan(b:syntastic_private_{type}_stamp) || a:loclist.isEmpty()
- call self._notifier[type].refresh(a:loclist)
- let b:syntastic_private_{type}_stamp = syntastic#util#stamp()
- endif
- else
- call self._notifier[type].refresh(a:loclist)
- endif
- endif
- endfor
-endfunction " }}}2
-
-function! g:SyntasticNotifiers.reset(loclist) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'notifiers: reset')
- for type in self._enabled_types
- let class = substitute(type, '\m.*', 'Syntastic\u&Notifier', '')
-
- " reset notifiers regardless if they are enabled or not, since
- " the user might have disabled them since the last refresh();
- " notifiers MUST be prepared to deal with reset() when disabled
- if has_key(g:{class}, 'reset')
- call self._notifier[type].reset(a:loclist)
- endif
-
- " also reset stamps
- if index(s:_PERSISTENT_NOTIFIERS, type) > -1
- let b:syntastic_private_{type}_stamp = []
- endif
- endfor
-endfunction " }}}2
-
-" }}}1
-
-" Private methods {{{1
-
-function! g:SyntasticNotifiers._initNotifiers() abort " {{{2
- let self._notifier = {}
- for type in s:_NOTIFIER_TYPES
- let class = substitute(type, '\m.*', 'Syntastic\u&Notifier', '')
- let self._notifier[type] = g:{class}.New()
- endfor
-
- let self._enabled_types = copy(s:_NOTIFIER_TYPES)
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/registry.vim b/sources_non_forked/syntastic/plugin/syntastic/registry.vim
deleted file mode 100644
index f97f7a2d..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/registry.vim
+++ /dev/null
@@ -1,372 +0,0 @@
-if exists('g:loaded_syntastic_registry') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_registry = 1
-
-" Initialisation {{{1
-
-let s:_DEFAULT_CHECKERS = {
- \ 'actionscript': ['mxmlc'],
- \ 'ada': ['gcc'],
- \ 'ansible': ['ansible_lint'],
- \ 'apiblueprint': ['drafter'],
- \ 'applescript': ['osacompile'],
- \ 'asciidoc': ['asciidoc'],
- \ 'asm': ['gcc'],
- \ 'bro': ['bro'],
- \ 'bemhtml': ['bemhtmllint'],
- \ 'c': ['gcc'],
- \ 'cabal': ['cabal'],
- \ 'chef': ['foodcritic'],
- \ 'co': ['coco'],
- \ 'cobol': ['cobc'],
- \ 'coffee': ['coffee', 'coffeelint'],
- \ 'coq': ['coqtop'],
- \ 'cpp': ['gcc'],
- \ 'cs': ['mcs'],
- \ 'css': ['csslint'],
- \ 'cucumber': ['cucumber'],
- \ 'cuda': ['nvcc'],
- \ 'd': ['dmd'],
- \ 'dart': ['dartanalyzer'],
- \ 'docbk': ['xmllint'],
- \ 'dockerfile': ['dockerfile_lint'],
- \ 'dustjs': ['swiffer'],
- \ 'elixir': [],
- \ 'erlang': ['escript'],
- \ 'eruby': ['ruby'],
- \ 'fortran': ['gfortran'],
- \ 'glsl': ['cgc'],
- \ 'go': ['go'],
- \ 'haml': ['haml'],
- \ 'handlebars': ['handlebars'],
- \ 'haskell': ['hdevtools', 'hlint'],
- \ 'haxe': ['haxe'],
- \ 'hss': ['hss'],
- \ 'html': ['tidy'],
- \ 'jade': ['jade_lint'],
- \ 'java': ['javac'],
- \ 'javascript': ['jshint', 'jslint'],
- \ 'json': ['jsonlint', 'jsonval'],
- \ 'less': ['lessc'],
- \ 'lex': ['flex'],
- \ 'limbo': ['limbo'],
- \ 'lisp': ['clisp'],
- \ 'llvm': ['llvm'],
- \ 'lua': ['luac'],
- \ 'markdown': ['mdl'],
- \ 'matlab': ['mlint'],
- \ 'mercury': ['mmc'],
- \ 'nasm': ['nasm'],
- \ 'nix': ['nix'],
- \ 'nroff': ['mandoc'],
- \ 'objc': ['gcc'],
- \ 'objcpp': ['gcc'],
- \ 'ocaml': ['camlp4o'],
- \ 'perl': ['perlcritic'],
- \ 'php': ['php', 'phpcs', 'phpmd'],
- \ 'po': ['msgfmt'],
- \ 'pod': ['podchecker'],
- \ 'puppet': ['puppet', 'puppetlint'],
- \ 'pug': ['pug_lint'],
- \ 'python': ['python', 'flake8', 'pylint'],
- \ 'qml': ['qmllint'],
- \ 'r': [],
- \ 'rmd': [],
- \ 'racket': ['racket'],
- \ 'rnc': ['rnv'],
- \ 'rst': ['rst2pseudoxml'],
- \ 'ruby': ['mri'],
- \ 'sass': ['sass'],
- \ 'scala': ['fsc', 'scalac'],
- \ 'scss': ['sass', 'scss_lint'],
- \ 'sh': ['sh', 'shellcheck'],
- \ 'slim': ['slimrb'],
- \ 'sml': ['smlnj'],
- \ 'spec': ['rpmlint'],
- \ 'sql': ['sqlint'],
- \ 'stylus': ['stylint'],
- \ 'tcl': ['nagelfar'],
- \ 'tex': ['lacheck', 'chktex'],
- \ 'texinfo': ['makeinfo'],
- \ 'text': [],
- \ 'twig': ['twiglint'],
- \ 'typescript': ['tsc'],
- \ 'vala': ['valac'],
- \ 'verilog': ['verilator'],
- \ 'vhdl': ['ghdl'],
- \ 'vim': ['vimlint'],
- \ 'xhtml': ['tidy'],
- \ 'xml': ['xmllint'],
- \ 'xslt': ['xmllint'],
- \ 'xquery': ['basex'],
- \ 'yacc': ['bison'],
- \ 'yaml': ['jsyaml'],
- \ 'z80': ['z80syntaxchecker'],
- \ 'zpt': ['zptlint'],
- \ 'zsh': ['zsh'],
- \ }
-lockvar! s:_DEFAULT_CHECKERS
-
-let s:_DEFAULT_FILETYPE_MAP = {
- \ 'gentoo-metadata': 'xml',
- \ 'groff': 'nroff',
- \ 'lhaskell': 'haskell',
- \ 'litcoffee': 'coffee',
- \ 'mail': 'text',
- \ 'mkd': 'markdown',
- \ 'pe-puppet': 'puppet',
- \ 'sgml': 'docbk',
- \ 'sgmllnx': 'docbk',
- \ }
-lockvar! s:_DEFAULT_FILETYPE_MAP
-
-let s:_ECLIM_TYPES = [
- \ 'c',
- \ 'cpp',
- \ 'html',
- \ 'java',
- \ 'php',
- \ 'python',
- \ 'ruby',
- \ ]
-lockvar! s:_ECLIM_TYPES
-
-let s:_YCM_TYPES = [
- \ 'c',
- \ 'cpp',
- \ 'objc',
- \ 'objcpp',
- \ ]
-lockvar! s:_YCM_TYPES
-
-let g:SyntasticRegistry = {}
-
-" }}}1
-
-" Public methods {{{1
-
-" Note: Handling of filetype aliases: all public methods take aliases as
-" parameters, all private methods take normalized filetypes. Public methods
-" are thus supposed to normalize filetypes before calling private methods.
-
-function! g:SyntasticRegistry.Instance() abort " {{{2
- if !exists('s:SyntasticRegistryInstance')
- let s:SyntasticRegistryInstance = copy(self)
- let s:SyntasticRegistryInstance._checkerMap = {}
- endif
-
- return s:SyntasticRegistryInstance
-endfunction " }}}2
-
-function! g:SyntasticRegistry.CreateAndRegisterChecker(args) abort " {{{2
- let registry = g:SyntasticRegistry.Instance()
-
- if has_key(a:args, 'redirect')
- let [ft, name] = split(a:args['redirect'], '/')
- call registry._loadCheckersFor(ft, 1)
-
- let clone = get(registry._checkerMap[ft], name, {})
- if empty(clone)
- throw 'Syntastic: Checker ' . a:args['redirect'] . ' redirects to unregistered checker ' . ft . '/' . name
- endif
-
- let checker = g:SyntasticChecker.New(a:args, clone)
- else
- let checker = g:SyntasticChecker.New(a:args)
- endif
- call registry._registerChecker(checker)
-endfunction " }}}2
-
-" Given a list of checker names hints_list, return a map name --> checker.
-" If hints_list is empty, user settings are are used instead. Checkers are
-" not checked for availability (that is, the corresponding IsAvailable() are
-" not run).
-function! g:SyntasticRegistry.getCheckers(ftalias, hints_list) abort " {{{2
- let ft = s:_normalise_filetype(a:ftalias)
- call self._loadCheckersFor(ft, 0)
-
- let checkers_map = self._checkerMap[ft]
- if empty(checkers_map)
- return []
- endif
-
- call self._checkDeprecation(ft)
-
- let names =
- \ !empty(a:hints_list) ? syntastic#util#unique(a:hints_list) :
- \ exists('b:syntastic_checkers') ? b:syntastic_checkers :
- \ exists('g:syntastic_' . ft . '_checkers') ? g:syntastic_{ft}_checkers :
- \ get(s:_DEFAULT_CHECKERS, ft, 0)
-
- return type(names) == type([]) ?
- \ self._filterCheckersByName(checkers_map, names) : [checkers_map[keys(checkers_map)[0]]]
-endfunction " }}}2
-
-" Same as getCheckers(), but keep only the available checkers. This runs the
-" corresponding IsAvailable() functions for all checkers.
-function! g:SyntasticRegistry.getCheckersAvailable(ftalias, hints_list) abort " {{{2
- return filter(self.getCheckers(a:ftalias, a:hints_list), 'v:val.isAvailable()')
-endfunction " }}}2
-
-" Same as getCheckers(), but keep only the checkers that are available and
-" disabled. This runs the corresponding IsAvailable() functions for all checkers.
-function! g:SyntasticRegistry.getCheckersDisabled(ftalias, hints_list) abort " {{{2
- return filter(self.getCheckers(a:ftalias, a:hints_list), 'v:val.isDisabled() && v:val.isAvailable()')
-endfunction " }}}2
-
-function! g:SyntasticRegistry.getKnownFiletypes() abort " {{{2
- let types = keys(s:_DEFAULT_CHECKERS)
-
- call extend(types, keys(s:_DEFAULT_FILETYPE_MAP))
-
- if exists('g:syntastic_filetype_map')
- call extend(types, keys(g:syntastic_filetype_map))
- endif
-
- if exists('g:syntastic_extra_filetypes') && type(g:syntastic_extra_filetypes) == type([])
- call extend(types, g:syntastic_extra_filetypes)
- endif
-
- return syntastic#util#unique(types)
-endfunction " }}}2
-
-function! g:SyntasticRegistry.getNamesOfAvailableCheckers(ftalias) abort " {{{2
- let ft = s:_normalise_filetype(a:ftalias)
- call self._loadCheckersFor(ft, 0)
- return keys(filter( copy(self._checkerMap[ft]), 'v:val.isAvailable()' ))
-endfunction " }}}2
-
-function! g:SyntasticRegistry.echoInfoFor(ftalias_list) abort " {{{2
- let ft_list = syntastic#util#unique(map( copy(a:ftalias_list), 's:_normalise_filetype(v:val)' ))
- if len(ft_list) != 1
- let available = []
- let active = []
- let disabled = []
-
- for ft in ft_list
- call extend(available, map( self.getNamesOfAvailableCheckers(ft), 'ft . "/" . v:val' ))
- call extend(active, map( self.getCheckersAvailable(ft, []), 'ft . "/" . v:val.getName()' ))
- call extend(disabled, map( self.getCheckersDisabled(ft, []), 'ft . "/" . v:val.getName()' ))
- endfor
- else
- let ft = ft_list[0]
- let available = self.getNamesOfAvailableCheckers(ft)
- let active = map(self.getCheckersAvailable(ft, []), 'v:val.getName()')
- let disabled = map(self.getCheckersDisabled(ft, []), 'v:val.getName()')
- endif
-
- let cnt = len(available)
- let plural = cnt != 1 ? 's' : ''
- let cklist = cnt ? join(sort(available)) : '-'
- echomsg 'Available checker' . plural . ': ' . cklist
-
- let cnt = len(active)
- let plural = cnt != 1 ? 's' : ''
- let cklist = cnt ? join(active) : '-'
- echomsg 'Currently enabled checker' . plural . ': ' . cklist
-
- let cnt = len(disabled)
- let plural = cnt != 1 ? 's' : ''
- if len(disabled)
- let cklist = join(sort(disabled))
- echomsg 'Checker' . plural . ' disabled for security reasons: ' . cklist
- endif
-
- " Eclim feels entitled to mess with syntastic's variables {{{3
- if exists(':EclimValidate') && get(g:, 'EclimFileTypeValidate', 1)
- let disabled = filter(copy(ft_list), 's:_disabled_by_eclim(v:val)')
- let cnt = len(disabled)
- if cnt
- let plural = cnt != 1 ? 's' : ''
- let cklist = join(disabled, ', ')
- echomsg 'Checkers for filetype' . plural . ' ' . cklist . ' possibly disabled by Eclim'
- endif
- endif
- " }}}3
-
- " So does YouCompleteMe {{{3
- if exists('g:loaded_youcompleteme') && get(g:, 'ycm_show_diagnostics_ui', get(g:, 'ycm_register_as_syntastic_checker', 1))
- let disabled = filter(copy(ft_list), 's:_disabled_by_ycm(v:val)')
- let cnt = len(disabled)
- if cnt
- let plural = cnt != 1 ? 's' : ''
- let cklist = join(disabled, ', ')
- echomsg 'Checkers for filetype' . plural . ' ' . cklist . ' possibly disabled by YouCompleteMe'
- endif
- endif
- " }}}3
-endfunction " }}}2
-
-" }}}1
-
-" Private methods {{{1
-
-function! g:SyntasticRegistry._registerChecker(checker) abort " {{{2
- let ft = a:checker.getFiletype()
- if !has_key(self._checkerMap, ft)
- let self._checkerMap[ft] = {}
- endif
-
- let name = a:checker.getName()
- if has_key(self._checkerMap[ft], name)
- throw 'Syntastic: Duplicate syntax checker name: ' . ft . '/' . name
- endif
-
- let self._checkerMap[ft][name] = a:checker
-endfunction " }}}2
-
-function! g:SyntasticRegistry._filterCheckersByName(checkers_map, list) abort " {{{2
- return filter( map(copy(a:list), 'get(a:checkers_map, v:val, {})'), '!empty(v:val)' )
-endfunction " }}}2
-
-function! g:SyntasticRegistry._loadCheckersFor(filetype, force) abort " {{{2
- if !a:force && has_key(self._checkerMap, a:filetype)
- return
- endif
-
- execute 'runtime! syntax_checkers/' . a:filetype . '/*.vim'
-
- if !has_key(self._checkerMap, a:filetype)
- let self._checkerMap[a:filetype] = {}
- endif
-endfunction " }}}2
-
-" Check for obsolete variable g:syntastic__checker
-function! g:SyntasticRegistry._checkDeprecation(filetype) abort " {{{2
- if exists('g:syntastic_' . a:filetype . '_checker') && !exists('g:syntastic_' . a:filetype . '_checkers')
- let g:syntastic_{a:filetype}_checkers = [g:syntastic_{a:filetype}_checker]
- call syntastic#log#oneTimeWarn('variable g:syntastic_' . a:filetype . '_checker is deprecated')
- endif
-endfunction " }}}2
-
-" }}}1
-
-" Utilities {{{1
-
-"resolve filetype aliases, and replace - with _ otherwise we cant name
-"syntax checker functions legally for filetypes like "gentoo-metadata"
-function! s:_normalise_filetype(ftalias) abort " {{{2
- let ft = get(s:_DEFAULT_FILETYPE_MAP, a:ftalias, a:ftalias)
- let ft = get(g:syntastic_filetype_map, ft, ft)
- let ft = substitute(ft, '\m-', '_', 'g')
- return ft
-endfunction " }}}2
-
-function! s:_disabled_by_eclim(filetype) abort " {{{2
- if index(s:_ECLIM_TYPES, a:filetype) >= 0
- let lang = toupper(a:filetype[0]) . a:filetype[1:]
- let ft = a:filetype !=# 'cpp' ? lang : 'C'
- return get(g:, 'Eclim' . lang . 'Validate', 1) && !get(g:, 'Eclim' . ft . 'SyntasticEnabled', 0)
- endif
-
- return 0
-endfunction " }}}2
-
-function! s:_disabled_by_ycm(filetype) abort " {{{2
- return index(s:_YCM_TYPES, a:filetype) >= 0
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/plugin/syntastic/signs.vim b/sources_non_forked/syntastic/plugin/syntastic/signs.vim
deleted file mode 100644
index e3bafa0d..00000000
--- a/sources_non_forked/syntastic/plugin/syntastic/signs.vim
+++ /dev/null
@@ -1,138 +0,0 @@
-if exists('g:loaded_syntastic_notifier_signs') || !exists('g:loaded_syntastic_plugin')
- finish
-endif
-let g:loaded_syntastic_notifier_signs = 1
-
-" Initialisation {{{1
-
-" start counting sign ids at 5000, start here to hopefully avoid conflicting
-" with any other code that places signs (not sure if this precaution is
-" actually needed)
-let s:first_sign_id = 5000
-let s:next_sign_id = s:first_sign_id
-
-let g:SyntasticSignsNotifier = {}
-
-let s:setup_done = 0
-
-" }}}1
-
-" Public methods {{{1
-
-function! g:SyntasticSignsNotifier.New() abort " {{{2
- let newObj = copy(self)
- return newObj
-endfunction " }}}2
-
-function! g:SyntasticSignsNotifier.enabled() abort " {{{2
- return has('signs') && syntastic#util#var('enable_signs')
-endfunction " }}}2
-
-function! g:SyntasticSignsNotifier.refresh(loclist) abort " {{{2
- call syntastic#log#debug(g:_SYNTASTIC_DEBUG_NOTIFICATIONS, 'signs: refresh')
-
- let old_signs = copy(self._bufSignIds())
- if self.enabled()
- if !s:setup_done
- call self._setup()
- let s:setup_done = 1
- lockvar s:setup_done
- endif
-
- call self._signErrors(a:loclist)
- endif
- call self._removeSigns(old_signs)
-endfunction " }}}2
-
-" }}}1
-
-" Private methods {{{1
-
-" One time setup: define our own sign types and highlighting
-function! g:SyntasticSignsNotifier._setup() abort " {{{2
- if has('signs')
- if !hlexists('SyntasticErrorSign')
- highlight link SyntasticErrorSign error
- endif
- if !hlexists('SyntasticWarningSign')
- highlight link SyntasticWarningSign todo
- endif
- if !hlexists('SyntasticStyleErrorSign')
- highlight link SyntasticStyleErrorSign SyntasticErrorSign
- endif
- if !hlexists('SyntasticStyleWarningSign')
- highlight link SyntasticStyleWarningSign SyntasticWarningSign
- endif
- if !hlexists('SyntasticStyleErrorLine')
- highlight link SyntasticStyleErrorLine SyntasticErrorLine
- endif
- if !hlexists('SyntasticStyleWarningLine')
- highlight link SyntasticStyleWarningLine SyntasticWarningLine
- endif
-
- " define the signs used to display syntax and style errors/warns
- execute 'sign define SyntasticError text=' . g:syntastic_error_symbol .
- \ ' texthl=SyntasticErrorSign linehl=SyntasticErrorLine'
- execute 'sign define SyntasticWarning text=' . g:syntastic_warning_symbol .
- \ ' texthl=SyntasticWarningSign linehl=SyntasticWarningLine'
- execute 'sign define SyntasticStyleError text=' . g:syntastic_style_error_symbol .
- \ ' texthl=SyntasticStyleErrorSign linehl=SyntasticStyleErrorLine'
- execute 'sign define SyntasticStyleWarning text=' . g:syntastic_style_warning_symbol .
- \ ' texthl=SyntasticStyleWarningSign linehl=SyntasticStyleWarningLine'
- endif
-endfunction " }}}2
-
-" Place signs by all syntax errors in the buffer
-function! g:SyntasticSignsNotifier._signErrors(loclist) abort " {{{2
- let loclist = a:loclist
- if !loclist.isEmpty()
-
- let buf = bufnr('')
- if !bufloaded(buf)
- " signs can be placed only in loaded buffers
- return
- endif
-
- " errors come first, so that they are not masked by warnings
- let issues = copy(loclist.errors())
- call extend(issues, loclist.warnings())
- call filter(issues, 'v:val["bufnr"] == buf')
- let seen = {}
-
- for i in issues
- if i['lnum'] > 0 && !has_key(seen, i['lnum'])
- let seen[i['lnum']] = 1
-
- let sign_severity = i['type'] ==? 'W' ? 'Warning' : 'Error'
- let sign_subtype = get(i, 'subtype', '')
- let sign_type = 'Syntastic' . sign_subtype . sign_severity
-
- execute 'sign place ' . s:next_sign_id . ' line=' . i['lnum'] . ' name=' . sign_type . ' buffer=' . i['bufnr']
- call add(self._bufSignIds(), s:next_sign_id)
- let s:next_sign_id += 1
- endif
- endfor
- endif
-endfunction " }}}2
-
-" Remove the signs with the given ids from this buffer
-function! g:SyntasticSignsNotifier._removeSigns(ids) abort " {{{2
- if has('signs')
- for s in reverse(copy(a:ids))
- execute 'sign unplace ' . s
- call remove(self._bufSignIds(), index(self._bufSignIds(), s))
- endfor
- endif
-endfunction " }}}2
-
-" Get all the ids of the SyntaxError signs in the buffer
-function! g:SyntasticSignsNotifier._bufSignIds() abort " {{{2
- if !exists('b:syntastic_private_sign_ids')
- let b:syntastic_private_sign_ids = []
- endif
- return b:syntastic_private_sign_ids
-endfunction " }}}2
-
-" }}}1
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/actionscript/mxmlc.vim b/sources_non_forked/syntastic/syntax_checkers/actionscript/mxmlc.vim
deleted file mode 100644
index 10667694..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/actionscript/mxmlc.vim
+++ /dev/null
@@ -1,67 +0,0 @@
-"============================================================================
-"File: mxmlc.vim
-"Description: ActionScript syntax checker - using mxmlc
-"Maintainer: Andy Earnshaw
-"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_actionscript_mxmlc_checker')
- finish
-endif
-let g:loaded_syntastic_actionscript_mxmlc_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_actionscript_mxmlc_GetHighlightRegex(item)
- let term = ''
-
- if match(a:item['text'], '\mvariable ''') > -1
- let term = matchstr(a:item['text'], '\m''\zs[^'']\+\ze''')
-
- elseif match(a:item['text'], 'expected a definition keyword') > -1
- let term = matchstr(a:item['text'], '\mnot \zs[^.]\+\ze\.')
-
- elseif match(a:item['text'], '\mundefined \%(property\|method\)') > -1
- let term = matchstr(a:item['text'], '\mundefined \%(property\|method\) \zs[^. ]\+\ze')
-
- elseif match(a:item['text'], 'could not be found') > -1
- let term = matchstr(a:item['text'], '\m \zs\S\+\ze could not be found')
-
- elseif match(a:item['text'], 'Type was not found') > -1
- let term = matchstr(a:item['text'], '\m: \zs[^.]\+\zs\.')
-
- endif
-
- return term !=# '' ? '\V\<' . escape(term, '\') . '\>' : ''
-endfunction
-
-function! SyntaxCheckers_actionscript_mxmlc_GetLocList() dict
- call syntastic#log#deprecationWarn('actionscript_mxmlc_conf', 'actionscript_mxmlc_args',
- \ "'-load-config+=' . syntastic#util#shexpand(OLD_VAR)")
-
- let makeprg = self.makeprgBuild({ 'args_after': '-output=' . syntastic#util#DevNull() })
-
- let errorformat =
- \ '%f(%l): col: %c %trror: %m,' .
- \ '%f(%l): col: %c %tarning: %m,' .
- \ '%f: %trror: %m,' .
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'actionscript',
- \ 'name': 'mxmlc'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/ada/gcc.vim b/sources_non_forked/syntastic/syntax_checkers/ada/gcc.vim
deleted file mode 100644
index dc428688..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/ada/gcc.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: ada.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Alfredo Di Napoli
-"License: This program is free software. It comes without any warranty,
-" to the extent permitted by applicable law.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_ada_gcc_checker')
- finish
-endif
-let g:loaded_syntastic_ada_gcc_checker = 1
-
-if !exists('g:syntastic_ada_compiler_options')
- let g:syntastic_ada_compiler_options = ''
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_ada_gcc_IsAvailable() dict
- if !exists('g:syntastic_ada_compiler')
- let g:syntastic_ada_compiler = self.getExec()
- endif
- return executable(expand(g:syntastic_ada_compiler, 1))
-endfunction
-
-function! SyntaxCheckers_ada_gcc_GetLocList() dict
- return syntastic#c#GetLocList('ada', 'gcc', {
- \ 'errorformat':
- \ '%-G%f:%s:,' .
- \ '%f:%l:%c: %m,' .
- \ '%f:%l: %m',
- \ 'main_flags': '-c -x ada -gnats',
- \ 'header_flags': '-x ada -gnats',
- \ 'header_names': '\.ads$' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'ada',
- \ 'name': 'gcc' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/ansible/ansible_lint.vim b/sources_non_forked/syntastic/syntax_checkers/ansible/ansible_lint.vim
deleted file mode 100644
index b09e7eb3..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/ansible/ansible_lint.vim
+++ /dev/null
@@ -1,52 +0,0 @@
-"============================================================================
-"File: ansible_lint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Erik Zaadi
-"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_ansible_ansible_lint_checker')
- finish
-endif
-let g:loaded_syntastic_ansible_ansible_lint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_ansible_ansible_lint_IsAvailable() dict
- if !executable(self.getExec())
- return 0
- endif
- return syntastic#util#versionIsAtLeast(self.getVersion(), [2, 0, 4])
-endfunction
-
-function! SyntaxCheckers_ansible_ansible_lint_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-p' })
-
- let errorformat = '%f:%l: [ANSIBLE%n] %m'
-
- let env = syntastic#util#isRunningWindows() ? {} : { 'TERM': 'dumb' }
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'env': env,
- \ 'defaults': {'type': 'E'},
- \ 'subtype': 'Style',
- \ 'returns': [0, 2] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'ansible',
- \ 'name': 'ansible_lint',
- \ 'exec': 'ansible-lint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/apiblueprint/drafter.vim b/sources_non_forked/syntastic/syntax_checkers/apiblueprint/drafter.vim
deleted file mode 100644
index e404a4f2..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/apiblueprint/drafter.vim
+++ /dev/null
@@ -1,66 +0,0 @@
-"============================================================================
-"File: drafter.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_apiblueprint_drafter_checker')
- finish
-endif
-let g:loaded_syntastic_apiblueprint_drafter_checker = 1
-
-if !exists('g:syntastic_apiblueprint_drafter_sort')
- let g:syntastic_apiblueprint_drafter_sort = 1
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_apiblueprint_drafter_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'post_args': '-u -l' })
-
- let errorformat =
- \ '%trror: (%n) %m,' .
- \ '%tarning: (%n) %m,' .
- \ '%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'bufnr': bufnr('')},
- \ 'returns': [0, 2, 3, 4] })
-
- for e in loclist
- let matches = matchlist(e['text'], '\v^(.+); line (\d+), column (\d+) - line (\d+), column (\d+)$')
- if len(matches) > 5
- let e['lnum'] = str2nr(matches[2])
- let e['col'] = str2nr(matches[3])
- let e['vcol'] = 0
-
- if matches[2] == matches[4]
- let e['hl'] = '\%>' . (e['col'] - 1) . 'c\%<' . matches[5] . 'c'
- endif
-
- let e['text'] = matches[1]
- else
- let e['valid'] = 0
- endif
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'apiblueprint',
- \ 'name': 'drafter'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/applescript/osacompile.vim b/sources_non_forked/syntastic/syntax_checkers/applescript/osacompile.vim
deleted file mode 100644
index 406e029e..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/applescript/osacompile.vim
+++ /dev/null
@@ -1,49 +0,0 @@
-"==============================================================================
-" FileName: applescript.vim
-" Desc: Syntax checking plugin for syntastic.vim
-" Author: Zhao Cai
-" Email: caizhaoff@gmail.com
-" Version: 0.2.1
-" Date Created: Thu 09 Sep 2011 10:30:09 AM EST
-" Last Modified: Fri 09 Dec 2011 01:10:24 PM EST
-"
-" History: 0.1.0 - working, but it will run the script everytime to check
-" syntax. Should use osacompile but strangely it does not give
-" errors.
-"
-" 0.2.0 - switch to osacompile, it gives less errors compared
-" with osascript.
-"
-" 0.2.1 - remove g:syntastic_applescript_tempfile. use
-" tempname() instead.
-"
-" 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_applescript_osacompile_checker')
- finish
-endif
-let g:loaded_syntastic_applescript_osacompile_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_applescript_osacompile_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-o ' . tempname() . '.scpt' })
- let errorformat = '%f:%l:%m'
- return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'applescript',
- \ 'name': 'osacompile' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/asciidoc/asciidoc.vim b/sources_non_forked/syntastic/syntax_checkers/asciidoc/asciidoc.vim
deleted file mode 100644
index bc64e6ac..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/asciidoc/asciidoc.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: asciidoc.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_asciidoc_asciidoc_checker')
- finish
-endif
-let g:loaded_syntastic_asciidoc_asciidoc_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_asciidoc_asciidoc_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': syntastic#c#NullOutput() })
-
- let errorformat =
- \ '%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,
- \ 'errorformat': errorformat,
- \ 'returns': [0, 1] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'asciidoc',
- \ 'name': 'asciidoc'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/asm/gcc.vim b/sources_non_forked/syntastic/syntax_checkers/asm/gcc.vim
deleted file mode 100644
index d352eeeb..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/asm/gcc.vim
+++ /dev/null
@@ -1,61 +0,0 @@
-"============================================================================
-"File: gcc.vim
-"Description: Syntax checking for at&t and intel assembly files with gcc
-"Maintainer: Josh Rahm
-"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_asm_gcc_checker')
- finish
-endif
-let g:loaded_syntastic_asm_gcc_checker = 1
-
-if !exists('g:syntastic_asm_compiler_options')
- let g:syntastic_asm_compiler_options = ''
-endif
-
-if !exists('g:syntastic_asm_generic')
- let g:syntastic_asm_generic = 0
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_asm_gcc_IsAvailable() dict " {{{1
- if !exists('g:syntastic_asm_compiler')
- let g:syntastic_asm_compiler = self.getExec()
- endif
- return executable(expand(g:syntastic_asm_compiler, 1))
-endfunction " }}}1
-
-function! SyntaxCheckers_asm_gcc_GetLocList() dict " {{{1
- return syntastic#c#GetLocList('asm', 'gcc', {
- \ 'errorformat':
- \ '%-G%f:%s:,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l: %m',
- \ 'main_flags': '-x assembler -fsyntax-only' . (g:syntastic_asm_generic ? '' : ' -masm=' . s:GetDialect()) })
-endfunction " }}}1
-
-" Utilities {{{1
-
-function! s:GetDialect() " {{{2
- return syntastic#util#var('asm_dialect', expand('%:e', 1) ==? 'asm' ? 'intel' : 'att')
-endfunction " }}}2
-
-" }}}1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'asm',
- \ 'name': 'gcc' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/bemhtml/bemhtmllint.vim b/sources_non_forked/syntastic/syntax_checkers/bemhtml/bemhtmllint.vim
deleted file mode 100644
index 18370675..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/bemhtml/bemhtmllint.vim
+++ /dev/null
@@ -1,35 +0,0 @@
-"============================================================================
-"File: bemhtmllint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Sergej Tatarincev
-"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_bemhtml_bemhtmllint_checker')
- finish
-endif
-
-let g:loaded_syntastic_bemhtml_bemhtmllint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function SyntaxCheckers_bemhtml_bemhtmllint_GetLocList() dict
- let makeprg = self.makeprgBuild({})
- let errorformat = '%f:%l:%c: %m'
- return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'bemhtml',
- \ 'name': 'bemhtmllint',
- \ 'exec': 'bemhtml-lint' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/bro/bro.vim b/sources_non_forked/syntastic/syntax_checkers/bro/bro.vim
deleted file mode 100644
index cea441b6..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/bro/bro.vim
+++ /dev/null
@@ -1,58 +0,0 @@
-"============================================================================
-"File: bro.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Justin Azoff
-"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_bro_bro_checker')
- finish
-endif
-let g:loaded_syntastic_bro_bro_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_bro_bro_GetHighlightRegex(item)
- let term = matchstr(a:item['text'], '\m at or near "\zs[^"]\+\ze"')
- return term !=# '' ? '\V\<' . escape(term, '\') . '\>' : ''
-endfunction
-
-function! SyntaxCheckers_bro_bro_IsAvailable() dict
- if !executable(self.getExec())
- return 0
- endif
-
- if syntastic#util#system(self.getExecEscaped() . ' --help') !~# '--parse-only'
- call self.log('unknown option "--parse-only"')
- return 0
- endif
-
- return 1
-endfunction
-
-function! SyntaxCheckers_bro_bro_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_before': '--parse-only' })
-
- "example: error in ./foo.bro, line 3: unknown identifier banana, at or near "banana"
- let errorformat = '%t:%f:%l:%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'bro' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'bro',
- \ 'name': 'bro'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/avrgcc.vim b/sources_non_forked/syntastic/syntax_checkers/c/avrgcc.vim
deleted file mode 100644
index 0fbb9840..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/avrgcc.vim
+++ /dev/null
@@ -1,57 +0,0 @@
-"============================================================================
-"File: avrgcc.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Karel
-"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_c_avrgcc_checker')
- finish
-endif
-let g:loaded_syntastic_c_avrgcc_checker = 1
-
-if !exists('g:syntastic_avrgcc_config_file')
- let g:syntastic_avrgcc_config_file = '.syntastic_avrgcc_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_avrgcc_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args_before': syntastic#c#ReadConfig(g:syntastic_avrgcc_config_file),
- \ 'args_after': '-x c -fsyntax-only' })
-
- let errorformat =
- \ '%-G%f:%s:,' .
- \ '%-G%f:%l: %#error: %#(Each undeclared identifier is reported only%.%#,' .
- \ '%-G%f:%l: %#error: %#for each function it appears%.%#,' .
- \ '%-GIn file included%.%#,' .
- \ '%-G %#from %f:%l\,,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c: %m,' .
- \ '%f:%l: %trror: %m,' .
- \ '%f:%l: %tarning: %m,'.
- \ '%f:%l: %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'postprocess': ['compressWhitespace'] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'avrgcc',
- \ 'exec': 'avr-gcc'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/checkpatch.vim b/sources_non_forked/syntastic/syntax_checkers/c/checkpatch.vim
deleted file mode 100644
index 43b047cd..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/checkpatch.vim
+++ /dev/null
@@ -1,60 +0,0 @@
-"============================================================================
-"File: checkpatch.vim
-"Description: Syntax checking plugin for syntastic.vim using checkpatch.pl
-"Maintainer: Daniel Walker
-"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_c_checkpatch_checker')
- finish
-endif
-let g:loaded_syntastic_c_checkpatch_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_checkpatch_IsAvailable() dict
- call syntastic#log#deprecationWarn('c_checker_checkpatch_location', 'c_checkpatch_exec')
-
- if !exists('g:syntastic_c_checkpatch_exec') && !executable(self.getExec())
- if executable('checkpatch')
- let g:syntastic_c_checkpatch_exec = 'checkpatch'
- elseif executable('./scripts/checkpatch.pl')
- let g:syntastic_c_checkpatch_exec = fnamemodify('./scripts/checkpatch.pl', ':p')
- elseif executable('./scripts/checkpatch')
- let g:syntastic_c_checkpatch_exec = fnamemodify('./scripts/checkpatch', ':p')
- endif
- endif
-
- call self.log('exec =', self.getExec())
-
- return executable(self.getExec())
-endfunction
-
-function! SyntaxCheckers_c_checkpatch_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '--no-summary --no-tree --terse --file' })
-
- let errorformat =
- \ '%f:%l: %tARNING: %m,' .
- \ '%f:%l: %tRROR: %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'returns': [0, 1],
- \ 'subtype': 'Style' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'checkpatch',
- \ 'exec': 'checkpatch.pl'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/clang_check.vim b/sources_non_forked/syntastic/syntax_checkers/c/clang_check.vim
deleted file mode 100644
index 4c3677ab..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/clang_check.vim
+++ /dev/null
@@ -1,64 +0,0 @@
-"============================================================================
-"File: clang_check.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier
-"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_c_clang_check_checker')
- finish
-endif
-let g:loaded_syntastic_c_clang_check_checker = 1
-
-if !exists('g:syntastic_clang_check_config_file')
- let g:syntastic_clang_check_config_file = '.syntastic_clang_check_config'
-endif
-
-if !exists('g:syntastic_c_clang_check_sort')
- let g:syntastic_c_clang_check_sort = 1
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_clang_check_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'post_args':
- \ '-- ' .
- \ syntastic#c#ReadConfig(g:syntastic_clang_check_config_file) . ' ' .
- \ '-fshow-column ' .
- \ '-fshow-source-location ' .
- \ '-fno-caret-diagnostics ' .
- \ '-fno-color-diagnostics ' .
- \ '-fdiagnostics-format=clang' })
-
- let errorformat =
- \ '%E%f:%l:%c: fatal error: %m,' .
- \ '%E%f:%l:%c: error: %m,' .
- \ '%W%f:%l:%c: warning: %m,' .
- \ '%-G%\m%\%%(LLVM ERROR:%\|No compilation database found%\)%\@!%.%#,' .
- \ '%E%m'
-
- let env = syntastic#util#isRunningWindows() ? {} : { 'TERM': 'dumb' }
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'env': env,
- \ 'defaults': {'bufnr': bufnr('')},
- \ 'returns': [0, 1] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'clang_check',
- \ 'exec': 'clang-check'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/clang_tidy.vim b/sources_non_forked/syntastic/syntax_checkers/c/clang_tidy.vim
deleted file mode 100644
index 6d8cbfe1..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/clang_tidy.vim
+++ /dev/null
@@ -1,64 +0,0 @@
-"============================================================================
-"File: clang_tidy.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier
-"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_c_clang_tidy_checker')
- finish
-endif
-let g:loaded_syntastic_c_clang_tidy_checker = 1
-
-if !exists('g:syntastic_clang_tidy_config_file')
- let g:syntastic_clang_tidy_config_file = '.syntastic_clang_tidy_config'
-endif
-
-if !exists('g:syntastic_c_clang_tidy_sort')
- let g:syntastic_c_clang_tidy_sort = 1
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_clang_tidy_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'post_args':
- \ '-- ' .
- \ syntastic#c#ReadConfig(g:syntastic_clang_tidy_config_file) . ' ' .
- \ '-fshow-column ' .
- \ '-fshow-source-location ' .
- \ '-fno-caret-diagnostics ' .
- \ '-fno-color-diagnostics ' .
- \ '-fdiagnostics-format=clang' })
-
- let errorformat =
- \ '%E%f:%l:%c: fatal error: %m,' .
- \ '%E%f:%l:%c: error: %m,' .
- \ '%W%f:%l:%c: warning: %m,' .
- \ '%-G%\m%\%%(LLVM ERROR:%\|No compilation database found%\)%\@!%.%#,' .
- \ '%E%m'
-
- let env = syntastic#util#isRunningWindows() ? {} : { 'TERM': 'dumb' }
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'env': env,
- \ 'defaults': {'bufnr': bufnr('')},
- \ 'returns': [0, 1] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'clang_tidy',
- \ 'exec': 'clang-tidy'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/cppcheck.vim b/sources_non_forked/syntastic/syntax_checkers/c/cppcheck.vim
deleted file mode 100644
index cd802a8c..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/cppcheck.vim
+++ /dev/null
@@ -1,62 +0,0 @@
-"============================================================================
-"File: cppcheck.vim
-"Description: Syntax checking plugin for syntastic.vim using cppcheck.pl
-"Maintainer: LCD 47
-"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_c_cppcheck_checker')
- finish
-endif
-let g:loaded_syntastic_c_cppcheck_checker = 1
-
-if !exists('g:syntastic_cppcheck_config_file')
- let g:syntastic_cppcheck_config_file = '.syntastic_cppcheck_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_cppcheck_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': syntastic#c#ReadConfig(g:syntastic_cppcheck_config_file),
- \ 'args_after': '-q --enable=style' })
-
- let errorformat =
- \ '[%f:%l]: (%trror) %m,' .
- \ '[%f:%l]: (%tarning) %m,' .
- \ '[%f:%l]: (%ttyle) %m,' .
- \ '[%f:%l]: (%terformance) %m,' .
- \ '[%f:%l]: (%tortability) %m,' .
- \ '[%f:%l]: (%tnformation) %m,' .
- \ '[%f:%l]: (%tnconclusive) %m,' .
- \ '%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'cppcheck',
- \ 'returns': [0] })
-
- for e in loclist
- if e['type'] =~? '\m^[SPI]'
- let e['type'] = 'w'
- let e['subtype'] = 'Style'
- endif
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'cppcheck'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/gcc.vim b/sources_non_forked/syntastic/syntax_checkers/c/gcc.vim
deleted file mode 100644
index 4fa92166..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/gcc.vim
+++ /dev/null
@@ -1,59 +0,0 @@
-"============================================================================
-"File: c.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Gregor Uhlenheuer
-"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_c_gcc_checker')
- finish
-endif
-let g:loaded_syntastic_c_gcc_checker = 1
-
-if !exists('g:syntastic_c_compiler_options')
- let g:syntastic_c_compiler_options = '-std=gnu99'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_gcc_IsAvailable() dict
- if !exists('g:syntastic_c_compiler')
- let g:syntastic_c_compiler = executable(self.getExec()) ? self.getExec() : 'clang'
- endif
- call self.log('g:syntastic_c_compiler =', g:syntastic_c_compiler)
- return executable(expand(g:syntastic_c_compiler, 1))
-endfunction
-
-function! SyntaxCheckers_c_gcc_GetLocList() dict
- return syntastic#c#GetLocList('c', 'gcc', {
- \ 'errorformat':
- \ '%-G%f:%s:,' .
- \ '%-G%f:%l: %#error: %#(Each undeclared identifier is reported only%.%#,' .
- \ '%-G%f:%l: %#error: %#for each function it appears%.%#,' .
- \ '%-GIn file included%.%#,' .
- \ '%-G %#from %f:%l\,,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c: %m,' .
- \ '%f:%l: %trror: %m,' .
- \ '%f:%l: %tarning: %m,'.
- \ '%f:%l: %m',
- \ 'main_flags': '-x c -fsyntax-only',
- \ 'header_flags': '-x c',
- \ 'header_names': '\m\.h$' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'gcc' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/make.vim b/sources_non_forked/syntastic/syntax_checkers/c/make.vim
deleted file mode 100644
index e477994d..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/make.vim
+++ /dev/null
@@ -1,61 +0,0 @@
-"============================================================================
-"File: make.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Gregor Uhlenheuer
-"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_c_make_checker')
- finish
-endif
-let g:loaded_syntastic_c_make_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_make_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args': '-sk', 'fname': '' })
-
- let errorformat =
- \ '%-G%f:%s:,' .
- \ '%-G%f:%l: %#error: %#(Each undeclared identifier is reported only%.%#,' .
- \ '%-G%f:%l: %#error: %#for each function it appears%.%#,' .
- \ '%-GIn file included%.%#,' .
- \ '%-G %#from %f:%l\,,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c: %m,' .
- \ '%f:%l: %trror: %m,' .
- \ '%f:%l: %tarning: %m,'.
- \ '%f:%l: %m'
-
- if exists('g:syntastic_c_errorformat')
- let errorformat = g:syntastic_c_errorformat
- endif
-
- " process makeprg
- let errors = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-
- " filter the processed errors if desired
- if exists('g:syntastic_c_remove_include_errors') && g:syntastic_c_remove_include_errors != 0
- return filter(errors, 'has_key(v:val, "bufnr") && v:val["bufnr"] == ' . bufnr(''))
- else
- return errors
- endif
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'make'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/oclint.vim b/sources_non_forked/syntastic/syntax_checkers/c/oclint.vim
deleted file mode 100644
index f172a11e..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/oclint.vim
+++ /dev/null
@@ -1,65 +0,0 @@
-"============================================================================
-"File: oclint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: "UnCO" Lin
-"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_c_oclint_checker')
- finish
-endif
-let g:loaded_syntastic_c_oclint_checker = 1
-
-if !exists('g:syntastic_oclint_config_file')
- let g:syntastic_oclint_config_file = '.syntastic_oclint_config'
-endif
-
-if !exists('g:syntastic_c_oclint_sort')
- let g:syntastic_c_oclint_sort = 1
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_oclint_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'post_args': '-- -c ' . syntastic#c#ReadConfig(g:syntastic_oclint_config_file) })
-
- let errorformat =
- \ '%E%f:%l:%c: fatal error: %m,' .
- \ '%E%f:%l:%c: error: %m,' .
- \ '%W%f:%l:%c: warning: %m,' .
- \ '%E%f:%l:%c: %m,' .
- \ '%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'postprocess': ['compressWhitespace'],
- \ 'returns': [0, 3, 5] })
-
- for e in loclist
- if e['text'] =~# '\v P3( |$)'
- let e['type'] = 'W'
- endif
-
- let e['text'] = substitute(e['text'], '\m\C P[1-3]$', '', '')
- let e['text'] = substitute(e['text'], '\m\C P[1-3] ', ': ', '')
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'oclint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/pc_lint.vim b/sources_non_forked/syntastic/syntax_checkers/c/pc_lint.vim
deleted file mode 100644
index 6efd17a1..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/pc_lint.vim
+++ /dev/null
@@ -1,66 +0,0 @@
-"============================================================================
-"File: pc_lint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Steve Bragg
-"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_c_pc_lint_checker')
- finish
-endif
-let g:loaded_syntastic_c_pc_lint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-if !exists('g:syntastic_pc_lint_config_file')
- let g:syntastic_pc_lint_config_file = 'options.lnt'
-endif
-
-function! SyntaxCheckers_c_pc_lint_GetLocList() dict
- let config = syntastic#util#findFileInParent(g:syntastic_pc_lint_config_file, expand('%:p:h', 1))
- call self.log('config =', config)
-
- " -hFs1 - show filename, add space after messages, try to make message 1 line
- " -width(0,0) - make sure there are no line breaks
- " -t - set tab size
- " -v - turn off verbosity
- let makeprg = self.makeprgBuild({
- \ 'args': (filereadable(config) ? syntastic#util#shescape(fnamemodify(config, ':p')) : ''),
- \ 'args_after': ['-hFs1', '-width(0,0)', '-t' . &tabstop, '-format=%f:%l:%C:%t:%n:%m'] })
-
- let errorformat =
- \ '%E%f:%l:%v:Error:%n:%m,' .
- \ '%W%f:%l:%v:Warning:%n:%m,' .
- \ '%I%f:%l:%v:Info:%n:%m,' .
- \ '%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'postprocess': ['cygwinRemoveCR'] })
-
- for e in loclist
- if e['type'] ==? 'I'
- let e['type'] = 'W'
- let e['subtype'] = 'Style'
- endif
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'pc_lint',
- \ 'exec': 'lint-nt'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/sparse.vim b/sources_non_forked/syntastic/syntax_checkers/c/sparse.vim
deleted file mode 100644
index ca831c05..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/sparse.vim
+++ /dev/null
@@ -1,48 +0,0 @@
-"============================================================================
-"File: sparse.vim
-"Description: Syntax checking plugin for syntastic.vim using sparse.pl
-"Maintainer: Daniel Walker
-"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_c_sparse_checker')
- finish
-endif
-let g:loaded_syntastic_c_sparse_checker = 1
-
-if !exists('g:syntastic_sparse_config_file')
- let g:syntastic_sparse_config_file = '.syntastic_sparse_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_sparse_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': syntastic#c#ReadConfig(g:syntastic_sparse_config_file),
- \ 'args_after': '-ftabstop=' . &ts })
-
- let errorformat =
- \ '%f:%l:%v: %trror: %m,' .
- \ '%f:%l:%v: %tarning: %m,'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'bufnr': bufnr('')},
- \ 'returns': [0, 1] })
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'sparse'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/c/splint.vim b/sources_non_forked/syntastic/syntax_checkers/c/splint.vim
deleted file mode 100644
index a4e19f0b..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/c/splint.vim
+++ /dev/null
@@ -1,55 +0,0 @@
-"============================================================================
-"File: splint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_c_splint_checker')
- finish
-endif
-let g:loaded_syntastic_c_splint_checker = 1
-
-if !exists('g:syntastic_splint_config_file')
- let g:syntastic_splint_config_file = '.syntastic_splint_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_c_splint_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': syntastic#c#ReadConfig(g:syntastic_splint_config_file),
- \ 'args_after': '-showfunc -hints +quiet' })
-
- let errorformat =
- \ '%-G%f:%l:%v: %[%#]%[%#]%[%#] Internal Bug %.%#,' .
- \ '%-G%f(%l\,%v): %[%#]%[%#]%[%#] Internal Bug %.%#,' .
- \ '%W%f:%l:%v: %m,' .
- \ '%W%f(%l\,%v): %m,' .
- \ '%W%f:%l: %m,' .
- \ '%W%f(%l): %m,' .
- \ '%-C %\+In file included from %.%#,' .
- \ '%-C %\+from %.%#,' .
- \ '%+C %.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'postprocess': ['compressWhitespace'],
- \ 'defaults': {'type': 'W'} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'c',
- \ 'name': 'splint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cabal/cabal.vim b/sources_non_forked/syntastic/syntax_checkers/cabal/cabal.vim
deleted file mode 100644
index e43aefaa..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cabal/cabal.vim
+++ /dev/null
@@ -1,55 +0,0 @@
-"============================================================================
-"File: cabal.vim
-"Description: Haskell package description (.cabal file) linting and syntax
-" validation via 'cabal check'
-"Maintainer: Ian D. Bollinger
-"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_cabal_cabal_checker')
- finish
-endif
-let g:loaded_syntastic_cabal_cabal_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cabal_cabal_GetHighlightRegex(item)
- let field = matchstr(a:item['text'], "\\vParse of field '\\zs[^']+")
- if field !=# ''
- return '\v\c^\s*' . field . '\s*:\s*\zs.*$'
- endif
- let field = matchstr(a:item['text'], "\\v(^|\\s)'\\zs[^']+\\ze'")
- if field !=# ''
- return '\V\c\<' . escape(field, '\') . '\>'
- endif
- return ''
-endfunction
-
-function! SyntaxCheckers_cabal_cabal_GetLocList() dict
- let makeprg = self.getExecEscaped() . ' check'
-
- let errorformat =
- \ '%Ecabal: %f:%l: %m,' .
- \ '%W* %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'cwd': expand('%:p:h', 1),
- \ 'preprocess': 'cabal',
- \ 'defaults': {'bufnr': bufnr('')} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cabal',
- \ 'name': 'cabal'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/chef/foodcritic.vim b/sources_non_forked/syntastic/syntax_checkers/chef/foodcritic.vim
deleted file mode 100644
index 84d9af12..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/chef/foodcritic.vim
+++ /dev/null
@@ -1,39 +0,0 @@
-"============================================================================
-"File: foodcritic.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Doug Ireton
-"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_chef_foodcritic_checker')
- finish
-endif
-let g:loaded_syntastic_chef_foodcritic_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_chef_foodcritic_GetLocList() dict
- let makeprg = self.makeprgBuild({})
-
- " FC023: Prefer conditional attributes: ./recipes/config.rb:49
- let errorformat = 'FC%n: %m: %f:%l'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'chef',
- \ 'name': 'foodcritic'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/co/coco.vim b/sources_non_forked/syntastic/syntax_checkers/co/coco.vim
deleted file mode 100644
index 9be5d7dd..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/co/coco.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: co.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Andrew Kelley
-"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_co_coco_checker')
- finish
-endif
-let g:loaded_syntastic_co_coco_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_co_coco_GetLocList() dict
- let tmpdir = syntastic#util#tmpdir()
- let makeprg = self.makeprgBuild({ 'args_after': '-c -o ' . tmpdir })
-
- let errorformat =
- \ '%EFailed at: %f,' .
- \ '%ZSyntax%trror: %m on line %l,'.
- \ '%EFailed at: %f,'.
- \ '%Z%trror: Parse error on line %l: %m'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-
- call syntastic#util#rmrf(tmpdir)
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'co',
- \ 'name': 'coco'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cobol/cobc.vim b/sources_non_forked/syntastic/syntax_checkers/cobol/cobc.vim
deleted file mode 100644
index 0cff0cc5..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cobol/cobc.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: cobc.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_cobol_cobc_checker')
- finish
-endif
-let g:loaded_syntastic_cobol_cobc_checker = 1
-
-if !exists('g:syntastic_cobol_compiler_options')
- let g:syntastic_cobol_compiler_options = ''
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cobol_cobc_IsAvailable() dict
- if !exists('g:syntastic_cobol_compiler')
- let g:syntastic_cobol_compiler = self.getExec()
- endif
- call self.log('g:syntastic_cobol_compiler =', g:syntastic_cobol_compiler)
- return executable(expand(g:syntastic_cobol_compiler, 1))
-endfunction
-
-function! SyntaxCheckers_cobol_cobc_GetLocList() dict
- return syntastic#c#GetLocList('cobol', 'cobc', {
- \ 'errorformat': '%f:%l: %trror: %m',
- \ 'main_flags': '-fsyntax-only' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cobol',
- \ 'name': 'cobc' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/coffee/coffee.vim b/sources_non_forked/syntastic/syntax_checkers/coffee/coffee.vim
deleted file mode 100644
index 3b521fcc..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/coffee/coffee.vim
+++ /dev/null
@@ -1,58 +0,0 @@
-"============================================================================
-"File: coffee.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Lincoln Stoll
-"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.
-"
-"============================================================================
-"
-" Note: this script requires CoffeeScript version 1.6.2 or newer.
-"
-
-if exists('g:loaded_syntastic_coffee_coffee_checker')
- finish
-endif
-let g:loaded_syntastic_coffee_coffee_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_coffee_coffee_IsAvailable() dict
- if !executable(self.getExec())
- return 0
- endif
- let ver = self.getVersion(self.getExecEscaped() . ' --version 2>' . syntastic#util#DevNull())
- return syntastic#util#versionIsAtLeast(ver, [1, 6, 2])
-endfunction
-
-function! SyntaxCheckers_coffee_coffee_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-cp' })
-
- let errorformat =
- \ '%E%f:%l:%c: %trror: %m,' .
- \ 'Syntax%trror: In %f\, %m on line %l,' .
- \ '%EError: In %f\, Parse error on line %l: %m,' .
- \ '%EError: In %f\, %m on line %l,' .
- \ '%W%f(%l): lint warning: %m,' .
- \ '%W%f(%l): warning: %m,' .
- \ '%E%f(%l): SyntaxError: %m,' .
- \ '%-Z%p^,' .
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'coffee',
- \ 'name': 'coffee'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/coffee/coffeelint.vim b/sources_non_forked/syntastic/syntax_checkers/coffee/coffeelint.vim
deleted file mode 100644
index befdbc88..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/coffee/coffeelint.vim
+++ /dev/null
@@ -1,44 +0,0 @@
-"============================================================================
-"File: coffeelint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Lincoln Stoll
-"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_coffee_coffeelint_checker')
- finish
-endif
-let g:loaded_syntastic_coffee_coffeelint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_coffee_coffeelint_GetLocList() dict
- if !exists('s:coffeelint_new')
- let s:coffeelint_new = syntastic#util#versionIsAtLeast(self.getVersion(), [1, 4])
- endif
- let makeprg = self.makeprgBuild({ 'args_after': (s:coffeelint_new ? '--reporter csv' : '--csv') })
-
- let errorformat = '%f:%l:%t:%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'returns': [0, 1],
- \ 'preprocess': 'coffeelint' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'coffee',
- \ 'name': 'coffeelint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/coq/coqtop.vim b/sources_non_forked/syntastic/syntax_checkers/coq/coqtop.vim
deleted file mode 100644
index 6385554d..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/coq/coqtop.vim
+++ /dev/null
@@ -1,40 +0,0 @@
-"============================================================================
-"File: coqtop.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Matvey Aksenov
-"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_coq_coqtop_checker')
- finish
-endif
-let g:loaded_syntastic_coq_coqtop_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_coq_coqtop_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-noglob -batch -load-vernac-source' })
-
- let errorformat =
- \ '%AFile "%f"\, line %l\, characters %c-%.%#\:,'.
- \ '%C%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'coq',
- \ 'name': 'coqtop'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/clang_check.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/clang_check.vim
deleted file mode 100644
index 010316b4..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/clang_check.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"============================================================================
-"File: clang_check.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier
-"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_cpp_clang_check_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_clang_check_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'clang_check',
- \ 'exec': 'clang-check',
- \ 'redirect': 'c/clang_check'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/clang_tidy.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/clang_tidy.vim
deleted file mode 100644
index 75f6c376..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/clang_tidy.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"============================================================================
-"File: clang_tidy.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Benjamin Bannier
-"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_cpp_clang_tidy_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_clang_tidy_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'clang_tidy',
- \ 'exec': 'clang-tidy',
- \ 'redirect': 'c/clang_tidy'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/cppcheck.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/cppcheck.vim
deleted file mode 100644
index 4e0eb86b..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/cppcheck.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: cppcheck.vim
-"Description: Syntax checking plugin for syntastic.vim using cppcheck.pl
-"Maintainer: LCD 47
-"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_cpp_cppcheck_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_cppcheck_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'cppcheck',
- \ 'redirect': 'c/cppcheck'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/cpplint.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/cpplint.vim
deleted file mode 100644
index 54984bbe..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/cpplint.vim
+++ /dev/null
@@ -1,52 +0,0 @@
-"============================================================================
-"File: cpplint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_cpp_cpplint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_cpplint_checker = 1
-
-if !exists('g:syntastic_cpp_cpplint_thres')
- let g:syntastic_cpp_cpplint_thres = 5
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_cpplint_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args': '--verbose=3' })
-
- let errorformat = '%A%f:%l: %m [%t],%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'returns': [0, 1] })
-
- " change error types according to the prescribed threshold
- for e in loclist
- let e['type'] = e['type'] < g:syntastic_cpp_cpplint_thres ? 'W' : 'E'
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'cpplint',
- \ 'exec': 'cpplint.py'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/gcc.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/gcc.vim
deleted file mode 100644
index 1243980c..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/gcc.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-"============================================================================
-"File: cpp.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Gregor Uhlenheuer
-"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_cpp_gcc_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_gcc_checker = 1
-
-if !exists('g:syntastic_cpp_compiler_options')
- let g:syntastic_cpp_compiler_options = ''
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_gcc_IsAvailable() dict
- if !exists('g:syntastic_cpp_compiler')
- let g:syntastic_cpp_compiler = executable(self.getExec()) ? self.getExec() : 'clang++'
- endif
- call self.log('g:syntastic_cpp_compiler =', g:syntastic_cpp_compiler)
- return executable(expand(g:syntastic_cpp_compiler, 1))
-endfunction
-
-function! SyntaxCheckers_cpp_gcc_GetLocList() dict
- return syntastic#c#GetLocList('cpp', 'gcc', {
- \ 'errorformat':
- \ '%-G%f:%s:,' .
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c: %m,'.
- \ '%f:%l: %trror: %m,'.
- \ '%f:%l: %tarning: %m,'.
- \ '%f:%l: %m',
- \ 'main_flags': '-x c++ -fsyntax-only',
- \ 'header_flags': '-x c++',
- \ 'header_names': '\m\.\(h\|hpp\|hh\)$' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'gcc',
- \ 'exec': 'g++' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/oclint.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/oclint.vim
deleted file mode 100644
index 82177694..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/oclint.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: oclint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: "UnCO" Lin
-"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_cpp_oclint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_oclint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'oclint',
- \ 'redirect': 'c/oclint'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/pc_lint.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/pc_lint.vim
deleted file mode 100644
index 1e69dd4c..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/pc_lint.vim
+++ /dev/null
@@ -1,24 +0,0 @@
-"============================================================================
-"File: pc_lint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Steve Bragg
-"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_cpp_pc_lint_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_pc_lint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'pc_lint',
- \ 'exec': 'lint-nt',
- \ 'redirect': 'c/pc_lint'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cpp/verapp.vim b/sources_non_forked/syntastic/syntax_checkers/cpp/verapp.vim
deleted file mode 100644
index af1fd8cd..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cpp/verapp.vim
+++ /dev/null
@@ -1,48 +0,0 @@
-"============================================================================
-"File: verapp.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Lucas Verney
-"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.
-"
-" Tested with Vera++ 1.3.0
-"============================================================================
-
-if exists('g:loaded_syntastic_cpp_verapp_checker')
- finish
-endif
-let g:loaded_syntastic_cpp_verapp_checker = 1
-
-if !exists('g:syntastic_verapp_config_file')
- let g:syntastic_verapp_config_file = '.syntastic_verapp_config'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cpp_verapp_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': syntastic#c#ReadConfig(g:syntastic_verapp_config_file),
- \ 'args_after': '--show-rule --no-duplicate -S -c -' })
-
- let errorformat = '%f:%t:%l:%c:%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'checkstyle',
- \ 'subtype': 'Style' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cpp',
- \ 'name': 'verapp',
- \ 'exec': 'vera++'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cs/mcs.vim b/sources_non_forked/syntastic/syntax_checkers/cs/mcs.vim
deleted file mode 100644
index 4544a936..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cs/mcs.vim
+++ /dev/null
@@ -1,39 +0,0 @@
-"============================================================================
-"File: cs.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Daniel Walker
-"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_cs_mcs_checker')
- finish
-endif
-let g:loaded_syntastic_cs_mcs_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cs_mcs_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '--parse' })
-
- let errorformat = '%f(%l\,%c): %trror %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'bufnr': bufnr('')} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cs',
- \ 'name': 'mcs'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/csslint.vim b/sources_non_forked/syntastic/syntax_checkers/css/csslint.vim
deleted file mode 100644
index 2d3702bd..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/csslint.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: css.vim
-"Description: Syntax checking plugin for syntastic.vim using `csslint` CLI tool (http://csslint.net).
-"Maintainer: Ory Band
-"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_css_csslint_checker')
- finish
-endif
-let g:loaded_syntastic_css_csslint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_css_csslint_GetLocList() dict
- call syntastic#log#deprecationWarn('csslint_options', 'css_csslint_args')
-
- let makeprg = self.makeprgBuild({ 'args_after': '--format=compact' })
-
- " Print CSS Lint's error/warning messages from compact format. Ignores blank lines.
- let errorformat =
- \ '%-G,' .
- \ '%-G%f: lint free!,' .
- \ '%f: line %l\, col %c\, %trror - %m,' .
- \ '%f: line %l\, col %c\, %tarning - %m,'.
- \ '%f: line %l\, col %c\, %m,'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'bufnr': bufnr('')} })
-
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'csslint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/mixedindentlint.vim b/sources_non_forked/syntastic/syntax_checkers/css/mixedindentlint.vim
deleted file mode 100644
index a0ce3baa..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/mixedindentlint.vim
+++ /dev/null
@@ -1,22 +0,0 @@
-"============================================================================
-"File: mixedindentlint.vim
-"Description: Mixed indentation linter for vim
-"Maintainer: Payton Swick
-"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_css_mixedindentlint_checker')
- finish
-endif
-let g:loaded_syntastic_css_mixedindentlint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'mixedindentlint',
- \ 'redirect': 'javascript/mixedindentlint'})
-
-" vim: set et sts=4 sw=4:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/phpcs.vim b/sources_non_forked/syntastic/syntax_checkers/css/phpcs.vim
deleted file mode 100644
index a065f0e8..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/phpcs.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"============================================================================
-"File: phpcs.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_css_phpcs_checker')
- finish
-endif
-let g:loaded_syntastic_css_phpcs_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'phpcs',
- \ 'redirect': 'php/phpcs'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/prettycss.vim b/sources_non_forked/syntastic/syntax_checkers/css/prettycss.vim
deleted file mode 100644
index b531f497..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/prettycss.vim
+++ /dev/null
@@ -1,61 +0,0 @@
-"============================================================================
-"File: prettycss.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_css_prettycss_checker')
- finish
-endif
-let g:loaded_syntastic_css_prettycss_checker = 1
-
-if !exists('g:syntastic_css_prettycss_sort')
- let g:syntastic_css_prettycss_sort = 1
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_css_prettycss_GetHighlightRegex(item)
- let term = matchstr(a:item['text'], '\m (\zs[^)]\+\ze)$')
- if term !=# ''
- let term = '\V' . escape(term, '\')
- endif
- return term
-endfunction
-
-function! SyntaxCheckers_css_prettycss_GetLocList() dict
- let makeprg = self.makeprgBuild({})
-
- " Print CSS Lint's error/warning messages from compact format. Ignores blank lines.
- let errorformat =
- \ '%EError: %m\, line %l\, char %c),' .
- \ '%WWarning: %m\, line %l\, char %c),' .
- \ '%-G%.%#'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'bufnr': bufnr('')} })
-
- for e in loclist
- let e['text'] .= ')'
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'prettycss'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/recess.vim b/sources_non_forked/syntastic/syntax_checkers/css/recess.vim
deleted file mode 100644
index ce6d5aea..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/recess.vim
+++ /dev/null
@@ -1,24 +0,0 @@
-"============================================================================
-"File: recess.vim
-"Description: Syntax checking plugin for syntastic.vim using `recess`
-" (http://twitter.github.io/recess/).
-"Maintainer: Tim Carry
-"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_css_recess_checker')
- finish
-endif
-let g:loaded_syntastic_css_recess_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'recess',
- \ 'redirect': 'less/recess'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/css/stylelint.vim b/sources_non_forked/syntastic/syntax_checkers/css/stylelint.vim
deleted file mode 100644
index 58c7dec2..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/css/stylelint.vim
+++ /dev/null
@@ -1,47 +0,0 @@
-"============================================================================
-"File: stylelint.vim
-"Description: Syntax checking plugin for syntastic.vim using `stylelint`
-" (https://github.com/stylelint/stylelint).
-"Maintainer: Tim Carry
-"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_css_stylelint_checker')
- finish
-endif
-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': get(s:args_after, self.getFiletype(), '') })
-
- let errorformat = '%t:%f:%l:%c:%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style',
- \ 'preprocess': 'stylelint',
- \ 'returns': [0, 1, 2] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'css',
- \ 'name': 'stylelint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
-
diff --git a/sources_non_forked/syntastic/syntax_checkers/cucumber/cucumber.vim b/sources_non_forked/syntastic/syntax_checkers/cucumber/cucumber.vim
deleted file mode 100644
index 8a486900..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cucumber/cucumber.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-"============================================================================
-"File: cucumber.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Martin Grenfell
-"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_cucumber_cucumber_checker')
- finish
-endif
-let g:loaded_syntastic_cucumber_cucumber_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cucumber_cucumber_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '--dry-run --quiet --strict --format pretty' })
-
- let errorformat =
- \ '%f:%l:%c:%m,' .
- \ '%W %.%# (%m),' .
- \ '%-Z%f:%l:%.%#,'.
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cucumber',
- \ 'name': 'cucumber'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/cuda/nvcc.vim b/sources_non_forked/syntastic/syntax_checkers/cuda/nvcc.vim
deleted file mode 100644
index cbcdf202..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/cuda/nvcc.vim
+++ /dev/null
@@ -1,66 +0,0 @@
-"============================================================================
-"File: cuda.vim
-"Description: Syntax checking plugin for syntastic.vim
-"
-"Author: Hannes Schulz
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_cuda_nvcc_checker')
- finish
-endif
-let g:loaded_syntastic_cuda_nvcc_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_cuda_nvcc_GetLocList() dict
- if exists('g:syntastic_cuda_arch')
- let arch_flag = '-arch=' . g:syntastic_cuda_arch
- else
- let arch_flag = ''
- endif
- let makeprg =
- \ self.getExecEscaped() . ' ' . arch_flag .
- \ ' --cuda -O0 -I . -Xcompiler -fsyntax-only ' .
- \ syntastic#util#shexpand('%') . ' ' . syntastic#c#NullOutput()
-
- let errorformat =
- \ '%*[^"]"%f"%*\D%l: %m,'.
- \ '"%f"%*\D%l: %m,'.
- \ '%-G%f:%l: (Each undeclared identifier is reported only once,'.
- \ '%-G%f:%l: for each function it appears in.),'.
- \ '%f:%l:%c:%m,'.
- \ '%f(%l):%m,'.
- \ '%f:%l:%m,'.
- \ '"%f"\, line %l%*\D%c%*[^ ] %m,'.
- \ '%D%*\a[%*\d]: Entering directory `%f'','.
- \ '%X%*\a[%*\d]: Leaving directory `%f'','.
- \ '%D%*\a: Entering directory `%f'','.
- \ '%X%*\a: Leaving directory `%f'','.
- \ '%DMaking %*\a in %f,'.
- \ '%f|%l| %m'
-
- if expand('%', 1) =~? '\m\%(.h\|.hpp\|.cuh\)$'
- if exists('g:syntastic_cuda_check_header')
- let makeprg =
- \ 'echo > .syntastic_dummy.cu ; ' .
- \ self.getExecEscaped() . ' ' . arch_flag .
- \ ' --cuda -O0 -I . .syntastic_dummy.cu -Xcompiler -fsyntax-only -include ' .
- \ syntastic#util#shexpand('%') . ' ' . syntastic#c#NullOutput()
- else
- return []
- endif
- endif
-
- return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'cuda',
- \ 'name': 'nvcc'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/d/dmd.vim b/sources_non_forked/syntastic/syntax_checkers/d/dmd.vim
deleted file mode 100644
index 88979956..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/d/dmd.vim
+++ /dev/null
@@ -1,132 +0,0 @@
-"============================================================================
-"File: d.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Alfredo Di Napoli
-"License: Based on the original work of Gregor Uhlenheuer and his
-" cpp.vim checker so credits are dued.
-" 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.
-"
-"============================================================================
-
-if exists('g:loaded_syntastic_d_dmd_checker')
- finish
-endif
-let g:loaded_syntastic_d_dmd_checker = 1
-
-if !exists('g:syntastic_d_compiler_options')
- let g:syntastic_d_compiler_options = ''
-endif
-
-if !exists('g:syntastic_d_use_dub')
- let g:syntastic_d_use_dub = 1
-endif
-
-if !exists('g:syntastic_d_dub_exec')
- let g:syntastic_d_dub_exec = 'dub'
-endif
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_d_dmd_IsAvailable() dict " {{{1
- if !exists('g:syntastic_d_compiler')
- let g:syntastic_d_compiler = self.getExec()
- endif
- call self.log('g:syntastic_d_compiler =', g:syntastic_d_compiler)
- return executable(expand(g:syntastic_d_compiler, 1))
-endfunction " }}}1
-
-function! SyntaxCheckers_d_dmd_GetLocList() dict " {{{1
- if !exists('g:syntastic_d_include_dirs')
- let g:syntastic_d_include_dirs = s:GetIncludes(self, expand('%:p:h'))
- endif
-
- return syntastic#c#GetLocList('d', 'dmd', {
- \ 'errorformat':
- \ '%-G%f:%s:,%f(%l): %m,' .
- \ '%f:%l: %m',
- \ 'main_flags': '-c -of' . syntastic#util#DevNull(),
- \ 'header_names': '\m\.di$' })
-endfunction " }}}1
-
-" Utilities {{{1
-
-function! s:GetIncludes(checker, base) " {{{2
- let includes = []
-
- if g:syntastic_d_use_dub && !exists('s:dub_ok')
- let s:dub_ok = s:ValidateDub(a:checker)
- endif
-
- if g:syntastic_d_use_dub && s:dub_ok
- let where = escape(a:base, ' ') . ';'
-
- let old_suffixesadd = &suffixesadd
- let dirs = syntastic#util#unique(map(filter(
- \ findfile('dub.json', where, -1) +
- \ findfile('dub.sdl', where, -1) +
- \ findfile('package.json', where, -1),
- \ 'filereadable(v:val)'), 'fnamemodify(v:val, ":h")'))
- let &suffixesadd = old_suffixesadd
- call a:checker.log('using dub: looking for includes in', dirs)
-
- for dir in dirs
- try
- execute 'silent lcd ' . fnameescape(dir)
- let paths = split(syntastic#util#system(syntastic#util#shescape(g:syntastic_d_dub_exec) . ' describe --import-paths'), "\n")
- silent lcd -
- if v:shell_error == 0
- call extend(includes, paths)
- call a:checker.log('using dub: found includes', paths)
- endif
- catch /\m^Vim\%((\a\+)\)\=:E472/
- " evil directory is evil
- endtry
- endfor
- endif
-
- if empty(includes)
- let includes = filter(glob($HOME . '/.dub/packages/*', 1, 1), 'isdirectory(v:val)')
- call map(includes, 'isdirectory(v:val . "/source") ? v:val . "/source" : v:val')
- call add(includes, './source')
- endif
-
- return syntastic#util#unique(includes)
-endfunction " }}}2
-
-function! s:ValidateDub(checker) " {{{2
- let ok = 0
-
- if executable(g:syntastic_d_dub_exec)
- let command = syntastic#util#shescape(g:syntastic_d_dub_exec) . ' --version'
- let version_output = syntastic#util#system(command)
- call a:checker.log('getVersion: ' . string(command) . ': ' .
- \ string(split(version_output, "\n", 1)) .
- \ (v:shell_error ? ' (exit code ' . v:shell_error . ')' : '') )
- let parsed_ver = syntastic#util#parseVersion(version_output)
- call a:checker.log(g:syntastic_d_dub_exec . ' version =', parsed_ver)
- if len(parsed_ver)
- let ok = syntastic#util#versionIsAtLeast(parsed_ver, [0, 9, 24])
- endif
- endif
-
- return ok
-endfunction " }}}2
-
-" }}}1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'd',
- \ 'name': 'dmd' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/dart/dartanalyzer.vim b/sources_non_forked/syntastic/syntax_checkers/dart/dartanalyzer.vim
deleted file mode 100644
index 63b8267b..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/dart/dartanalyzer.vim
+++ /dev/null
@@ -1,76 +0,0 @@
-"============================================================================
-"File: dartanalyzer.vim
-"Description: Dart syntax checker - using dartanalyzer
-"Maintainer: Maksim Ryzhikov
-"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_dart_dartanalyzer_checker')
- finish
-endif
-let g:loaded_syntastic_dart_dartanalyzer_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_dart_dartanalyzer_GetHighlightRegex(error)
- if a:error['len']
- let lcol = a:error['col'] - 1
- let rcol = a:error['col'] + a:error['len']
- let ret = '\%>' . lcol . 'c\%<' . rcol . 'c'
- else
- let ret = ''
- endif
-
- return ret
-endfunction
-
-function! SyntaxCheckers_dart_dartanalyzer_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '--machine' })
-
- " Machine readable format looks like:
- " SEVERITY|TYPE|ERROR_CODE|FILENAME|LINE_NUMBER|COLUMN|LENGTH|MESSAGE
- " SEVERITY: (WARNING|ERROR)
- " TYPE: (RESOLVER|STATIC_TYPE|...)
- " ERROR_CODE: (NO_SUCH_TYPE|...)
- " FILENAME: String
- " LINE_NUMBER: int
- " COLUMN: int
- " LENGTH: int
- " MESSAGE: String
-
- " We use %n to grab the error length, for the syntax highlighter
- let commonformat = '|%.%#|%.%#|%f|%l|%c|%n|%m'
-
- let errorformat =
- \ '%EERROR' . commonformat . ',' .
- \ '%WWARNING' . commonformat
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'returns': [0, 1, 2, 3] })
-
- for e in loclist
- let e['text'] = substitute(e['text'], '\m\\\([\\|]\)', '\1', 'g')
-
- " Undo the %n hack
- let e['len'] = e['nr']
- call remove(e, 'nr')
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'dart',
- \ 'name': 'dartanalyzer' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/docbk/igor.vim b/sources_non_forked/syntastic/syntax_checkers/docbk/igor.vim
deleted file mode 100644
index 54488610..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/docbk/igor.vim
+++ /dev/null
@@ -1,55 +0,0 @@
-"============================================================================
-"File: igor.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47
-"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_docbk_igor_checker')
- finish
-endif
-let g:loaded_syntastic_docbk_igor_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_docbk_igor_GetLocList() dict
- let makeprg = self.makeprgBuild({})
-
- let errorformat = '%f:%l:%m'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': { 'type': 'W' },
- \ 'subtype': 'Style',
- \ 'returns': [0] })
-
- let buf = bufnr('')
- for e in loclist
- " XXX: igor strips directories from filenames
- let e['bufnr'] = buf
-
- let e['hl'] = '\V' . escape( substitute(e['text'], '\m[^:]*:', '', ''), '\' )
- let e['hl'] = substitute(e['hl'], '\V[', '\\zs', 'g')
- let e['hl'] = substitute(e['hl'], '\V]', '\\ze', 'g')
-
- " let e['text'] = substitute(e['text'], '\m:.*$', '', '')
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'docbk',
- \ 'name': 'igor'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/docbk/xmllint.vim b/sources_non_forked/syntastic/syntax_checkers/docbk/xmllint.vim
deleted file mode 100644
index 30d66d25..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/docbk/xmllint.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-"============================================================================
-"File: docbk.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Martin Grenfell
-"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_docbk_xmllint_checker')
- finish
-endif
-let g:loaded_syntastic_docbk_xmllint_checker = 1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'docbk',
- \ 'name': 'xmllint',
- \ 'redirect': 'xml/xmllint'})
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/dockerfile/dockerfile_lint.vim b/sources_non_forked/syntastic/syntax_checkers/dockerfile/dockerfile_lint.vim
deleted file mode 100644
index 3a5b7694..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/dockerfile/dockerfile_lint.vim
+++ /dev/null
@@ -1,53 +0,0 @@
-"============================================================================
-"File: dockerfile_lint.vim
-"Description: Syntax checking plugin for syntastic.vim using dockerfile-lint
-" (https://github.com/projectatomic/dockerfile-lint).
-"Maintainer: Tim Carry
-"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_dockerfile_dockerfile_lint_checker')
- finish
-endif
-let g:loaded_syntastic_dockerfile_dockerfile_lint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_dockerfile_dockerfile_lint_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args_after': '-j',
- \ 'fname_before': '-f' })
-
- let errorformat = '%t:%n:%l:%m'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'dockerfile_lint',
- \ 'defaults': {'bufnr': bufnr('')},
- \ 'returns': [0, 1] })
-
- for e in loclist
- if e['nr']
- let e['subtype'] = 'Style'
- endif
- call remove(e, 'nr')
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'dockerfile',
- \ 'name': 'dockerfile_lint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/dustjs/swiffer.vim b/sources_non_forked/syntastic/syntax_checkers/dustjs/swiffer.vim
deleted file mode 100644
index 8edf1d5a..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/dustjs/swiffer.vim
+++ /dev/null
@@ -1,38 +0,0 @@
-"============================================================================
-"File: swiffer.vim
-"Description: Dust.js syntax checker - using swiffer
-"Maintainer: Steven Foote
-"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_dustjs_swiffer_checker')
- finish
-endif
-
-let g:loaded_syntastic_dustjs_swiffer_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_dustjs_swiffer_GetLocList() dict
- let makeprg = self.makeprgBuild({})
-
- let errorformat = '%E%f - Line %l\, Column %c: %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
- endfunction
-
-call SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'dustjs',
- \ 'name': 'swiffer'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/elixir/elixir.vim b/sources_non_forked/syntastic/syntax_checkers/elixir/elixir.vim
deleted file mode 100644
index f2ffe67e..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/elixir/elixir.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-"============================================================================
-"File: elixir.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Richard Ramsden
-"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_elixir_elixir_checker')
- finish
-endif
-let g:loaded_syntastic_elixir_elixir_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-" TODO: we should probably split this into separate checkers
-function! SyntaxCheckers_elixir_elixir_IsAvailable() dict
- call self.log(
- \ 'executable("elixir") = ' . executable('elixir') . ', ' .
- \ 'executable("mix") = ' . executable('mix'))
- return executable('elixir') && executable('mix')
-endfunction
-
-function! SyntaxCheckers_elixir_elixir_GetLocList() dict
- let make_options = {}
- let compile_command = 'elixir'
- let mix_file = syntastic#util#findFileInParent('mix.exs', expand('%:p:h', 1))
-
- if filereadable(mix_file)
- let compile_command = 'mix compile'
- let make_options['cwd'] = fnamemodify(mix_file, ':p:h')
- endif
-
- let make_options['makeprg'] = self.makeprgBuild({ 'exe': compile_command })
-
- let make_options['errorformat'] =
- \ '%E** %*[^\ ] %f:%l: %m,' .
- \ '%W%f:%l: warning: %m'
-
- return SyntasticMake(make_options)
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'elixir',
- \ 'name': 'elixir',
- \ 'enable': 'enable_elixir_checker'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/erlang/erlang_check_file.erl b/sources_non_forked/syntastic/syntax_checkers/erlang/erlang_check_file.erl
deleted file mode 100644
index 730e6005..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/erlang/erlang_check_file.erl
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/usr/bin/env escript
-
-main([File]) ->
- Dir = get_root(filename:dirname(File)),
- Defs = [strong_validation,
- warn_export_all,
- warn_export_vars,
- warn_shadow_vars,
- warn_obsolete_guard,
- warn_unused_import,
- report,
- {i, Dir ++ "/include"}],
- %% `rebar.config` is looked for,
- %% but it is not necessarily the one in the project root.
- %% I.e. it may be one deeper in the project file hierarchy.
- RebarFile = rebar_file(Dir),
- %% `rebar.config` might contain relative paths.
- %% They are relative to the file! Not to the project root.
- RebarOpts = rebar_opts(Dir ++ "/" ++ RebarFile),
- code:add_patha(filename:absname("ebin")),
- %% `compile:file/2` requires the `{i, Path}` to be relative
- %% to CWD - no surprise here.
- compile:file(File, Defs ++ translate_paths(Dir, RebarOpts));
-
-main(_) ->
- io:format("Usage: ~s ~n", [escript:script_name()]),
- halt(1).
-
-rebar_file(Dir) ->
- DirList = filename:split(Dir),
- case lists:last(DirList) of
- "test" ->
- "rebar.test.config";
- _ ->
- "rebar.config"
- end.
-
-rebar_opts(RebarFile) ->
- Dir = get_root(filename:dirname(RebarFile)),
- case file:consult(RebarFile) of
- {ok, Terms} ->
- RebarLibDirs = proplists:get_value(lib_dirs, Terms, []),
- lists:foreach(
- fun(LibDir) ->
- code:add_pathsa(filelib:wildcard(LibDir ++ "/*/ebin"))
- end, RebarLibDirs),
- RebarDepsDir = proplists:get_value(deps_dir, Terms, "deps"),
- code:add_pathsa(filelib:wildcard(RebarDepsDir ++ "/*/ebin")),
- IncludeDeps = {i, filename:join(Dir, RebarDepsDir)},
- proplists:get_value(erl_opts, Terms, []) ++ [IncludeDeps];
- {error, _} when RebarFile == "rebar.config" ->
- fallback_opts();
- {error, _} ->
- rebar_opts("rebar.config")
- end.
-
-fallback_opts() ->
- code:add_pathsa(filelib:wildcard("deps/*/ebin")),
- code:add_pathsa(nested_app_ebins()),
- [
- { i, filename:absname("apps") }, { i, filename:absname("deps") } | [ { i, filename:absname(Path) } || Path <- filelib:wildcard("deps/*/apps")]
- ].
-
-nested_app_ebins() ->
- DetectedAppSrcFiles = filelib:wildcard("deps/*/apps/**/*.app.src"),
- [apps_dir_from_src(AppSrcFile)||AppSrcFile<-DetectedAppSrcFiles].
-
-apps_dir_from_src(SrcFile) ->
- SrcDir = filename:dirname(SrcFile),
- filename:join(SrcDir, "../../ebin").
-
-get_root(Dir) ->
- Path = filename:split(filename:absname(Dir)),
- filename:join(get_root(lists:reverse(Path), Path)).
-
-get_root([], Path) ->
- Path;
-get_root(["src" | Tail], _Path) ->
- lists:reverse(Tail);
-get_root(["test" | Tail], _Path) ->
- lists:reverse(Tail);
-get_root([_ | Tail], Path) ->
- get_root(Tail, Path).
-
-translate_paths(Dir, RebarOpts) ->
- [ translate_path(Dir, Opt) || Opt <- RebarOpts ].
-
-translate_path(Dir, {i, Path}) ->
- case Path of
- %% absolute
- "/" ++ _ -> {i, Path};
- %% relative -> make absolute taking rebar.config location into account
- _ -> {i, filename:join([Dir, Path])}
- end;
-translate_path(_, Other) -> Other.
diff --git a/sources_non_forked/syntastic/syntax_checkers/erlang/escript.vim b/sources_non_forked/syntastic/syntax_checkers/erlang/escript.vim
deleted file mode 100644
index 9fd869fc..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/erlang/escript.vim
+++ /dev/null
@@ -1,61 +0,0 @@
-"============================================================================
-"File: erlang.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Pawel Salata
-"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_erlang_erlang_checker')
- finish
-endif
-let g:loaded_syntastic_erlang_erlang_checker = 1
-
-if !exists('g:syntastic_erlc_include_path')
- let g:syntastic_erlc_include_path = ''
-endif
-
-let s:check_file = syntastic#util#shescape(expand(':p:h', 1) . syntastic#util#Slash() . 'erlang_check_file.erl')
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_erlang_escript_GetLocList() dict
- if expand('%:e', 1) ==# 'hrl'
- return []
- endif
-
- let shebang = syntastic#util#parseShebang()
- if shebang['exe'] ==# 'escript'
- let args = '-s'
- let post_args = ''
- else
- let args = s:check_file
- let post_args = g:syntastic_erlc_include_path
- endif
- let makeprg = self.makeprgBuild({
- \ 'args_after': args,
- \ 'fname': syntastic#util#shexpand('%:p'),
- \ 'post_args_after': post_args })
-
- let errorformat =
- \ '%W%f:%l: warning: %m,'.
- \ '%E%f:%l: %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'erlang',
- \ 'name': 'escript'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/erlang/syntaxerl.vim b/sources_non_forked/syntastic/syntax_checkers/erlang/syntaxerl.vim
deleted file mode 100644
index 45f47359..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/erlang/syntaxerl.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-"============================================================================
-"File: syntaxerl.vim
-"Description: Syntax checking plugin for syntastic.
-"Maintainer: locojay
-"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_erlang_syntaxerl_checker')
- finish
-endif
-
-let g:loaded_syntastic_erlang_syntaxerl_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-
-function! SyntaxCheckers_erlang_syntaxerl_GetLocList() dict
-
- let makeprg = self.makeprgBuild({})
-
- let errorformat =
- \ '%W%f:%l: warning: %m,'.
- \ '%E%f:%l: %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'erlang',
- \ 'name': 'syntaxerl'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/eruby/ruby.vim b/sources_non_forked/syntastic/syntax_checkers/eruby/ruby.vim
deleted file mode 100644
index 16eed623..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/eruby/ruby.vim
+++ /dev/null
@@ -1,82 +0,0 @@
-"============================================================================
-"File: ruby.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Martin Grenfell
-"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_eruby_ruby_checker')
- finish
-endif
-let g:loaded_syntastic_eruby_ruby_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_eruby_ruby_IsAvailable() dict
- if !exists('g:syntastic_eruby_ruby_exec') && exists('g:syntastic_ruby_exec')
- let g:syntastic_eruby_ruby_exec = g:syntastic_ruby_exec
- call self.log('g:syntastic_eruby_ruby_exec =', g:syntastic_eruby_ruby_exec)
- endif
- return executable(self.getExec())
-endfunction
-
-function! SyntaxCheckers_eruby_ruby_GetLocList() dict
- if !exists('s:ruby_new')
- let s:ruby_new = syntastic#util#versionIsAtLeast(self.getVersion(), [1, 9])
- endif
-
- let fname = "'" . escape(expand('%', 1), "\\'") . "'"
-
- " TODO: encodings became useful in ruby 1.9 :)
- if s:ruby_new
- let enc = &fileencoding !=# '' ? &fileencoding : &encoding
- let encoding_spec = ', :encoding => "' . (enc ==? 'utf-8' ? 'UTF-8' : 'BINARY') . '"'
- else
- let encoding_spec = ''
- endif
-
- "gsub fixes issue #7, rails has it's own eruby syntax
- let makeprg =
- \ self.getExecEscaped() . ' -rerb -e ' .
- \ syntastic#util#shescape('puts ERB.new(File.read(' .
- \ fname . encoding_spec .
- \ ').gsub(''<%='',''<%''), nil, ''-'').src') .
- \ ' | ' . self.getExecEscaped() . ' -w -c'
-
- let errorformat = '%-G%\m%.%#warning: %\%%(possibly %\)%\?useless use of a literal in void context,'
-
- " filter out lines starting with ...
- " long lines are truncated and wrapped in ... %p then returns the wrong
- " column offset
- let errorformat .= '%-G%\%.%\%.%\%.%.%#,'
-
- let errorformat .=
- \ '%-GSyntax OK,'.
- \ '%E-:%l: syntax error\, %m,%Z%p^,'.
- \ '%W-:%l: warning: %m,'.
- \ '%Z%p^,'.
- \ '%-C%.%#'
-
- let env = syntastic#util#isRunningWindows() ? {} : { 'RUBYOPT': '' }
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'env': env,
- \ 'defaults': { 'bufnr': bufnr(''), 'vcol': 1 } })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'eruby',
- \ 'name': 'ruby'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/fortran/gfortran.vim b/sources_non_forked/syntastic/syntax_checkers/fortran/gfortran.vim
deleted file mode 100644
index fffaf308..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/fortran/gfortran.vim
+++ /dev/null
@@ -1,99 +0,0 @@
-"============================================================================
-"File: fortran.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Karl Yngve Lervåg
-"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_fortran_gfortran_checker')
- finish
-endif
-let g:loaded_syntastic_fortran_gfortran_checker = 1
-
-if !exists('g:syntastic_fortran_compiler_options')
- let g:syntastic_fortran_compiler_options = ''
-endif
-
-let s:type_map = {}
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_fortran_gfortran_IsAvailable() dict " {{{1
- if !exists('g:syntastic_fortran_compiler')
- let g:syntastic_fortran_compiler = self.getExec()
- endif
- call self.log('g:syntastic_fortran_compiler = ', g:syntastic_fortran_compiler)
- return executable(expand(g:syntastic_fortran_compiler, 1))
-endfunction " }}}1
-
-" @vimlint(EVL104, 1, l:errorformat)
-function! SyntaxCheckers_fortran_gfortran_GetLocList() dict " {{{1
- call s:SetCompilerType(g:syntastic_fortran_compiler)
- if !has_key(s:type_map, g:syntastic_fortran_compiler)
- call syntastic#log#error("checker fortran/gfortran: can't parse version string (abnormal termination?)")
- return []
- endif
-
- if s:type_map[g:syntastic_fortran_compiler] ==# 'gfortran'
- let errorformat =
- \ '%-C %#,'.
- \ '%-C %#%.%#,'.
- \ '%A%f:%l%[.:]%c:,'.
- \ '%Z%\m%\%%(Fatal %\)%\?%trror: %m,'.
- \ '%Z%tarning: %m,'.
- \ '%-G%.%#'
- if !exists('g:syntastic_fortran_gfortran_sort')
- let g:syntastic_fortran_gfortran_sort = 0
- endif
- elseif s:type_map[g:syntastic_fortran_compiler] ==# 'ifort'
- let errorformat =
- \ '%E%f(%l): error #%n: %m,'.
- \ '%W%f(%l): warning #%n: %m,'.
- \ '%W%f(%l): remark #%n: %m,'.
- \ '%-Z%p^,'.
- \ '%-G%.%#'
- if !exists('g:syntastic_fortran_gfortran_sort')
- let g:syntastic_fortran_gfortran_sort = 1
- endif
- endif
-
- return syntastic#c#GetLocList('fortran', 'gfortran', {
- \ 'errorformat': errorformat,
- \ 'main_flags': '-fsyntax-only' })
-endfunction " }}}1
-" @vimlint(EVL104, 0, l:errorformat)
-
-" Utilities {{{1
-
-function! s:SetCompilerType(exe) " {{{2
- if !has_key(s:type_map, a:exe)
- try
- let ver = filter( split(syntastic#util#system(syntastic#util#shescape(a:exe) . ' --version'), '\n'),
- \ 'v:val =~# "\\v^%(GNU Fortran|ifort) "' )[0]
- if ver =~# '\m^GNU Fortran '
- let s:type_map[a:exe] = 'gfortran'
- elseif ver =~# '\m^ifort '
- let s:type_map[a:exe] = 'ifort'
- endif
- catch /\m^Vim\%((\a\+)\)\=:E684/
- " do nothing
- endtry
- endif
-endfunction " }}}2
-
-" }}}
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'fortran',
- \ 'name': 'gfortran' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/glsl/cgc.vim b/sources_non_forked/syntastic/syntax_checkers/glsl/cgc.vim
deleted file mode 100644
index 602399d7..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/glsl/cgc.vim
+++ /dev/null
@@ -1,81 +0,0 @@
-"============================================================================
-"File: glsl.vim
-"Description: Syntax checker for OpenGL Shading Language
-"Maintainer: Joshua Rahm
-"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_glsl_cgc_checker')
- finish
-endif
-let g:loaded_syntastic_glsl_cgc_checker = 1
-
-let s:glsl_extensions = {
- \ 'glslf': 'gpu_fp',
- \ 'glslv': 'gpu_vp',
- \ 'frag': 'gpu_fp',
- \ 'vert': 'gpu_vp',
- \ 'fp': 'gpu_fp',
- \ 'vp': 'gpu_vp'
- \ }
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_glsl_cgc_GetLocList() dict " {{{1
- let makeprg = self.makeprgBuild({
- \ 'args_before': '-oglsl -profile ' . s:GetProfile(),
- \ 'args': (exists('g:syntastic_glsl_options') ? ' ' . g:syntastic_glsl_options : '') })
-
- let errorformat =
- \ '%E%f(%l) : error %m,' .
- \ '%W%f(%l) : warning %m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction " }}}1
-
-" Utilities {{{1
-
-function! s:GetProfile() " {{{2
- let save_view = winsaveview()
- let old_foldenable = &foldenable
- let old_lazyredraw = &lazyredraw
-
- let &lazyredraw = 1
- let &foldenable = 0
- call cursor(1, 1)
-
- let magic = '\m\C^// profile:\s*'
- let line = search(magic, 'c')
-
- call winrestview(save_view)
- let &foldenable = old_foldenable
- let &lazyredraw = old_lazyredraw
-
- if line
- let profile = matchstr(getline(line), magic . '\zs.*')
- else
- let extensions = exists('g:syntastic_glsl_extensions') ? g:syntastic_glsl_extensions : s:glsl_extensions
- let profile = get(extensions, tolower(expand('%:e', 1)), 'gpu_vert')
- endif
-
- return profile
-endfunction " }}}2
-
-" }}}1
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \'filetype': 'glsl',
- \'name': 'cgc'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/go.vim b/sources_non_forked/syntastic/syntax_checkers/go/go.vim
deleted file mode 100644
index f32f505b..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/go.vim
+++ /dev/null
@@ -1,103 +0,0 @@
-"============================================================================
-"File: go.vim
-"Description: Check go syntax using 'gofmt -l' followed by 'go [build|test]'
-"Maintainer: Kamil Kisiel
-"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.
-"
-"============================================================================
-"
-" This syntax checker does not reformat your source code.
-" Use a BufWritePre autocommand to that end:
-" autocmd FileType go autocmd BufWritePre Fmt
-
-if exists('g:loaded_syntastic_go_go_checker')
- finish
-endif
-let g:loaded_syntastic_go_go_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_go_IsAvailable() dict
- return executable(self.getExec()) && executable('gofmt')
-endfunction
-
-function! SyntaxCheckers_go_go_GetLocList() dict
- if !exists('s:go_new')
- let s:go_new = syntastic#util#versionIsAtLeast(self.getVersion(self.getExecEscaped() . ' version'), [1, 5])
- endif
-
- " Check with gofmt first, since `go build` and `go test` might not report
- " syntax errors in the current file if another file with syntax error is
- " compiled first.
- let makeprg = self.makeprgBuild({
- \ 'exe': 'gofmt',
- \ 'args': '-l',
- \ 'tail': '> ' . syntastic#util#DevNull() })
-
- let errorformat =
- \ '%f:%l:%c: %m,' .
- \ '%-G%.%#'
-
- let errors = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'type': 'e'} })
- if !empty(errors)
- return errors
- endif
-
- " Test files, i.e. files with a name ending in `_test.go`, are not
- " compiled by `go build`, therefore `go test` must be called for those.
- if match(expand('%', 1), '\m_test\.go$') == -1
- let cmd = 'build'
- let opts = syntastic#util#var('go_go_build_args', s:go_new ? '-buildmode=archive' : '')
- let cleanup = 0
- else
- let cmd = 'test -c'
- let opts = syntastic#util#var('go_go_test_args', s:go_new ? '-buildmode=archive' : '')
- let cleanup = 1
- endif
- let opt_str = (type(opts) != type('') || opts !=# '') ? join(syntastic#util#argsescape(opts)) : opts
- let makeprg = self.getExecEscaped() . ' ' . cmd . ' ' . opt_str
-
- " The first pattern is for warnings from C compilers.
- let errorformat =
- \ '%W%f:%l: warning: %m,' .
- \ '%E%f:%l:%c:%m,' .
- \ '%E%f:%l:%m,' .
- \ '%C%\s%\+%m,' .
- \ '%+Ecan''t load package: %m,' .
- \ '%+Einternal error: %m,' .
- \ '%-G#%.%#'
-
- " The go compiler needs to either be run with an import path as an
- " argument or directly from the package directory. Since figuring out
- " the proper import path is fickle, just cwd to the package.
-
- let errors = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'cwd': expand('%:p:h', 1),
- \ 'env': {'GOGC': 'off'},
- \ 'defaults': {'type': 'e'} })
-
- if cleanup
- call delete(expand('%:p:h', 1) . syntastic#util#Slash() . expand('%:p:h:t', 1) . '.test')
- endif
-
- return errors
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'go'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/gofmt.vim b/sources_non_forked/syntastic/syntax_checkers/go/gofmt.vim
deleted file mode 100644
index bdb62188..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/gofmt.vim
+++ /dev/null
@@ -1,45 +0,0 @@
-"============================================================================
-"File: gofmt.vim
-"Description: Check go syntax using 'gofmt -l'
-"Maintainer: Brandon Thomson
-"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.
-"
-"============================================================================
-"
-" This syntax checker does not reformat your source code.
-" Use a BufWritePre autocommand to that end:
-" autocmd FileType go autocmd BufWritePre Fmt
-
-if exists('g:loaded_syntastic_go_gofmt_checker')
- finish
-endif
-let g:loaded_syntastic_go_gofmt_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_gofmt_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args_after': '-l',
- \ 'tail_after': '> ' . syntastic#util#DevNull() })
-
- let errorformat = '%f:%l:%c: %m,%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'type': 'e'} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'gofmt'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/golint.vim b/sources_non_forked/syntastic/syntax_checkers/go/golint.vim
deleted file mode 100644
index 29eee0ce..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/golint.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-"============================================================================
-"File: golint.vim
-"Description: Check go syntax using 'golint'
-"Maintainer: Hiroshi Ioka
-"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_go_golint_checker')
- finish
-endif
-let g:loaded_syntastic_go_golint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_golint_GetLocList() dict
- let makeprg = self.makeprgBuild({})
-
- let errorformat =
- \ '%f:%l:%c: %m,' .
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'type': 'w'},
- \ 'subtype': 'Style' })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'golint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/gometalinter.vim b/sources_non_forked/syntastic/syntax_checkers/go/gometalinter.vim
deleted file mode 100644
index 780f49b4..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/gometalinter.vim
+++ /dev/null
@@ -1,53 +0,0 @@
-"============================================================================
-"File: gometalinter.vim
-"Description: Check go syntax using 'gometalint'
-"Maintainer: Joshua Rubin
-"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_go_gometalinter_checker')
- finish
-endif
-let g:loaded_syntastic_go_gometalinter_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_gometalinter_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': '-t',
- \ 'fname': syntastic#util#shexpand('%:p:h') })
-
- let errorformat =
- \ '%f:%l:%c:%trror: %m,' .
- \ '%f:%l:%c:%tarning: %m,' .
- \ '%f:%l::%trror: %m,' .
- \ '%f:%l::%tarning: %m'
-
- let loclist = SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'returns': [0, 1] })
-
- for e in loclist
- if e['text'] =~# '\v\(%(deadcode|gocyclo|golint|defercheck|varcheck|structcheck|errcheck|dupl)\)$'
- let e['subtype'] = 'Style'
- endif
- endfor
-
- return loclist
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'gometalinter'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/gotype.vim b/sources_non_forked/syntastic/syntax_checkers/go/gotype.vim
deleted file mode 100644
index 37472eeb..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/gotype.vim
+++ /dev/null
@@ -1,48 +0,0 @@
-"============================================================================
-"File: gotype.vim
-"Description: Perform syntactic and semantic checking of Go code using 'gotype'
-"Maintainer: luz
-"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_go_gotype_checker')
- finish
-endif
-let g:loaded_syntastic_go_gotype_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_gotype_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'args': (expand('%', 1) =~# '\m_test\.go$' ? '-a' : ''),
- \ 'fname': '.' })
-
- let errorformat =
- \ '%f:%l:%c: %m,' .
- \ '%-G%.%#'
-
- " gotype needs the full go package to test types properly. Just cwd to
- " the package for the same reasons specified in go.vim ("figuring out
- " the import path is fickle").
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'cwd': expand('%:p:h', 1),
- \ 'defaults': {'type': 'e'} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'gotype'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/go/govet.vim b/sources_non_forked/syntastic/syntax_checkers/go/govet.vim
deleted file mode 100644
index 5d26637e..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/go/govet.vim
+++ /dev/null
@@ -1,52 +0,0 @@
-"============================================================================
-"File: govet.vim
-"Description: Perform static analysis of Go code with the vet tool
-"Maintainer: Kamil Kisiel
-"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_go_govet_checker')
- finish
-endif
-let g:loaded_syntastic_go_govet_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_go_govet_IsAvailable() dict
- return executable(self.getExec())
-endfunction
-
-function! SyntaxCheckers_go_govet_GetLocList() dict
- let makeprg = self.getExecEscaped() . ' vet'
-
- let errorformat =
- \ '%Evet: %.%\+: %f:%l:%c: %m,' .
- \ '%W%f:%l: %m,' .
- \ '%-G%.%#'
-
- " The go compiler needs to either be run with an import path as an
- " argument or directly from the package directory. Since figuring out
- " the proper import path is fickle, just cwd to the package.
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'cwd': expand('%:p:h', 1),
- \ 'defaults': {'type': 'w'} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'go',
- \ 'name': 'govet',
- \ 'exec': 'go' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haml/haml.vim b/sources_non_forked/syntastic/syntax_checkers/haml/haml.vim
deleted file mode 100644
index c0c73182..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haml/haml.vim
+++ /dev/null
@@ -1,46 +0,0 @@
-"============================================================================
-"File: haml.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Martin Grenfell
-"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_haml_haml_checker')
- finish
-endif
-let g:loaded_syntastic_haml_haml_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_haml_haml_IsAvailable() dict
- call syntastic#log#deprecationWarn('haml_interpreter', 'haml_haml_exec')
- return executable(self.getExec())
-endfunction
-
-function! SyntaxCheckers_haml_haml_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-c' })
-
- let errorformat =
- \ 'Haml error on line %l: %m,' .
- \ 'Syntax error on line %l: %m,' .
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'haml',
- \ 'name': 'haml'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haml/haml_lint.vim b/sources_non_forked/syntastic/syntax_checkers/haml/haml_lint.vim
deleted file mode 100644
index 60b3db3f..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haml/haml_lint.vim
+++ /dev/null
@@ -1,37 +0,0 @@
-"============================================================================
-"File: haml_lint.vim
-"Description: HAML style and syntax checker plugin for Syntastic
-"Maintainer: Shane da Silva
-"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_haml_haml_lint_checker')
- finish
-endif
-let g:loaded_syntastic_haml_haml_lint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_haml_haml_lint_GetLocList() dict
- let makeprg = self.makeprgBuild({})
- let errorformat = '%f:%l [%t] %m'
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'subtype': 'Style'})
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'haml',
- \ 'name': 'haml_lint',
- \ 'exec': 'haml-lint' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/handlebars/handlebars.vim b/sources_non_forked/syntastic/syntax_checkers/handlebars/handlebars.vim
deleted file mode 100644
index f5ae7427..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/handlebars/handlebars.vim
+++ /dev/null
@@ -1,43 +0,0 @@
-"============================================================================
-"File: handlebars.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Martin Grenfell
-"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_handlebars_handlebars_checker')
- finish
-endif
-let g:loaded_syntastic_handlebars_handlebars_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_handlebars_handlebars_GetLocList() dict
- let makeprg = self.makeprgBuild({ 'args_after': '-f ' . syntastic#util#DevNull() })
-
- let errorformat =
- \ '%EError: %m on line %l:,' .
- \ '%EError: %m,' .
- \ '%Z%p^,' .
- \ '%-G%.%#'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'postprocess': ['guards'],
- \ 'defaults': {'bufnr': bufnr('')} })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'handlebars',
- \ 'name': 'handlebars'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haskell/ghc-mod.vim b/sources_non_forked/syntastic/syntax_checkers/haskell/ghc-mod.vim
deleted file mode 100644
index 1d3c946b..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haskell/ghc-mod.vim
+++ /dev/null
@@ -1,94 +0,0 @@
-"============================================================================
-"File: ghc-mod.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Anthony Carapetis
-"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_haskell_ghc_mod_checker')
- finish
-endif
-let g:loaded_syntastic_haskell_ghc_mod_checker = 1
-
-let s:ghc_mod_new = -1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_haskell_ghc_mod_IsAvailable() dict
- if !executable(self.getExec())
- return 0
- endif
-
- " ghc-mod 5.0.0 and later needs the "version" command to print the
- " version. But the "version" command appeared in 4.1.0. Thus, we need to
- " know the version in order to know how to find out the version. :)
-
- " Try "ghc-mod version".
- let version_output = split(syntastic#util#system(self.getExecEscaped() . ' version'), '\n', 1)
- let ver = filter(copy(version_output), 'v:val =~# ''\m\sversion''')
- if !len(ver)
- " That didn't work. Try "ghc-mod" alone.
- let version_output = split(syntastic#util#system(self.getExecEscaped()), '\n', 1)
- let ver = filter(copy(version_output), 'v:val =~# ''\m\sversion''')
- endif
- let parsed_ver = len(ver) ? syntastic#util#parseVersion(ver[0]) : []
-
- if len(parsed_ver)
- " Encouraged by the great success in finding out the version, now we
- " need either a Vim that can handle NULs in system() output, or a
- " ghc-mod that has the "--boundary" option.
- call self.setVersion(parsed_ver)
- let s:ghc_mod_new = syntastic#util#versionIsAtLeast(parsed_ver, [2, 1, 2])
- else
- call syntastic#log#ndebug(g:_SYNTASTIC_DEBUG_LOCLIST, 'checker output:', version_output)
- call syntastic#log#error("checker haskell/ghc_mod: can't parse version string (abnormal termination?)")
- let s:ghc_mod_new = -1
- endif
-
- " ghc-mod 5.4.0 wants to run in the root directory of the project;
- " syntastic can't cope with the resulting complications
- "
- " References:
- " https://hackage.haskell.org/package/ghc-mod-5.4.0.0/changelog
- let s:ghc_mod_bailout = syntastic#util#versionIsAtLeast(parsed_ver, [5, 4])
-
- return (s:ghc_mod_new >= 0) && (v:version >= 704 || s:ghc_mod_new) && !s:ghc_mod_bailout
-endfunction
-
-function! SyntaxCheckers_haskell_ghc_mod_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'exe': self.getExecEscaped() . ' check' . (s:ghc_mod_new ? ' --boundary=""' : '') })
-
- let errorformat =
- \ '%-G%\s%#,' .
- \ '%f:%l:%c:%trror: %m,' .
- \ '%f:%l:%c:%tarning: %m,'.
- \ '%f:%l:%c: %trror: %m,' .
- \ '%f:%l:%c: %tarning: %m,' .
- \ '%f:%l:%c:%m,' .
- \ '%E%f:%l:%c:,' .
- \ '%Z%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'preprocess': 'iconv',
- \ 'postprocess': ['compressWhitespace'],
- \ 'returns': [0] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'haskell',
- \ 'name': 'ghc_mod',
- \ 'exec': 'ghc-mod' })
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haskell/hdevtools.vim b/sources_non_forked/syntastic/syntax_checkers/haskell/hdevtools.vim
deleted file mode 100644
index 4b0a80fb..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haskell/hdevtools.vim
+++ /dev/null
@@ -1,56 +0,0 @@
-"============================================================================
-"File: hdevtools.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Anthony Carapetis
-"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_haskell_hdevtools_checker')
- finish
-endif
-let g:loaded_syntastic_haskell_hdevtools_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_haskell_hdevtools_GetLocList() dict
- if !exists('g:syntastic_haskell_hdevtools_args') && exists('g:hdevtools_options')
- call syntastic#log#oneTimeWarn('variable g:hdevtools_options is deprecated, ' .
- \ 'please use g:syntastic_haskell_hdevtools_args instead')
- let g:syntastic_haskell_hdevtools_args = g:hdevtools_options
- endif
-
- let makeprg = self.makeprgBuild({
- \ 'exe_after': 'check',
- \ 'fname': syntastic#util#shexpand('%:p') })
-
- let errorformat =
- \ '%-Z %#,'.
- \ '%W%f:%l:%v: Warning: %m,'.
- \ '%W%f:%l:%v: Warning:,'.
- \ '%E%f:%l:%v: %m,'.
- \ '%E%>%f:%l:%v:,'.
- \ '%+C %#%m,'.
- \ '%W%>%f:%l:%v:,'.
- \ '%+C %#%tarning: %m,'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'vcol': 1},
- \ 'postprocess': ['compressWhitespace'] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'haskell',
- \ 'name': 'hdevtools'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haskell/hlint.vim b/sources_non_forked/syntastic/syntax_checkers/haskell/hlint.vim
deleted file mode 100644
index c75ea8b4..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haskell/hlint.vim
+++ /dev/null
@@ -1,41 +0,0 @@
-"============================================================================
-"File: hlint.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: Nicolas Wu
-"License: BSD
-"============================================================================
-
-if exists('g:loaded_syntastic_haskell_hlint_checker')
- finish
-endif
-let g:loaded_syntastic_haskell_hlint_checker = 1
-
-let s:save_cpo = &cpo
-set cpo&vim
-
-function! SyntaxCheckers_haskell_hlint_GetLocList() dict
- let makeprg = self.makeprgBuild({
- \ 'fname': syntastic#util#shexpand('%:p')})
-
- let errorformat =
- \ '%E%f:%l:%v: Error while reading hint file\, %m,' .
- \ '%E%f:%l:%v: Error: %m,' .
- \ '%W%f:%l:%v: Warning: %m,' .
- \ '%W%f:%l:%v: Suggestion: %m,' .
- \ '%C%m'
-
- return SyntasticMake({
- \ 'makeprg': makeprg,
- \ 'errorformat': errorformat,
- \ 'defaults': {'vcol': 1},
- \ 'postprocess': ['compressWhitespace'] })
-endfunction
-
-call g:SyntasticRegistry.CreateAndRegisterChecker({
- \ 'filetype': 'haskell',
- \ 'name': 'hlint'})
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: set sw=4 sts=4 et fdm=marker:
diff --git a/sources_non_forked/syntastic/syntax_checkers/haskell/scan.vim b/sources_non_forked/syntastic/syntax_checkers/haskell/scan.vim
deleted file mode 100644
index 7cf7e7ba..00000000
--- a/sources_non_forked/syntastic/syntax_checkers/haskell/scan.vim
+++ /dev/null
@@ -1,43 +0,0 @@
-"============================================================================
-"File: scan.vim
-"Description: Syntax checking plugin for syntastic.vim
-"Maintainer: LCD 47