Skip to content

Commit b23c822

Browse files
committed
doc: fix typos
1 parent 541cedd commit b23c822

30 files changed

+96
-96
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
We, the maintainers, pledge to treat all contributors with respect and require that contributors reciprocate.
22

3-
The maintainers will not tolerate unwelcome, inpolite, abusive or unprofessional behaviour.
3+
The maintainers will not tolerate unwelcome, impolite, abusive or unprofessional behaviour.
44

55
At the discretion of the maintainers, users who persist in behaving in a way that is unwelcome may be subject to a ban.
66

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ the maintainers have to keep it working forever.
114114

115115
### Small changes
116116

117-
For bug fixes, documentation changes, gadget versin updates, etc. please just
117+
For bug fixes, documentation changes, gadget version updates, etc. please just
118118
send a PR, I'm super happy to merge these!
119119

120120
If you are unsure, or looking for some pointers, feel free to ask in Gitter, or
121121
mention is in the PR.
122122

123123
### Larger changes
124124

125-
For larger features that might be in any way controvertial, or increase the
125+
For larger features that might be in any way controversial, or increase the
126126
complexity of the overall plugin, please come to Gitter and talk to the
127127
maintainer(s) first. This saves a lot of potential back-and-forth and makes sure
128128
that we're "on the same page" about the idea and the ongoing maintenance.
@@ -184,7 +184,7 @@ Vimspector creator.
184184

185185
### Manual testing within the container
186186

187-
To manually test with Vim withing the container, affter runnning the tests with
187+
To manually test with Vim within the container, affter running the tests with
188188
`--base-dir test-base-docker`, you can use this:
189189

190190
```

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Why such a new vim ? Well 2 reasons:
249249
Why is neovim experimental? Because the author doesn't use neovim regularly, and
250250
there are no regression tests for vimspector in neovim, so it may break
251251
occasionally. Issue reports are handled on best-efforts basis, and PRs are
252-
welcome to fix bugs. See also the next section descibing differences for neovim
252+
welcome to fix bugs. See also the next section describing differences for neovim
253253
vs vim.
254254

255255
Why Windows support experimental? Because it's effort and it's not a priority
@@ -342,7 +342,7 @@ $ git clone https://github.com/puremourning/vimspector ~/.vim/pack/vimspector/op
342342
```
343343

344344
2. Configure vimspector in your `.vimrc`, for example to enable the standard
345-
mapings:
345+
mappings:
346346

