]> granicus.if.org Git - vim/commitdiff
updated for version 7.1b
authorBram Moolenaar <Bram@vim.org>
Thu, 10 May 2007 16:50:23 +0000 (16:50 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 10 May 2007 16:50:23 +0000 (16:50 +0000)
runtime/doc/gui.txt
runtime/doc/os_qnx.txt
runtime/indent/css.vim
src/message.c

index 1d413c31bb5acc88a09d460d96dd41bff7122b5e..4d5d20e8da51d79dd285eb5194149c7bb45f83d6 100644 (file)
@@ -1,4 +1,4 @@
-*gui.txt*       For Vim version 7.1a.  Last change: 2006 Aug 08
+*gui.txt*       For Vim version 7.1b.  Last change: 2006 Aug 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
index 5faad515f4eaa4fade45c8444820d305b3d312d6..52d7ed141c4596fb8fd849d978dbb45c9493eecb 100644 (file)
@@ -1,4 +1,4 @@
-*os_qnx.txt*    For Vim version 7.1a.  Last change: 2005 Mar 29
+*os_qnx.txt*    For Vim version 7.1b.  Last change: 2005 Mar 29
 
 
                  VIM REFERENCE MANUAL    by Julian Kinraid
index be1c4d73ecc96a7d86cde74875404e23f834660d..d13c1ad48ca1e3ea934f45fabf5908ffa769d9cc 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
 " Language:        CSS
 " Maintainer:      Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2006-04-19
+" Latest Revision:  2006-12-20
 
 if exists("b:did_indent")
   finish
@@ -10,6 +10,7 @@ let b:did_indent = 1
 
 setlocal indentexpr=GetCSSIndent()
 setlocal indentkeys=0{,0},!^F,o,O
+setlocal nosmartindent
 
 if exists("*GetCSSIndent")
   finish
@@ -22,12 +23,12 @@ function s:prevnonblanknoncomment(lnum)
     let line = getline(lnum)
     if line =~ '\*/'
       while lnum > 1 && line !~ '/\*'
-       let lnum -= 1
+        let lnum -= 1
       endwhile
       if line =~ '^\s*/\*'
-       let lnum -= 1
+        let lnum -= 1
       else
-       break
+        break
       endif
     else
       break
@@ -45,13 +46,13 @@ function s:count_braces(lnum, count_open)
   while i != -1
     if synIDattr(synID(a:lnum, i + 1, 0), 'name') !~ 'css\%(Comment\|StringQ\{1,2}\)'
       if line[i] == '{'
-       let n_open += 1
+        let n_open += 1
       elseif line[i] == '}'
-       if n_open > 0
-         let n_open -= 1
-       else
-         let n_close += 1
-       endif
+        if n_open > 0
+          let n_open -= 1
+        else
+          let n_close += 1
+        endif
       endif
     endif
     let i = match(line, pattern, i + 1)
index 0c40823a786576e8c5575d75710685b93eff9c95..8bb27cddc49a227cdce8adf18740a564b68f98b5 100644 (file)
@@ -3042,7 +3042,7 @@ redir_write(str, maxlen)
 }
 
 /*
- * Before giving verbose messsage.
+ * Before giving verbose message.
  * Must always be called paired with verbose_leave()!
  */
     void
@@ -3864,7 +3864,7 @@ tv_str(tvs, idxp)
  *
  * This code is based on snprintf.c - a portable implementation of snprintf
  * by Mark Martinec <mark.martinec@ijs.si>, Version 2.2, 2000-10-06.
- * Included with permission.  It was heavely modified to fit in Vim.
+ * Included with permission.  It was heavily modified to fit in Vim.
  * The original code, including useful comments, can be found here:
  *     http://www.ijs.si/software/snprintf/
  *
@@ -4453,7 +4453,7 @@ vim_snprintf(str, str_m, fmt, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
                /* unrecognized conversion specifier, keep format string
                 * as-is */
                zero_padding = 0;  /* turn zero padding off for non-numeric
-                                     convers. */
+                                     conversion */
                justify_left = 1;
                min_field_width = 0;                /* reset flags */