summaryrefslogtreecommitdiff
path: root/runtime/doc/textprop.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-18 21:41:50 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-18 21:41:50 +0100
commit9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a (patch)
treef569453cf21f8a14b1a90e6e4edeeb41fe624b70 /runtime/doc/textprop.txt
parenta86187b9cd529754ad85cd621169876317eb3a69 (diff)
downloadvim-git-9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/doc/textprop.txt')
-rw-r--r--runtime/doc/textprop.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/textprop.txt b/runtime/doc/textprop.txt
index c88ca37b8..72e70c4a1 100644
--- a/runtime/doc/textprop.txt
+++ b/runtime/doc/textprop.txt
@@ -1,4 +1,4 @@
-*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 13
+*textprop.txt* For Vim version 8.1. Last change: 2018 Dec 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -72,8 +72,8 @@ Suppose line 11 in a buffer has this text (excluding the indent):
To highlight the numbers: >
call prop_type_add('number', {'highlight': 'Constant'})
- call prop_add(11, 12, {'length': 3, 'type': 'number})
- call prop_add(11, 32, {'length': 4, 'type': 'number})
+ call prop_add(11, 12, {'length': 3, 'type': 'number'})
+ call prop_add(11, 32, {'length': 4, 'type': 'number'})
Setting "start_incl" and "end_incl" is useful when white space surrounds the
text, e.g. for a function name. Using false is useful when the text starts
@@ -86,7 +86,7 @@ and/or ends with a specific character, such as the quote surrounding a string.
^^^^^^ property with start_incl and end_incl not set
Nevertheless, when text is inserted or deleted the text may need to be parsed
-and the text properties updated. But this can be done asynchrnously.
+and the text properties updated. But this can be done asynchronously.
==============================================================================
2. Functions *text-prop-functions*