preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.13k stars 487 forks source link

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

Open hasufell opened 5 years ago

hasufell commented 5 years ago

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.

taiansu commented 4 years ago

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

alerque commented 4 years ago

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

vyorkin commented 4 years ago

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

alerque commented 4 years ago

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.