Skip to content

Commit

Permalink
Fix typos and grammatical errors (#4521)
Browse files Browse the repository at this point in the history
  • Loading branch information
unrealapex committed Feb 16, 2023
1 parent 59a942d commit 79e9e04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="https://www.vim.org/scripts/script.php?script_id=5779">
<img alt="Logo" src="https://alfs.chigua.cn/dianyou/data/platform/default/20220525/coc.png" height="240" />
</a>
<p align="center">Make your Vim/Neovim as smart as VSCode</p>
<p align="center">Make your Vim/Neovim as smart as VS Code</p>
<p align="center">
<a href="LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-Anti%20996-brightgreen.svg?style=flat-square"></a>
<a href="https://github.com/neoclide/coc.nvim/actions"><img alt="Actions" src="https://img.shields.io/github/actions/workflow/status/neoclide/coc.nvim/ci.yml?style=flat-square&branch=master"></a>
Expand All @@ -14,7 +14,7 @@

---

<img alt="Gif" src="https://alfs.chigua.cn/dianyou/data/platform/default/20220801/2022-08-01%2002-14-03.2022-08-01%2002_15_16.gif" width="60%" />
<img alt="Custom coc popup menu with snippet support" src="https://alfs.chigua.cn/dianyou/data/platform/default/20220801/2022-08-01%2002-14-03.2022-08-01%2002_15_16.gif" width="60%" />

_Custom popup menu with snippet support_

Expand All @@ -38,7 +38,7 @@ curl -sL install-node.vercel.app/lts | bash
For [vim-plug](https://github.com/junegunn/vim-plug) users:

```vim
" Use release branch (recommend)
" Use release branch (recommended)
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Or build from source code by using yarn: https://yarnpkg.com
Expand All @@ -51,15 +51,14 @@ Checkout [Install
coc.nvim](https://github.com/neoclide/coc.nvim/wiki/Install-coc.nvim) for
more info.

You **have to** install coc extension or configure language servers for
You **have to** install coc extensions or configure language servers for
LSP support.

Install extensions like:
Install extensions like this:

:CocInstall coc-json coc-tsserver

Or configure language server in `coc-settings.json` opened by
`:CocConfig`, like:
Or you can configure a language server in your `coc-settings.json`(open it using `:CocConfig`) like this:

```json
{
Expand Down Expand Up @@ -90,7 +89,7 @@ Configuration is required to make coc.nvim easier to work with, since it
doesn't change your key-mappings or Vim options. This is done as much as
possible to avoid conflict with your other plugins.

**❗️Important**: Some Vim plugins could change key mappings. Please use
**❗️Important**: Some Vim plugins can change your key mappings. Please use
command like`:verbose imap <tab>` to make sure that your keymap has taken effect.

```vim
Expand Down
2 changes: 1 addition & 1 deletion plugin/coc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function! s:checkVersion() abort
else
if !has('nvim-0.5.0') && !has('patch-8.2.0750')
echohl WarningMsg
echom "coc.nvim works best on vim >= 8.2.0750 and neovim >= 0.5.0, consider upgrade your vim."
echom "coc.nvim works best on vim >= 8.2.0750 and neovim >= 0.5.0, consider upgrading vim."
echom "You can add this to your vimrc to avoid this message:"
echom " let g:coc_disable_startup_warning = 1"
echom "Note that some features may behave incorrectly."
Expand Down

0 comments on commit 79e9e04

Please sign in to comment.