vivekmalneedi / veridian

A SystemVerilog Language Server
MIT License
115 stars 14 forks source link

Why doesn't the formatter work as expected when I modified the veridian.yml? #181

Closed beyond-fu closed 6 months ago

beyond-fu commented 10 months ago

It seems that the verible-verilog-format does not work according to the new veridian.yml file without restarting the neovim(normally the formatter should work for me just when saving the file) after I modified the args under format option. It will be great if the config file can be updated at any time. I really like this LSP and I need it.

Thanks for your efforts!

beyond-fu commented 10 months ago

Oh, because the veridian.yml actually is a part of the veridian LSP, so the neovim must be restarted to make the modified context active? But is there really no other way?

vivekmalneedi commented 6 months ago

I've always just restarted neovim, since it starts up quickly. Are you worried about the server taking too long to re-index the files or something? From what I remember, this is how the other language servers I've used like clangd have worked, as long as the startup time for neovim and the relevant lsp is fast it shouldn't be an issue.

beyond-fu commented 6 months ago

I just think it's a little bit cumbersome. But it is just like the neovim configs, there may be no way to update the configs in real time. I will close this issue.