diff runtime/doc/textprop.txt @ 15194:8b334e4cb97f

Update runtime files. commit https://github.com/vim/vim/commit/9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 18 21:41:50 2018 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Dec 2018 21:45:08 +0100
parents 9df130fd5e0d
children 97b40b4c6911
line wrap: on
line diff
--- 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 tex
 
 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, s
 	      ^^^^^^	     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*