1- *ft_sql.txt* For Vim version 9.1. Last change: 2022 Apr 06
1+ *ft_sql.txt* For Vim version 9.1. Last change: 2025 Aug 06
22
33by David Fishburn
44
@@ -168,7 +168,7 @@ with comments: >
168168
169169 1.4 Macros *sql-macros*
170170----------
171- Vim's feature to find macro definitions, | 'define' | , is supported using this
171+ Vim's feature to find macro definitions, 'define' , is supported using this
172172regular expression: >
173173 \c\<\(VARIABLE\|DECLARE\|IN\|OUT\|INOUT\)\>
174174
@@ -239,13 +239,13 @@ buffer basis, at any time. The ftplugin/sql.vim file defines this function: >
239239
240240 Executing this function without any parameters will set the indent and syntax
241241scripts back to their defaults, see | sql-type-default | . If you have turned
242- off Vi's compatibility mode, | 'compatible' | , you can use the <Tab> key to
242+ off Vi's compatibility mode, 'compatible' , you can use the <Tab> key to
243243complete the optional parameter.
244244
245245After typing the function name and a space, you can use the completion to
246246supply a parameter. The function takes the name of the Vim script you want to
247247source. Using the | cmdline-completion | feature, the SQLSetType function will
248- search the | 'runtimepath' | for all Vim scripts with a name containing 'sql' .
248+ search the 'runtimepath' for all Vim scripts with a name containing 'sql' .
249249This takes the guess work out of the spelling of the names. The following are
250250examples: >
251251 :SQLSetType
@@ -755,7 +755,7 @@ Step 1
755755Begins by editing a Perl file. Vim automatically sets the filetype to
756756"perl". By default, Vim runs the appropriate filetype file
757757ftplugin/perl.vim. If you are using the syntax completion plugin by following
758- the directions at | ft-syntax-omni | then the | 'omnifunc' | option has been set to
758+ the directions at | ft-syntax-omni | then the 'omnifunc' option has been set to
759759"syntax#Complete". Pressing <C-X><C-O> will display the omni popup containing
760760the syntax items for Perl.
761761
@@ -767,7 +767,7 @@ maps for SQL completion, see |sql-completion-maps|. Now these maps have
767767been created and the SQL completion plugin has been initialized. All SQL
768768syntax items have been cached in preparation. The SQL filetype script detects
769769we are attempting to use two different completion plugins. Since the SQL maps
770- begin with <C-C> , the maps will toggle the | 'omnifunc' | when in use. So you
770+ begin with <C-C> , the maps will toggle the 'omnifunc' when in use. So you
771771can use <C-X><C-O> to continue using the completion for Perl (using the syntax
772772completion plugin) and <C-C> to use the SQL completion features.
773773
0 commit comments