Skip to content

Write acceptable characters that can be used in --langdef,--fielddef-, --kinddef-, --extradef-, etc. #1711

@masatake

Description

@masatake

Though what kind of character we can use as kind letter is written in FORMAT file is not written in FORMAT file , vim accepts only "isalpha" char as kind letter. So ctags should not allow users to define a kind using non-isalpha char. Currently isalnum is used to verify the char used in the letter.

[yamato@master]~/var/ctags-github% ./ctags --kinddef-C='3,three,something three things'
./ctags --kinddef-C='3,three,something three things'
ctags: No files specified. Try "ctags --help".
[yamato@master]~/var/ctags-github% ./ctags --kinddef-C='%,three,something three things'
./ctags --kinddef-C='%,three,something three things'
ctags: the kind letter give in "--kinddef-C" option is not an alphabet or a number

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions