Skip to content

Commit 118bcf1

Browse files
author
batlab
committed
Fix README and help typos
1 parent db909a2 commit 118bcf1

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ any editor other than Neovim
7676

7777
It should be noted that [Nvim-R](https://github.com/jalvesaq/Nvim-R) already
7878
comes with OmniCompletion. It's lightweight and it works well, but you need to
79-
ask for completion (<kbd><C-x><C-o></kbd>) and it
79+
ask for completion (<kbd>\<C-x\>\<C-o\></kbd>) and it
8080
doesn't support pipelines.
8181

8282
ncm-R is built on top of Nvim-R completion data to offer more features, while
@@ -125,21 +125,21 @@ R console to load them in the global environment. Likewise, you won't see
125125

126126
The default pop-up menu follows a 3 column layout:
127127

128-
| Type | Column 1 | Column 2 | Column 3 |
129-
| --- | --- | --- | --- |
130-
| Argument | `argument` | `= DEFAULT_VALUE` | |
131-
| Dataset | `{package}` | Type of dataset (e.g. `tibble`) | Short dataset description|
132-
| Functions | `{package}` | `function` | Short function description |
133-
| Package | `package` | Short package description | |
134-
| Variable | `variable` | Type of variable (e.g. `integer`)| |
128+
| Type | Column 1 | Column 2 | Column 3 |
129+
| --- | --- | --- | --- |
130+
| Argument | `argument` | `= DEFAULT_VALUE` | |
131+
| Dataset | `{package}` | Type of dataset (e.g. `tibble`) | Short dataset description |
132+
| Functions | `{package}` | `function` | Short function description |
133+
| Package | `package` | Short package description | |
134+
| Variable | `variable` | Type of variable (e.g. `integer`) | |
135135

136136
The length of the two first columns can be changed in your `.vimrc`. Choosing
137137
a value below the minimum length will remove the column altogether:
138138

139-
| Column | Minimum length | Default length | Global variable |
140-
| --- | --- | --- |
141-
| Column #1 | 7 | 13 | `g:ncm_r_column1_length` |
142-
| Column #2 | 7 | 11 | `g:ncm_r_column2_length` |
139+
| Column | Minimum length | Default length | Global variable |
140+
| --- | --- | --- | --- |
141+
| Column #1 | 7 | 13 | `g:ncm_r_column1_length` |
142+
| Column #2 | 7 | 11 | `g:ncm_r_column2_length` |
143143

144144
Finally, if you don't want the columns to be aligned, you can disable all
145145
column padding:

doc/ncm_r.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Options *ncm_r_options*
8484

8585
*g:ncm_r_column1_length*
8686

87-
Set length of the first column.
87+
Set length of the first column in the pop-up menu (see |ncm_r_layout|).
8888

8989
If the value is below the minimum length, the column is removed altogether.
9090

@@ -93,7 +93,7 @@ Options *ncm_r_options*
9393

9494
*g:ncm_r_column2_length*
9595

96-
Set length of the second column.
96+
Set length of the second column in the pop-up menu (see |ncm_r_layout|).
9797

9898
If the value is below the minimum length, the column is removed altogether.
9999

@@ -102,6 +102,7 @@ Options *ncm_r_options*
102102

103103
*g:ncm_r_column_layout*
104104

105-
Enable/disable the column layout by removing all padding and alignment.
105+
Enable/disable the column layout in the pop-up menu by removing all padding
106+
and alignment.
106107

107108
Default value: 1

0 commit comments

Comments
 (0)