Skip to content

Commit 513fef9

Browse files
authored
Fix typos in documents (#1012)
1 parent 62ef958 commit 513fef9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ let g:asyncomplete_log_file = expand('~/asyncomplete.log')
178178

179179
[vim-themis](https://github.com/thinca/vim-themis) is used for testing. To run
180180
integration tests [rust-analyzer](https://github.com/rust-analyzer/rust-analyzer)
181-
exectuable must be in path.
181+
executable must be in path.

doc/vim-lsp.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ g:lsp_preview_keep_focus *g:lsp_preview_keep_focus*
284284
* |preview-window| can be also automatically closed after completion with
285285
the following auto command: >
286286
autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif
287-
< * |preview-window| can be supressed with: >
287+
< * |preview-window| can be suppressed with: >
288288
set completeopt-=preview
289289
<
290290
g:lsp_preview_float *g:lsp_preview_float*
@@ -888,7 +888,7 @@ Disables vim-lsp plugin.
888888
lsp#register_server({server-info}) *lsp#register_server()*
889889

890890
Used to register the language server with vim-lsp. This method takes
891-
one parameter which is a vim |dict| and is refered to as |vim-lsp-server_info|
891+
one parameter which is a vim |dict| and is referred to as |vim-lsp-server_info|
892892

893893
Example: >
894894
if (executable('pyls'))
@@ -959,7 +959,7 @@ The vim |dict| containing information about the server.
959959
It is recommended to use &shell with &shellcmdflag when running script
960960
files that can be executed specially on windows where *.bat and *.cmd
961961
files cannot be started without running the shell first. This is common
962-
for exectuables installed by npm for nodejs.
962+
for executable installed by npm for nodejs.
963963

964964
Example: >
965965
'cmd': {server_info->
@@ -1040,7 +1040,7 @@ The vim |dict| containing information about the server.
10401040
Type: |Boolean|
10411041
Default: |g:lsp_hover_conceal|
10421042

1043-
This takes precendence over the value of |g:lsp_hover_conceal|, to
1043+
This takes precedence over the value of |g:lsp_hover_conceal|, to
10441044
allow overriding this setting per server.
10451045

10461046
Example: >
@@ -1224,7 +1224,7 @@ Get the status of a server.
12241224

12251225
lsp#utils#position#lsp_to_vim({expr}, {position}) *lsp#utils#position#lsp_to_vim()*
12261226

1227-
Convert LSP's positon to vim's pos ([lnum, col]).
1227+
Convert LSP's position to vim's pos ([lnum, col]).
12281228

12291229
{expr} is same of bufname argument.
12301230
{position} is LSP's position params.
@@ -1359,7 +1359,7 @@ diagnostics are filtered for current buffer.
13591359
Arguments:
13601360

13611361
--buffers Defaults to empty string, i.e. shows diagnostics for current
1362-
buffer. To show diagnotics for all buffer use `--buffers=*`.
1362+
buffer. To show diagnostic for all buffers use `--buffers=*`.
13631363

13641364
Example: >
13651365
:LspDocumentDiagnostics
@@ -1590,7 +1590,7 @@ This autocommand is run after the server is exited.
15901590
lsp_buffer_enabled *lsp_buffer_enabled*
15911591

15921592
This autocommand is run after vim-lsp is enabled for the buffer. This event is
1593-
triggered imediately when the buffer is currently active. If the buffer is not
1593+
triggered immediately when the buffer is currently active. If the buffer is not
15941594
current active, the event will be triggered when the buffer will be active.
15951595

15961596
lsp_diagnostics_updated *lsp_diagnostics_updated*

0 commit comments

Comments
 (0)