Mercurial > vim
comparison runtime/ftplugin/sql.vim @ 16610:1eaf34420bb3
Update runtime files
commit https://github.com/vim/vim/commit/a6c27c47ddf081859659d7de1caec675147e466b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 9 19:16:22 2019 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 May 2019 19:30:06 +0200 |
parents | d0a20101ecb2 |
children | d46f974fd69e |
comparison
equal
deleted
inserted
replaced
16609:175385d2d3d9 | 16610:1eaf34420bb3 |
---|---|
398 let g:ftplugin_sql_statements = 'create' | 398 let g:ftplugin_sql_statements = 'create' |
399 endif | 399 endif |
400 | 400 |
401 " Predefined SQL objects what are used by the below mappings using | 401 " Predefined SQL objects what are used by the below mappings using |
402 " the ]} style maps. | 402 " the ]} style maps. |
403 " This global variable allows the users to override it's value | 403 " This global variable allows the users to override its value |
404 " from within their vimrc. | 404 " from within their vimrc. |
405 " Note, you cannot use \?, since these patterns can be used to search | 405 " Note, you cannot use \?, since these patterns can be used to search |
406 " backwards, you must use \{,1} | 406 " backwards, you must use \{,1} |
407 if !exists('g:ftplugin_sql_objects') | 407 if !exists('g:ftplugin_sql_objects') |
408 let g:ftplugin_sql_objects = 'function,procedure,event,' . | 408 let g:ftplugin_sql_objects = 'function,procedure,event,' . |
484 " Since the SQL completion plugin can be used in conjunction | 484 " Since the SQL completion plugin can be used in conjunction |
485 " with other completion filetypes it must record the previous | 485 " with other completion filetypes it must record the previous |
486 " OMNI function prior to setting up the SQL OMNI function | 486 " OMNI function prior to setting up the SQL OMNI function |
487 let b:sql_compl_savefunc = &omnifunc | 487 let b:sql_compl_savefunc = &omnifunc |
488 | 488 |
489 " Source it to determine it's version | 489 " Source it to determine its version |
490 runtime autoload/sqlcomplete.vim | 490 runtime autoload/sqlcomplete.vim |
491 " This is used by the sqlcomplete.vim plugin | 491 " This is used by the sqlcomplete.vim plugin |
492 " Source it for it's global functions | 492 " Source it for its global functions |
493 runtime autoload/syntaxcomplete.vim | 493 runtime autoload/syntaxcomplete.vim |
494 | 494 |
495 setlocal omnifunc=sqlcomplete#Complete | 495 setlocal omnifunc=sqlcomplete#Complete |
496 " Prevent the intellisense plugin from loading | 496 " Prevent the intellisense plugin from loading |
497 let b:sql_vis = 1 | 497 let b:sql_vis = 1 |