Closed fredrikfoss closed 3 weeks ago
Yeah, it's unfortunate. It even supports a ton of configuration. But it's more or less the only vhdl formatter available aside from buggy web-based ones, so can't complain too much. Thanks for the pointers; it now uses ctx.dirname
. I also made a few more changes when i first started, please have a look. It now supports [.]vsg_config.{yaml,yml,json}
and [.]vsg.{yaml,yml,json}
, both locally and in xdg_config. That's quite a few options. Let me know what you think.
LGTM thanks for the PR!
Hi, love your project. This adds support for the VHDL Style Guide (VSG) formatter.
The formatter doesn't auto-detect configuration files, so I added functionality to look for
.vsg.yaml
and.vsg.json
in and under the file's directory and inxdg-config/vsg
and~/.config/vsg
. I couldn't find any mention of a standard name for said files in the documentation, but I saw some other people using these names and is also what I use myself. This might be out of scope, but it is quite nice to have, at least until they settle on something themselves or bake in the functionality. But please let me know what you think.