comparison runtime/autoload/sqlcomplete.vim @ 12756:3b26420fc639

Long overdue runtime update. commit https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 2 22:58:42 2017 +0100 Long overdue runtime update.
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Nov 2017 23:00:08 +0100
parents 93f747af7b58
children 11b656e74444
comparison
equal deleted inserted replaced
12755:3529eea08ad9 12756:3b26420fc639
1 " Vim OMNI completion script for SQL 1 " Vim OMNI completion script for SQL
2 " Language: SQL 2 " Language: SQL
3 " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com> 3 " Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
4 " Version: 16.0 4 " Version: 16.0
5 " Last Change: 2015 Dec 29 5 " Last Change: 2017 Oct 15
6 " Homepage: http://www.vim.org/scripts/script.php?script_id=1572 6 " Homepage: http://www.vim.org/scripts/script.php?script_id=1572
7 " Usage: For detailed help 7 " Usage: For detailed help
8 " ":help sql.txt" 8 " ":help sql.txt"
9 " or ":help ft-sql-omni" 9 " or ":help ft-sql-omni"
10 " or read $VIMRUNTIME/doc/sql.txt 10 " or read $VIMRUNTIME/doc/sql.txt
858 " exec 'silent! normal! v?\<\(select\|update\|delete\|;\)\>'."\n".'"yy' 858 " exec 'silent! normal! v?\<\(select\|update\|delete\|;\)\>'."\n".'"yy'
859 exec 'silent! normal! ?\<\c\(select\|update\|delete\|;\)\>'."\n" 859 exec 'silent! normal! ?\<\c\(select\|update\|delete\|;\)\>'."\n"
860 860
861 " Start characterwise visual mode 861 " Start characterwise visual mode
862 " Advance right one character 862 " Advance right one character
863 " Search foward until one of the following: 863 " Search forward until one of the following:
864 " 1. Another select/update/delete statement 864 " 1. Another select/update/delete statement
865 " 2. A ; at the end of a line (the delimiter) 865 " 2. A ; at the end of a line (the delimiter)
866 " 3. The end of the file (incase no delimiter) 866 " 3. The end of the file (incase no delimiter)
867 " Yank the visually selected text into the "y register. 867 " Yank the visually selected text into the "y register.
868 exec 'silent! normal! vl/\c\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy' 868 exec 'silent! normal! vl/\c\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy'