Skip to content

Commit 7aa26ca

Browse files
committed
Fix spelling errors
1 parent 9410512 commit 7aa26ca

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Which Linux versions? I only test on Ubuntu 20.04 and later and RHEL 7.
249249

250250
### Neovim limitations
251251

252-
neovim doesn't implement mouse hover balloons. Instead there is the
252+
Neovim doesn't implement mouse hover balloons. Instead there is the
253253
`<Plug>VimspectorBalloonEval` mapping. There is no default mapping for this, so
254254
I recommend something like this to get variable display in a popup:
255255

@@ -354,7 +354,7 @@ though the default behaviours are slightly different. For supported languages,
354354
they will:
355355

356356
* Download the relevant debug adapter at a version that's been tested from the
357-
internet, either as a 'vsix' (Visusal Studio plugin), or clone from GitHub. If
357+
internet, either as a 'vsix' (Visual Studio plugin), or clone from GitHub. If
358358
you're in a corporate environment and this is a problem, you may need to
359359
install the gadgets manually.
360360
* Perform any necessary post-installation actions, such as:
@@ -557,7 +557,7 @@ Vimspector is not:
557557
* comprehensive. It's limited by DAP, and limited by my time. I implement the
558558
features I think most users will need, not every feature possible.
559559
* for everyone. Vimspector intentionally provides a "one size fits all" UI and
560-
aproach. This means that it can only provide essential/basic debugging
560+
approach. This means that it can only provide essential/basic debugging
561561
features for a given language. This makes it convenient for everyday usage,
562562
but not ideal for power users or those with very precise or specific
563563
requirements. See [motivation](#motivation) for more info.
@@ -653,7 +653,7 @@ features to set your own mappings. To that end, Vimspector defines the following
653653
| --- | --- | --- |
654654
| `<Plug>VimspectorContinue` | When debugging, continue. Otherwise start debugging. | `vimspector#Continue()` |
655655
| `<Plug>VimspectorStop` | Stop debugging. | `vimspector#Stop()` |
656-
| `<Plug>VimpectorRestart` | Restart debugging with the same configuration. | `vimspector#Restart()` |
656+
| `<Plug>VimspectorRestart` | Restart debugging with the same configuration. | `vimspector#Restart()` |
657657
| `<Plug>VimspectorPause` | Pause debuggee. | `vimspector#Pause()` |
658658
| `<Plug>VimspectorBreakpoints` | Show/hide the breakpoints window | `vimspector#ListBreakpoints()` |
659659
| `<Plug>VimspectorToggleBreakpoint` | Toggle line breakpoint on the current line. | `vimspector#ToggleBreakpoint()` |
@@ -684,7 +684,7 @@ nmap <F5> <Plug>VimspectorContinue
684684

685685
In addition, many users probably want to only enable certain Vimspector mappings
686686
while debugging is active. This is also possible, though it requires writing
687-
[some vimscipt](#custom-mappings-while-debugging).
687+
[some vimscript](#custom-mappings-while-debugging).
688688

689689
That said, many people are familiar with particular debuggers, so the following
690690
mappings can be enabled by setting `g:vimspector_enable_mappings` to the
@@ -776,7 +776,7 @@ users, the [mappings](#mappings) section contains the most common commands and
776776
default usage. This section can be used as a reference to create your own
777777
mappings or custom behaviours.
778778

779-
All the below instructions assume a single debugging session. For deatils on how
779+
All the below instructions assume a single debugging session. For details on how
780780
to debug multiple independent apps at the same time, see
781781
[multiple debugging sessions][#multiple-debugging-sessions].
782782

@@ -981,7 +981,7 @@ breakpoints. This section describes the full API in vimscript functions.
981981

982982
Breakpoints are associated with the current
983983
[debugging session][#multiple-debugging-sessions]. When switching between
984-
sessions, the breakpont signs for the previous session are removed and the
984+
sessions, the breakpoint signs for the previous session are removed and the
985985
breakpoints for the newly activated session are displayed. While it might be
986986
useful to see breakpoints for all sessions, this can be very confusing.
987987

@@ -1102,7 +1102,7 @@ deletes a breakpoint. If you wish to 'disable' breakpoints, use the
11021102
remove a breakpoint at a specific file/line
11031103
* Use `vimspector#ClearBreakpoints()` to clear all breakpoints
11041104
* Use `vimspector#ResetExceptionBreakpoints()` to clear the exception breakpoints
1105-
configuration and re-anser the various questions like "Break on C++ Throw"
1105+
configuration and re-answer the various questions like "Break on C++ Throw"
11061106
* Use `:VimspectorMkSession` and `:VimspectorLoadSession` to save and restore
11071107
breakpoints
11081108
* `call vimspector#ListBreakpoints()` - toggle breakpoints window
@@ -1192,8 +1192,8 @@ In both cases, the file/dir name argument is optional. By default, the file is
11921192
named `.vimspector.session`, but this can be changed globally by setting
11931193
`g:vimspector_session_file_name` to something else, or by manually specifying a
11941194
path when calling the command. If you supply a directory, the default or
1195-
configured session file name is read fron or written to that directory.
1196-
Othewise, the file is read based on the currently open buffer or written to the
1195+
configured session file name is read from or written to that directory.
1196+
Otherwise, the file is read based on the currently open buffer or written to the
11971197
current working directory.
11981198

11991199
Advanced users may wish to automate the process of loading and saving, for
@@ -1321,25 +1321,25 @@ let g:ycm_semantic_triggers = {
13211321

13221322
## Disassembly
13231323

1324-
* Dispplay disassembly around current PC
1324+
* Display disassembly around current PC
13251325
* Step over/into/out by instruction (contextually, or using the WinBar)
13261326
* `:VimspectorDisassemble`, `vimspector#ShowDisassembly()` or
13271327
`<Plug>VimspectorDisassemble`
13281328

13291329
[![Demo](https://asciinema.org/a/esEncAxP45CJmo8Em1sQtxRYe.svg)](https://asciinema.org/a/esEncAxP45CJmo8Em1sQtxRYe)
13301330

13311331
Some debug adapters (few!) support disassembly. The way this works in DAP is a
1332-
little wierd, but in practice vimspector will ask to disassemble a number of
1332+
little weird, but in practice vimspector will ask to disassemble a number of
13331333
instructions around the current stack frame's PC. This is then shown in a window
13341334
with a WinBar similar to the Code window, but with instruction stepping
13351335
granularity. There's a sign for the current instruction and the syntax
1336-
highighting defaults to "asm" which mostly works ok for x86 and ARM.
1336+
highlighting defaults to "asm" which mostly works ok for x86 and ARM.
13371337

13381338
![disassembly-view](https://user-images.githubusercontent.com/10584846/194766584-d798c96b-6e4e-4914-9d4a-991c219f78d0.png)
13391339

13401340
As mentioned above, when your current window is the disassembly windows and you
13411341
use the default "step" commands (e.g. `<F10>`), the stepping is automatically
1342-
chnged to per-instruction rather than per statement.
1342+
changed to per-instruction rather than per statement.
13431343

13441344
Each time the process stops, vimspector requests about 2 windows full of
13451345
instructions around the current PC. To see more, you can scroll the window.
@@ -1348,8 +1348,8 @@ scrolls to the top or near the bottom. This isn't perfect. Sometimes you have to
13481348
scroll a bit more to make it page in (e.g. ctrl-e ctrl-y at the top).
13491349
This is not ideal, and may be improved in future.
13501350

1351-
You can control the intial height of the disassembly window with
1352-
`let g:vimspector_disassembly_height = 10` (or whatver number of lines).
1351+
You can control the initial height of the disassembly window with
1352+
`let g:vimspector_disassembly_height = 10` (or whatever number of lines).
13531353

13541354
The filetype (and syntax) of the buffers in the disassembly window is
13551355
`vimspector-disassembly`. You can use `FileType` autocommands to customise
@@ -1520,7 +1520,7 @@ At any time there is a single "active" root session. Breakpoints are associated
15201520
with the current session, and all UI and API commands are applied to the
15211521
currently active session.
15221522

1523-
When switching between root sessions, the breakpont signs for the previous
1523+
When switching between root sessions, the breakpoint signs for the previous
15241524
session are removed and the breakpoints for the newly activated session are
15251525
displayed. While it might be useful to see breakpoints for all sessions, this
15261526
can be very confusing.
@@ -1535,7 +1535,7 @@ A typical workflow might be:
15351535
`:VimspectorNewSession client` (`client` is now the active session).
15361536
4. Add a breakpoint in the `client` session and start debugging with `<F5>`.
15371537

1538-
You now have 2 vimspector tabs. Intuitively, wwitching to a particular tab will
1538+
You now have 2 vimspector tabs. Intuitively, switching to a particular tab will
15391539
make its session active. You can also manually switch the active session with
15401540
`:VimspectorSwitchToSession <name>`.
15411541

@@ -1985,7 +1985,7 @@ use:
19851985

19861986
```
19871987

1988-
for examk
1988+
for example
19891989

19901990
## TCL
19911991

@@ -2457,8 +2457,8 @@ There is very limited support for customisation of the UI.
24572457

24582458
## Changing the default signs
24592459

2460-
Vimsector uses the following signs internally. If they are defined before
2461-
Vimsector uses them, they will not be replaced. So to customise the signs,
2460+
Vimspector uses the following signs internally. If they are defined before
2461+
Vimspector uses them, they will not be replaced. So to customise the signs,
24622462
define them in your `vimrc`.
24632463

24642464

@@ -2552,14 +2552,14 @@ if changing the default priorities, it's recommended that:
25522552

25532553
## Presentation Hints
25542554

2555-
***NOTE:*** This customisation point is currently ***unsable*** and may change
2555+
***NOTE:*** This customisation point is currently ***unusable*** and may change
25562556
at any time.
25572557

25582558
Sometimes the Debug Adapter provides hints as to how the UI should display
25592559
certain things. This includes stack frames, variables etc.
25602560

25612561
Vimspector provides a simple way to customise how these are displayed, by
2562-
setting values in the dictionary `g:vimsepctor_presentation_hint_hl`.
2562+
setting values in the dictionary `g:vimspector_presentation_hint_hl`.
25632563

25642564
The following keys are supported with the mentioned default highlight group.
25652565

@@ -2582,7 +2582,7 @@ The following keys are supported with the mentioned default highlight group.
25822582
In addition, any value supplied in the DAP `VariablePresentationHint` can be set
25832583
which will be used if supplied by the debug adapter.
25842584

2585-
A silly example; the defaults should probably be OK for most colour scehemes:
2585+
A silly example; the defaults should probably be OK for most colour schemes:
25862586

25872587
```viml
25882588
let g:vimspector_presentation_hint_hl = {
@@ -2812,7 +2812,7 @@ function s:SetUpTerminal()
28122812
set norelativenumber nonumber
28132813
endfunction
28142814
2815-
augroup MyVimspectorUICustomistaion
2815+
augroup MyVimspectorUICustomisation
28162816
autocmd!
28172817
autocmd User VimspectorUICreated call s:CustomiseUI()
28182818
autocmd User VimspectorTerminalOpened call s:SetUpTerminal()

docs/configuration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ will point to the parent folder of the file that is currently open in vim.
533533
When starting debugging, you can specify which debug configuration to launch
534534
with `call vimspector#LaunchWithSettings( #{ configuration: 'name here' } )`.
535535

536-
Otherwise, vimspector tries to work out which one to laucnh.
536+
Otherwise, vimspector tries to work out which one to launch.
537537

538538
First it finds the configurations for the current filetype from the files, or
539539
ad-hoc dictionary, mentioned above. Configurations are ignored if they specify
@@ -595,7 +595,7 @@ Setting `autoselect` to `false` overrides setting `default` to `true`.
595595

596596
If you have a number of different types of files, say some Python and some
597597
javascript/node, you can specify the `filetypes` list in the `configuration`
598-
section. As noted above, vimsepector will filter the list of configurations
598+
section. As noted above, vimspector will filter the list of configurations
599599
based on the filetypes of the current buffer. If the `filetypes` entry is not
600600
provided, it's assume to apply to all buffer filetypes.
601601

@@ -794,7 +794,7 @@ For example:
794794
}
795795
```
796796
797-
The resulting "derived" configuraition ends up like this:
797+
The resulting "derived" configuration ends up like this:
798798
799799
```jsonc
800800
{
@@ -836,7 +836,7 @@ Vimspector has in-built support for executing remote debuggers (such as
836836
where the development is done on one host and the runtime is
837837
some other host, account, container, etc.
838838
839-
In order for it to work, it is preferred to have set up paswordless SSH between
839+
In order for it to work, it is preferred to have set up passwordless SSH between
840840
the local and remote machines/accounts. Then just tell Vimspector how to remotely
841841
launch and/or attach to the app. By default, 'ssh' command is being used.
842842
Optionally, the custom ssh command can be specified with cmd property which gives
@@ -918,7 +918,7 @@ Vimspector then orchestrates the various tools to set you up.
918918
//
919919
// Remember that you can use ${var} to ask for input. I use this to
920920
// call a custom command to return the PID for a named service, so
921-
// here's an examle:
921+
// here's an example:
922922
//
923923
"/path/to/secret/script/GetPIDForService", "${ServiceName}"
924924
],
@@ -1112,7 +1112,7 @@ port.
11121112
"port": "${port}",
11131113
"launch": {
11141114
"remote": {
1115-
"container": "${container}", // Docker container id or name to exec into to.
1115+
"container": "${container}", // Docker container id or name to exec into.
11161116

11171117
// Command to launch the debuggee and attach the debugger;
11181118
// %CMD% replaced with the remote-cmdLine configured in the launch
@@ -1146,7 +1146,7 @@ port.
11461146
//
11471147
// Remember that you can use ${var} to ask for input. I use this to
11481148
// call a custom command to return the PID for a named service, so
1149-
// here's an examle:
1149+
// here's an example:
11501150
//
11511151
"sh", "-c", "pgrep", "-f", "${filename}"
11521152
],
@@ -1234,7 +1234,7 @@ Comments are "c-style", i.e.:
12341234

12351235
There is much debate about whether JSON files should contain comments. I have
12361236
added them because they are useful in the context of configuration files.
1237-
Unforutnately this may mean your editor doesn't like them (they are strictly
1237+
Unfortunately this may mean your editor doesn't like them (they are strictly
12381238
invalid JSON) so it's up to you if you use them.
12391239

12401240
Technically, Vimspector uses [JSON

docs/schema/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ configuration objects used for configuring Vimspector. For more information on
77
JSON Schema, check out [Understanding JSON
88
Schema](http://json-schema.org/understanding-json-schema)
99

10-
Vimsepctor specification is based on [Draft 7][draft-7] of JSON Schema
10+
Vimspector specification is based on [Draft 7][draft-7] of JSON Schema
1111
standard.
1212

1313
## The schemas
1414

1515
* [`vimspector.schema.json`](vimspector.schema.json) - contains the full
16-
configuration defnition (`.vimspector.json`).
16+
configuration definition (`.vimspector.json`).
1717
* [`gadgets.schema.json`](gadgets.schema.json) - contains the specification for
1818
gadget-only objects (`.gadgets.json`).
1919

0 commit comments

Comments
 (0)