changeset 1220:97cc1e746d2c

updated for version 7.1b
author vimboss
date Thu, 10 May 2007 18:46:18 +0000
parents aea597af5b4e
children dc65bb5de20e
files runtime/ftplugin/css.vim src/VisVim/Commands.cpp
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/ftplugin/css.vim
+++ b/runtime/ftplugin/css.vim
@@ -1,16 +1,17 @@
 " Vim filetype plugin file
 " Language:         CSS
 " Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Latest Revision:  2007-05-08
 
 if exists("b:did_ftplugin")
   finish
 endif
 let b:did_ftplugin = 1
 
-let b:undo_ftplugin = "setl com< cms< inc< fo<"
+let b:undo_ftplugin = "setl com< cms< inc< fo< ofu<"
 
 setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
 setlocal formatoptions-=t formatoptions+=croql
+setlocal omnifunc=csscomplete#CompleteCSS
 
 let &l:include = '^\s*@import\s\+\%(url(\)\='
--- a/src/VisVim/Commands.cpp
+++ b/src/VisVim/Commands.cpp
@@ -54,7 +54,7 @@ CCommands::~CCommands ()
 void CCommands::SetApplicationObject (IApplication * pApplication)
 {
 	// This function assumes pApplication has already been AddRef'd
-	// for us, which CDSAddIn did in its QueryInterface call
+	// for us, which CDSAddIn did in it's QueryInterface call
 	// just before it called us.
 	m_pApplication = pApplication;
 	if (! m_pApplication)
@@ -494,8 +494,9 @@ static BOOL VimOpenFile (BSTR& FileName,
 {
 
 	// OLE automation object for com. with Vim
-	// When the object goes out of scope, it's desctructor destroys the OLE connection;
-	// This is imortant to avoid blocking the object
+	// When the object goes out of scope, it's destructor destroys the OLE
+	// connection;
+	// This is important to avoid blocking the object
 	// (in this memory corruption would be likely when terminating Vim
 	// while still running DevStudio).
 	// So keep this object local!