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
2
2
3
3
by David Fishburn
4
4
@@ -168,7 +168,7 @@ with comments: >
168
168
169
169
1.4 Macros *sql-macros*
170
170
----------
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
172
172
regular expression: >
173
173
\c\<\(VARIABLE\|DECLARE\|IN\|OUT\|INOUT\)\>
174
174
@@ -239,13 +239,13 @@ buffer basis, at any time. The ftplugin/sql.vim file defines this function: >
239
239
240
240
Executing this function without any parameters will set the indent and syntax
241
241
scripts 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
243
243
complete the optional parameter.
244
244
245
245
After typing the function name and a space, you can use the completion to
246
246
supply a parameter. The function takes the name of the Vim script you want to
247
247
source. 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' .
249
249
This takes the guess work out of the spelling of the names. The following are
250
250
examples: >
251
251
:SQLSetType
@@ -755,7 +755,7 @@ Step 1
755
755
Begins by editing a Perl file. Vim automatically sets the filetype to
756
756
"perl". By default, Vim runs the appropriate filetype file
757
757
ftplugin/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
759
759
"syntax#Complete". Pressing <C-X><C-O> will display the omni popup containing
760
760
the syntax items for Perl.
761
761
@@ -767,7 +767,7 @@ maps for SQL completion, see |sql-completion-maps|. Now these maps have
767
767
been created and the SQL completion plugin has been initialized. All SQL
768
768
syntax items have been cached in preparation. The SQL filetype script detects
769
769
we 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
771
771
can use <C-X><C-O> to continue using the completion for Perl (using the syntax
772
772
completion plugin) and <C-C> to use the SQL completion features.
773
773
0 commit comments