Skip to content

Commit 5649bf3

Browse files
committed
fix variable name (#1)
1 parent aa85e99 commit 5649bf3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Screenshot:
4949

5050
## More complecated operator-pending mappings
5151

52-
If you set `g:textobj_clang_more_mapping` to `1`, many operator-pending mappings are defined. As a default, mappings in a below table are defined. You can control the number of the mappings with `g:textobj_clang_mapping_kinds`.
52+
If you set `g:textobj_clang_more_mappings` to `1`, many operator-pending mappings are defined. As a default, mappings in a below table are defined. You can control the number of the mappings with `g:textobj_clang_mapping_kinds`.
5353

5454
<table>
5555
<tr>

ftplugin/c/textobj_clang.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ endif
55
let s:save_cpo = &cpo
66
set cpo&vim
77

8-
let g:textobj_clang_more_mapping = get(g:, 'textobj_clang_more_mappings', 0)
8+
let g:textobj_clang_more_mappings = get(g:, 'textobj_clang_more_mappings', 0)
99
let g:textobj_clang_include_headers = get(g:, 'textobj_clang_include_headers', 0)
1010
let s:spec = {}
1111

12-
if g:textobj_clang_more_mapping
12+
if g:textobj_clang_more_mappings
1313
let g:textobj_clang_mapping_kinds = get(g:, 'textobj_clang_kinds', ['any', 'class', 'function', 'expression', 'statement', 'parameter', 'namespace', 'under_cursor', 'most_inner'])
1414
for s:name in g:textobj_clang_mapping_kinds
1515
let s:spec[s:name] = {

ftplugin/cpp/textobj_clang.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ endif
55
let s:save_cpo = &cpo
66
set cpo&vim
77

8-
let g:textobj_clang_more_mapping = get(g:, 'textobj_clang_more_mappings', 0)
8+
let g:textobj_clang_more_mappings = get(g:, 'textobj_clang_more_mappings', 0)
99
let g:textobj_clang_include_headers = get(g:, 'textobj_clang_include_headers', 0)
1010
let s:spec = {}
1111

12-
if g:textobj_clang_more_mapping
12+
if g:textobj_clang_more_mappings
1313
let g:textobj_clang_mapping_kinds = get(g:, 'textobj_clang_kinds', ['any', 'class', 'function', 'expression', 'statement', 'parameter', 'namespace', 'under_cursor', 'most_inner'])
1414
for s:name in g:textobj_clang_mapping_kinds
1515
let s:spec[s:name] = {

0 commit comments

Comments
 (0)