Emacs - Elixir Setup Configuration Wiki

Does anyone have Credo and lsp-mode working properly together with Flycheck? I have them sort of both working, but it seems like Credo only gets called when there is a state change with the lsp-ui checker. Once I get a credo warning, it won’t be dismissed until I get a compilation error and then clear that. Also I may not get a credo warning I should get if there is no compile error.

Relevant configs: (I’m using Spacemacs, 26.2, latest everything):

  (add-hook 'elixir-mode-hook
    (lambda ()
      (flycheck-credo-setup)))

  (add-hook 'lsp-after-initialize-hook
            (lambda ()
              (flycheck-add-next-checker 'lsp-ui
                                         'elixir-credo)))