sql - GVim not recognizing commands in plugin -
how gvim recognize sqlcomplete.vim commands?
i'm unable use sqlcomplete.vim plugin. when running :version
following output:
and scrolling way bottom here rest of output:
and env variables:
:echo $vim c:\users\me\.babun\cygwin\etc\ :echo $home h:\
here output of :scriptnames
:
when running sqlcomplete.vim command such :sqlsettype sqlanywhere
output is:
how gvim recognize sqlcomplete.vim commands?
another piece of helpful information output of :echo &rtp
:
h:\vimfiles,h:\.vim\bundle\vundle.vim,h:\.vim\bundle\dbext.vim,h:\.vim\bundle\sq lcomplete.vim,c:\users\me\.babun\cygwin\etc\vimfiles,c:\users\me\.babu n\cygwin\etc\,c:\users\me\.babun\cygwin\etc\vimfiles/after,h:\vimfiles/afte r,h:\.vim/bundle/vundle.vim,h:\.vim\bundle\vundle.vim/after,h:\.vim\bundle\dbext .vim/after,h:\.vim\bundle\sqlcomplete.vim/after
some points check:
:scriptnames
shows plugin\sqlcomplete.vim
but link provided points .../vim/runtime/autoload/sqlcomplete.vim, there no .../vim/runtime/plugin/sqlcomplete.vim, , version @ vim.org doesn't contains /plugin file:
install details copy sqlcomplete.vim to: .vim/autoload/sqlcomplete.vim (unix) vimfiles\autoload\sqlcomplete.vim (windows) documentation: :h sql.txt
maybe have installed incorrectly.
the file on link has version 12 @ header, while latest version 15. try updating latest version
note plugin does not define sqlsettype command.
you check simple searching file on link. , on header:
" vim omni completion script sql " language: sql " maintainer: david fishburn <dfishburn dot vim @ gmail dot com> " version: 15.0 " last change: 2013 may 13 " homepage: http://www.vim.org/scripts/script.php?script_id=1572 " usage: detailed " ":help sql.txt" " or ":help ft-sql-omni" " or read $vimruntime/doc/sql.txt
following :help sql.txt
:
2.1 sqlsettype *sqlsettype* *sqlsettype* -------------- people work many different databases, nice able flip between various vendors rules (indent, syntax) on per buffer basis, @ time. ftplugin/sql.vim file defines function: > sqlsettype
and scriptnames not listing ftplugin/sql.vim
Comments
Post a Comment