Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

isaachier/ztags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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' : ''
\ }

About

ctags implementation for Zig written in Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published