vivekmalneedi / veridian

A SystemVerilog Language Server
MIT License
134 stars 15 forks source link

Add config option to set verible format flags #15

Closed zegervdv closed 3 years ago

zegervdv commented 3 years ago

Add a config setting to specify the verible-verilog-format flags. E.g.:

verible_flags: --net_variable_alignment=align

(BTW: thanks for creating this, just what I was looking for :) )

vivekmalneedi commented 3 years ago

Thanks, this feature should now be available in the latest nightly release, and can be used with the following configuration

verible:
    format:
        args:
            - --net_variable_alignment=align

Configuration has been reworked a bit, both to support verible tool arguments and to properly fill in default values when reading the config, so make sure to review the relevant section of the readme

veridian is still in a sort of alpha state, so thanks for trying it out and feel free to file an issue if you run into any other pain points.

zegervdv commented 3 years ago

works like a charm! Thanks