347347
```viml
348348
let g:vimspector_enable_mappings = 'HUMAN'
@@ -592,7 +592,7 @@ can (and probably will) change, including things like:
592592
- breaking changes to the configuration
593593
- keys, layout, functionality of the UI
594594

595-
However, I commit to only doing this in the most extreme cases and to annouce
595+
However, I commit to only doing this in the most extreme cases and to announce
596596
such changes on Gitter well in advance. There's nothing more annoying than stuff
597597
just breaking on you. I get that.
598598

autoload/vimspector/internal/balloon.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ function! s:CreateNeovimTooltip( body ) abort
316316
call nvim_win_set_option( s:popup_win_id, 'number', v:false )
317317

318318
" Move the cursor into the popup window, as this is the only way we can
319-
" interract with the popup in neovim
319+
" interact with the popup in neovim
320320
noautocmd call win_gotoid( s:popup_win_id )
321321

322322
nnoremap <silent> <buffer> <Esc> <cmd>quit<CR>

autoload/vimspector/internal/channel.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function! vimspector#internal#channel#StartDebugSession( config ) abort
6464

6565
let l:addr = get( a:config, 'host', '127.0.0.1' ) . ':' . a:config[ 'port' ]
6666

67-
echo 'Connecting to ' . l:addr . '... (waiting fo up to 10 seconds)'
67+
echo 'Connecting to ' . l:addr . '... (waiting for up to 10 seconds)'
6868
let s:ch = ch_open( l:addr,
6969
\ {
7070
\ 'mode': 'raw',

autoload/vimspector/internal/neoterm.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let s:save_cpo = &cpoptions
1919
set cpoptions&vim
2020
" }}}
2121

22-
" Ids are unique throughtout the life of neovim, but obviously buffer numbers
22+
" Ids are unique throughout the life of neovim, but obviously buffer numbers
2323
" aren't
2424
"
2525
" FIXME: Tidy this map when buffers are closed ?

autoload/vimspector/internal/state.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function! vimspector#internal#state#TabClosed( afile ) abort
5959
# probably the vimspector UI tab that was closed)
6060
#
6161
# noevim helpfully provides the tab number that was closed in <afile>, so we
62-
# use that there (it also doens't correctly invalidate tab objects:
62+
# use that there (it also doesn't correctly invalidate tab objects:
6363
# https://github.com/neovim/neovim/issues/16327)
6464

6565
if '_vimspector_session' in globals() and _vimspector_session:

doc/vimspector-ref.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ Extending adapters ~
444444

445445
You can specify a key 'extends' in the adapter configuration to inherit from an
446446
existing adapter. This is useful for defining adapters for remote debugging or
447-
where there are common options, varables etc. For example:
447+
where there are common options, variables etc. For example:
448448
>
449449
{
450450
"adapters": {
@@ -508,7 +508,7 @@ typical example looks like this:
508508
"filetypes": [ /* list of filetypes this applies to */ ],
509509
"configuration": {
510510
"request": "<launch or attach>",
511-
<debug configutation>
511+
<debug configuration>
512512
}
513513
}
514514
}
@@ -527,7 +527,7 @@ a set of supplied 'ad-hoc' configurations. You do with as follows:
527527

528528
For example:
529529
>
530-
let pid = <some_exression>
530+
let pid = <some_expression>
531531
call vimspector#LaunchWithConfigurations( {
532532
\ "attach": {
533533
\ "adapter": "netcoredbg",
@@ -561,7 +561,7 @@ will use that configuration, unless it contains a key '"autoselect": false'.
561561

562562
If any single configuration is found with '"default": true', that one is used.
563563

564-
Otherwise, the user is propmted to select a configuration to use.
564+
Otherwise, the user is prompted to select a configuration to use.
565565

566566
-------------------------------------------------------------------------------
567567
*vimspector-ref-specifying-default-configuration*
@@ -724,8 +724,8 @@ a value, as in :
724724
Extending configurations ~
725725

726726
Like adapters, you can include a 'extends' key in the configuration
727-
specification, which makes it "inherit" from the specified configuraiton. In
728-
practice that means any keys specified in this configuraiton override the
727+
specification, which makes it "inherit" from the specified configuration. In
728+
practice that means any keys specified in this configuration override the
729729
corresponding keys in the "base" configuration.
730730

731731
This is useful in particular where there data that need to be the same across a
@@ -806,7 +806,7 @@ The resulting "derived" configuraition ends up like this:
806806
{
807807
"key1": "This key is unchanged",
808808
"key2": {
809-
"key2.1": "This is the override valu",
809+
"key2.1": "This is the override value",
810810
"key2.2": "This key is unchanged"
811811
}
812812
}
@@ -888,7 +888,7 @@ Vimspector then orchestrates the various tools to set you up.
888888
// "args": [ "-o", "StrictHostKeyChecking=no" ]
889889
// },
890890
891-
// Command to launch the debugee and attach the debugger;
891+
// Command to launch the debuggee and attach the debugger;
892892
// %CMD% replaced with the remote-cmdLine configured in the launch
893893
// configuration. (mandatory)
894894
"runCommand": [
@@ -919,8 +919,8 @@ Vimspector then orchestrates the various tools to set you up.
919919
// Command to get the PID of the process to attach (mandatory)
920920
"pidCommand": [
921921
//
922-
// Remember taht you can use ${var} to ask for input. I use this to
923-
// call a custom command to returm the PID for a named service, so
922+
// Remember that you can use ${var} to ask for input. I use this to
923+
// call a custom command to return the PID for a named service, so
924924
// here's an examle:
925925
//
926926
"/path/to/secret/script/GetPIDForService", "${ServiceName}"
@@ -1055,7 +1055,7 @@ gdbserver and have to tell cpptools a few more options.
10551055
],
10561056
//
10571057
// If your application is started by a wrapper script, then you might
1058-
// need the followin. GDB can't pause an application because it only
1058+
// need the following. GDB can't pause an application because it only
10591059
// sends the signal to the process group leader. Or something.
10601060
// Basically, if you find that everything just hangs and the
10611061
// application never attaches, try using the following to manually
@@ -1117,7 +1117,7 @@ port.
11171117
"remote": {
11181118
"container": "${container}", // Docker container id or name to exec into to.
11191119
1120-
// Command to launch the debugee and attach the debugger;
1120+
// Command to launch the debuggee and attach the debugger;
11211121
// %CMD% replaced with the remote-cmdLine configured in the launch
11221122
// configuration. (mandatory)
11231123
"runCommand": [
@@ -1147,8 +1147,8 @@ port.
11471147
// This command gets appended to "docker exec ${container}"
11481148
"pidCommand": [
11491149
//
1150-
// Remember taht you can use ${var} to ask for input. I use this to
1151-
// call a custom command to returm the PID for a named service, so
1150+
// Remember that you can use ${var} to ask for input. I use this to
1151+
// call a custom command to return the PID for a named service, so
11521152
// here's an examle:
11531153
//
11541154
"sh", "-c", "pgrep", "-f", "${filename}"
@@ -1254,7 +1254,7 @@ language server [5].
12541254

12551255
It is recommended to include the '$schema' declaration as in the above
12561256
examples, but if that isn't present, the following JSON language server
1257-
configuration [6] is recommened to load the schema from the Internet:
1257+
configuration [6] is recommended to load the schema from the Internet:
12581258
>
12591259
{
12601260
"json": {

doc/vimspector.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Why such a new vim ? Well 2 reasons:
382382
Why is neovim experimental? Because the author doesn't use neovim regularly,
383383
and there are no regression tests for vimspector in neovim, so it may break
384384
occasionally. Issue reports are handled on best-efforts basis, and PRs are
385-
welcome to fix bugs. See also the next section descibing differences for neovim
385+
welcome to fix bugs. See also the next section describing differences for neovim
386386
vs vim.
387387

388388
Why Windows support experimental? Because it's effort and it's not a priority
@@ -478,7 +478,7 @@ by cloning this repository into your package path, like this:
478478
$ git clone https://github.com/puremourning/vimspector ~/.vim/pack/vimspector/opt/vimspector
479479
<
480480
1. Configure vimspector in your '.vimrc', for example to enable the standard
481-
mapings:
481+
mappings:
482482
>
483483
let g:vimspector_enable_mappings = 'HUMAN'
484484
<
@@ -750,7 +750,7 @@ probably will) change, including things like:
750750
- breaking changes to the configuration
751751
- keys, layout, functionality of the UI
752752

753-
However, I commit to only doing this in the most extreme cases and to annouce
753+
However, I commit to only doing this in the most extreme cases and to announce
754754
such changes on Gitter well in advance. There's nothing more annoying than
755755
stuff just breaking on you. I get that.
756756

@@ -1019,11 +1019,11 @@ To launch with an ad-hoc config you can use:
10191019

10201020
- 'call vimspector#LaunchWithConfigurations( dict )'
10211021

1022-
The argument is a 'dict' wich is the 'configurations' section of a .vimspector
1022+
The argument is a 'dict' which is the 'configurations' section of a .vimspector
10231023
file Pass one configuration in and that will be selected as the one to run. For
10241024
example:
10251025
>
1026-
let pid = <some_exression>
1026+
let pid = <some_expression>
10271027
call vimspector#LaunchWithConfigurations({
10281028
\ "attach": {
10291029
\ "adapter": "netcoredbg",
@@ -1272,9 +1272,9 @@ named '.vimspector.session', but this can be changed globally by setting
12721272
path when calling the command.
12731273

12741274
Advanced users may wish to automate the process of loading and saving, for
1275-
example by adding 'VimEnter' and 'VimLeave' autocommands. It's recommented in
1275+
example by adding 'VimEnter' and 'VimLeave' autocommands. It's recommended in
12761276
that case to use 'silent!' to avoid annoying errors if the file can't be read
1277-
or writtten.
1277+
or written.
12781278

12791279
The simplest form of automation is to load the vimspector session whenever you
12801280
start vim with a session file. This is as simple as doing this:
@@ -1314,7 +1314,7 @@ Scopes and variables are represented by the buffer 'vimspector.Variables'.
13141314
If you prefer a more verbose display for variables and watches, then you can
13151315
"let g:vimspector_variables_display_mode = 'full'". By default only the name
13161316
and value are displayed, with other data available from hovering the mouse or
1317-
triggering '<Plug>VimspectorBalloonEval' on the line contianing the value in
1317+
triggering '<Plug>VimspectorBalloonEval' on the line containing the value in
13181318
the variables (or watches) window.
13191319

13201320
-------------------------------------------------------------------------------
@@ -1336,7 +1336,7 @@ All rules for 'Variables and scopes' apply plus the following:
13361336
- Set the value of the variable with '<C-CR>' (control + '<CR>') or
13371337
'<leader><CR>' (if 'modifyOtherKeys' doesn't work for you)
13381338

1339-
- Use regular nagivation keys ('j', 'k') to choose the current selection;
1339+
- Use regular navigation keys ('j', 'k') to choose the current selection;
13401340
'<Esc>' (or leave the tooltip window) to close the tooltip.
13411341

13421342
Image: variable eval hover (see reference [28])
@@ -1368,7 +1368,7 @@ The watches are represented by the buffer 'vimspector.StackTrace'.
13681368
If you prefer a more verbose display for variables and watches, then you can
13691369
"let g:vimspector_variables_display_mode = 'full'". By default only the name
13701370
and value are displayed, with other data available from hovering the mouse or
1371-
triggering '<Plug>VimspectorBalloonEval' on the line contianing the value in
1371+
triggering '<Plug>VimspectorBalloonEval' on the line containing the value in
13721372
the variables (or watches) window.
13731373

13741374
-------------------------------------------------------------------------------
@@ -1401,7 +1401,7 @@ variables. This can be done from the Variables and Wathces windows with:
14011401
On doing this, you're asked to enter a number of bytes to read (from the
14021402
location associated with the current cursor line) and an offset from that
14031403
location. A new buffer is displayed in the Code Window containing a memory dump
1404-
in hex and ascii, simmilar to the output of 'xxd'.
1404+
in hex and ascii, similar to the output of 'xxd'.
14051405

14061406
**_NOTE_**: This feature is experimental and may change in any way based on
14071407
user feedback.
@@ -2500,7 +2500,7 @@ autocommand, for example:
25002500
call win_gotoid( g:vimspector_session_windows.code )
25012501
" Clear the existing WinBar created by Vimspector
25022502
nunmenu WinBar
2503-
" Cretae our own WinBar
2503+
" Create our own WinBar
25042504
nnoremenu WinBar.Kill :call vimspector#Stop( { 'interactive': v:true } )<CR>
25052505
nnoremenu WinBar.Continue :call vimspector#Continue()<CR>
25062506
nnoremenu WinBar.Pause :call vimspector#Pause()<CR>
@@ -2564,7 +2564,7 @@ FAQ ~
25642564
necessarily be easy to work out what to put in the '.vimspector.json'. As
25652565
you can see above, some of the servers aren't really editor agnostic, and
25662566
require very-specific unique handling. See the wiki [15] for details on
2567-
additonal language support
2567+
additional language support
25682568

25692569
2. How do I stop it starting a new Terminal.app on macOS? See this comment
25702570
[54]

0 commit comments

Comments
 (0)