Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isaachier/ztags
ctags implementation for Zig written in Zig
https://github.com/isaachier/ztags
Last synced: 30 days ago
JSON representation
ctags implementation for Zig written in Zig
- Host: GitHub
- URL: https://github.com/isaachier/ztags
- Owner: isaachier
- License: apache-2.0
- Archived: true
- Created: 2018-06-13T20:25:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T01:48:00.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T23:16:17.671Z (4 months ago)
- Homepage:
- Size: 10.7 KB
- Stars: 15
- Watchers: 2
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - isaachier/ztags
README
# ztags
ctags implementation for Zig written in Zig## Vim Tagbar Configuration
Add this to your `.vimrc` (fixing `ctagsbin` accordingly):
```
let g:tagbar_type_zig = {
\ 'ctagstype' : 'zig',
\ 'kinds' : [
\ 's:structs',
\ 'u:unions',
\ 'e:enums',
\ 'v:variables',
\ 'm:members',
\ 'f:functions',
\ 'r:errors'
\ ],
\ 'sro' : '.',
\ 'kind2scope' : {
\ 'e' : 'enum',
\ 'u' : 'union',
\ 's' : 'struct',
\ 'r' : 'error'
\ },
\ 'scope2kind' : {
\ 'enum' : 'e',
\ 'union' : 'u',
\ 'struct' : 's',
\ 'error' : 'r'
\ },
\ 'ctagsbin' : '~/proj/zig/ztags/zig-cache/ztags',
\ 'ctagsargs' : ''
\ }
```