@@ -103,8 +103,8 @@ NOT LOADING
103
103
104
104
It is possible that a user doesn't always want to load this plugin. Or the
105
105
system administrator has dropped it in the system-wide plugin directory, but a
106
- user has his own plugin he wants to use. Then the user must have a chance to
107
- disable loading this specific plugin. These lines will make it possible: >
106
+ user has their own plugin they want to use. Then the user must have a chance
107
+ to disable loading this specific plugin. These lines will make it possible: >
108
108
109
109
7 if exists("g:loaded_typecorrect")
110
110
8 finish
@@ -136,7 +136,7 @@ item can be used: >
136
136
137
137
The "<Plug> TypecorrAdd;" thing will do the work, more about that further on.
138
138
139
- The user can set the "g:mapleader" variable to the key sequence that he wants
139
+ The user can set the "g:mapleader" variable to the key sequence that they want
140
140
plugin mappings to start with. Thus if the user has done: >
141
141
142
142
g:mapleader = "_"
@@ -147,16 +147,16 @@ will be used, which is a backslash. Then a map for "\a" will be defined.
147
147
Note that <unique> is used, this will cause an error message if the mapping
148
148
already happened to exist. | :map-<unique> |
149
149
150
- But what if the user wants to define his own key sequence? We can allow that
151
- with this mechanism: >
150
+ But what if the user wants to define their own key sequence? We can allow
151
+ that with this mechanism: >
152
152
153
153
19 if !hasmapto('<Plug>TypecorrAdd;')
154
154
20 map <unique> <Leader>a <Plug>TypecorrAdd;
155
155
21 endif
156
156
157
157
This checks if a mapping to "<Plug> TypecorrAdd;" already exists, and only
158
158
defines the mapping from "<Leader> a" if it doesn't. The user then has a
159
- chance of putting this in his vimrc file: >
159
+ chance of putting this in their vimrc file: >
160
160
161
161
map ,c <Plug>TypecorrAdd;
162
162
@@ -262,7 +262,7 @@ Now let's add a user command to add a correction: >
262
262
The user command is defined only if no command with the same name already
263
263
exists. Otherwise we would get an error here. Overriding the existing user
264
264
command with ":command!" is not a good idea, this would probably make the user
265
- wonder why the command he defined himself doesn't work. | :command |
265
+ wonder why the command they defined themselves doesn't work. | :command |
266
266
If it did happen you can find out who to blame with: >
267
267
268
268
verbose command Correct
@@ -494,7 +494,7 @@ An example of how to define functionality in a filetype plugin: >
494
494
| hasmapto() | is used to check if the user has already defined a map to
495
495
<Plug> JavaImport;. If not, then the filetype plugin defines the default
496
496
mapping. This starts with | <LocalLeader> | , which allows the user to select
497
- the key(s) he wants filetype plugin mappings to start with. The default is a
497
+ the key(s) they want filetype plugin mappings to start with. The default is a
498
498
backslash.
499
499
"<unique> " is used to give an error message if the mapping already exists or
500
500
overlaps with an existing mapping.
0 commit comments