• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/vim-55/runtime/autoload/

Lines Matching +refs:syntax +refs:table

14 "         - Now returns a List of the syntax items it finds.
30 " names in order to simplify the regexes used to pull out query table
31 " aliases for more robust table name and column name code completion.
32 " Full support for "table names with spaces" can be added in again
37 " when drilling in and out of a column list for a table.
43 " Supports object names with spaces "my table name"
86 " Default the option to verify table alias
90 " Default syntax items to precache
93 \ 'syntax',
105 " During table completion, should the table list also
111 " New to dbext 3.00, by default the table lists include the owner
112 " name of the table. This is used when determining how much of
123 " Default to table name completion
124 let compl_type = 'table'
144 " can contain spaces like "my table name".
154 \ compl_type =~ 'column\|table\|view\|procedure'
162 " a table name if it was also supplied.
172 " If omni_sql_include_owner = 0, do not include the table
175 \ compl_type =~ 'table\|view\|procedure\column_csv' &&
204 " Default to table name completion
205 let compl_type = 'table'
213 let compl_type = 'table'
217 if compl_type == 'table' ||
257 " the table name. If the user selects a column list
258 " without a table name of alias present, assume they want
269 let table = matchstr( base, '^\(.*\.\)\?\zs.*\ze\..*' )
274 " owner.table
275 " table.column_prefix
280 " 2. Based on 1, if the user is showing a table list
282 " this will be owner.table. In this case, we can
283 " check to see the table.column exists in the
284 " cached table list. If it does, then we have
286 " owner.table, not table.column_prefix.
291 let found = index( tbl_list, ((table != '')?(table.'.'):'').column)
294 " If the table.column was found in the table list, we can safely assume
297 " If the user has indicated not to use table owners at all and
301 let owner = table
302 let table = column
306 let table = base
309 " Get anything after the . and consider this the table name
314 if table != ""
321 " for each column in the table.
325 let compl_list = s:SQLCGetColumns(table, list_type)
327 " If no column prefix has been provided and the table
330 let compl_list = map(compl_list, "table.'.'.v:val")
366 " Match to a owner.table or alias.column type match
368 " Handle names with spaces "my table name"
501 " Check if we have already cached the syntax list
507 " Request the syntax list items from the
508 " syntax completion plugin
509 if syn_group == 'syntax'
511 " to indicate they want all the syntax items available,
515 " The user has specified a specific syntax group
588 let table_alias = inputdialog("Enter table alias:", table_alias)
615 " Check if the table name was provided as part of the column name
623 " If the table name was given as:
633 " Check if we have already cached the column list for this table
639 " Check if we have already cached the column list for this table
641 " the alias for the table instead
653 " If we have not found a cached copy of the table
654 " And the table ends in a "." or we are looking for a column list
698 " '\<\w\+\>\ze' - Get the table name
746 " Simply assume it is a table name provided with a . on the end