]> granicus.if.org Git - vim/commitdiff
updated for version 7.1b
authorBram Moolenaar <Bram@vim.org>
Thu, 10 May 2007 18:46:18 +0000 (18:46 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 10 May 2007 18:46:18 +0000 (18:46 +0000)
runtime/ftplugin/css.vim
src/VisVim/Commands.cpp

index 13a0f9ff463cb25eb4a5480d006f20b7886eeff3..d80582e2f63e0350bf3353db489ca84d0869f622 100644 (file)
@@ -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(\)\='
index 254b7a96475ea6872676cf70fce4774cb94ff99d..95d7c0ee620b716a8598bbf134d8f79bc022bdea 100644 (file)
@@ -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, long LineNr)
 {
 
        // 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!