tagbar icon indicating copy to clipboard operation
tagbar copied to clipboard

Haskell hasktags config: Unknown tag kind encountered: "i" warning

Open hasufell opened this issue 6 years ago • 4 comments

Tagbar throws:

Unknown tag kind encountered: "i". Your ctags and Tagbar configurations are out of sync! Please read ':help tagbar-extend'.

Configuration is copy pasted from https://github.com/majutsushi/tagbar/wiki#haskell

Seems odd to me that recommended configuration gives warnings/errors. What does it mean? Skimming through ':help tagbar-extend' didn't give me any useful insights.

hasufell avatar Apr 16 '19 03:04 hasufell

I suppress the warning by changing the config per these changes, it does display something in the tagbar, but I'm not even sure if it makes sense or not.

Screen Shot 2019-11-13 at 3 11 37 AM

taiansu avatar Nov 12 '19 19:11 taiansu

If anybody has better settings for Haskell that they'd like to contribute, I'd be happy to review and include such a thing.

alerque avatar Dec 03 '19 08:12 alerque

I suggest using the @taiansu config for Haskell. Just tried it and it seems to work perfectly. Maybe I'm missing smth, but at least it doesn't throw errors. I've updated the Wiki

vyorkin avatar Mar 15 '20 20:03 vyorkin

Having something working in the Wiki is nice, but it would be much better if we just made Haskell work out of the box! I would love it if somebody who can verify these changes would submit a PR against the plugin itself to make the default config be the best config.

alerque avatar Mar 17 '20 07:03 alerque