crystal-ctags
Crystal Ctags
Tool for generation ctags
for Crystal
Installation
From sources:
$ cd ~/Projects
$ git clone https://github.com/SuperPaintman/crystal-ctags
$ cd ./crystal-ctags
$ make
$ sudo make install
$ # or
$ sudo make reinstall
Usage
$ crystalctags -h
Test
$ crystal spec
# or
$ make test
Use with
VIM: TagBar
let g:tagbar_type_crystal = {
\'ctagstype': 'crystal',
\'ctagsbin': 'crystalctags',
\'kinds': [
\'c:classes',
\'m:modules',
\'d:defs',
\'x:macros',
\'l:libs',
\'s:sruct or unions',
\'f:fun'
\],
\'sro': '.',
\'kind2scope': {
\'c': 'namespace',
\'m': 'namespace',
\'l': 'namespace',
\'s': 'namespace'
\},
\}
Contributing
- Fork it (https://github.com/SuperPaintman/crystalctags/fork)
- Create your feature branch (
git checkout -b feature/<feature_name>
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin feature/<feature_name>
) - Create a new Pull Request
Contributors
- SuperPaintman SuperPaintman - creator, maintainer
API
Changelog
License
Repository
crystal-ctags
Owner
Statistic
- 13
- 4
- 0
- 0
- 0
- about 6 years ago
- November 16, 2016
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 18:32:12 GMT
Languages