-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtextobj-function-clang.txt
86 lines (64 loc) · 3.3 KB
/
textobj-function-clang.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
*textobj-function-clang.txt* Text objects to select functions in C and C++
Version: 0.0.1
Author : rhysd <[email protected]>
==============================================================================
CONTENTS *textobj-function-clang-contents*
Introduction |textobj-function-clang-introduction|
Interface |textobj-function-clang-interface|
Dependencies |textobj-function-clang-dependencies|
License |textobj-function-clang-license|
==============================================================================
INTRODUCTION *textobj-function-clang-introduction*
*textobj-function-clang* is a text-object plugin to select functions in C and
C++. The code is analyzed by clang. This plugin is a plugin of
|textobj-function|; what we call a plugin of plugin. And this plugin depends
on |libclang-vim| to use clang's code analysis by Vim script. Please install
them in advance.
==============================================================================
INTERFACE *textobj-function-clang-interface*
See |textobj-function| for the details. Because this plugin just enhances the
power of textobj-function and does not provide any user interface.
==============================================================================
DEPENDENCIES *textobj-function-clang-dependencies*
This plugin depends on |textobj-user|, |textobj-function| and |libclang-vim|.
You must install them in advance. If you use |neobundle|, you can install
them by writing below code in your vimrc.
>
NeoBundleLazy 'kana/vim-textobj-indent', {
\ 'depends' : [
\ 'kana/vim-textobj-user',
\ 'kana/vim-textobj-function',
\ 'rhysd/libclang-vim',
\ ],
\ 'autoload' : {
\ 'mappings' : [['xo', 'if'], ['xo', 'af']]
\ }
\ }
<
- textobj-user
https://github.com/kana/vim-textobj-user
- textobj-function
https://github.com/kana/vim-textobj-function
- libclang-vim
https://github.com/rhysd/libclang-vim
==============================================================================
LICENSE *textobj-function-clang-license*
The MIT License (MIT)
Copyright (c) 2014 rhysd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
==============================================================================
vim:tw=78:fo=tcq2mM:ts=8:ft=help:norl