summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-18 20:27:04 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-18 20:27:04 +0000
commit5409c051a5fcf725790478d9b3e8b4ac2fbbe17d (patch)
tree092b905c52e03f3bbbb9ad99103fa3c7f135cf81
parent4317d9b4867621ec572a3a4010587d59ecc51813 (diff)
downloadvim-git-5409c051a5fcf725790478d9b3e8b4ac2fbbe17d.tar.gz
updated for version 7.0061
-rw-r--r--runtime/doc/syntax.txt14
-rw-r--r--src/misc1.c4
2 files changed, 13 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index bc7bcae45..eecfcaa5b 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.0aa. Last change: 2005 Feb 21
+*syntax.txt* For Vim version 7.0aa. Last change: 2005 Mar 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3632,6 +3632,7 @@ term={attr-list} *attr-list* *highlight-term* *E418*
following items (in any order):
bold
underline
+ undercurl not always available
reverse
inverse same as reverse
italic
@@ -3640,6 +3641,9 @@ term={attr-list} *attr-list* *highlight-term* *E418*
Note that "bold" can be used here and by using a bold font. They
have the same effect.
+ "undercurl" is a curly underline. When "undercurl" is not possible
+ then "underline" is used. In general "undercurl" is only available in
+ the GUI.
start={term-list} *highlight-start* *E422*
stop={term-list} *term-list* *highlight-stop*
@@ -3795,8 +3799,10 @@ font={font-name} *highlight-font*
guifg={color-name} *highlight-guifg*
guibg={color-name} *highlight-guibg*
- These give the foreground (guifg) and background (guibg) color to
- use in the GUI. There are a few special names:
+guisp={color-name} *highlight-guisp*
+ These give the foreground (guifg), background (guibg) and special
+ (guisp) color to use in the GUI. "guisp" is used for underline and
+ undercurl. There are a few special names:
NONE no color (transparent)
bg use normal background color
background use normal background color
@@ -3825,8 +3831,8 @@ guibg={color-name} *highlight-guibg*
You can also specify a color by its Red, Green and Blue values.
The format is "#rrggbb", where
"rr" is the Red value
- "bb" is the Blue value
"gg" is the Green value
+ "bb" is the Blue value
All values are hexadecimal, range from "00" to "ff". Examples: >
:highlight Comment guifg=#11f0c3 guibg=#ff00ff
<
diff --git a/src/misc1.c b/src/misc1.c
index b3a18e5fa..50017c498 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -106,6 +106,7 @@ set_indent(size, flags)
int doit = FALSE;
int ind_done;
int tab_pad;
+ int retval = FALSE;
/*
* First check if there is anything to do and compute the number of
@@ -266,12 +267,13 @@ set_indent(size, flags)
if (saved_cursor.lnum == curwin->w_cursor.lnum
&& saved_cursor.col >= (colnr_T)(p - oldline))
saved_cursor.col += ind_len - (p - oldline);
+ retval = TRUE;
}
else
vim_free(newline);
curwin->w_cursor.col = ind_len;
- return TRUE;
+ return retval;
}
/*