{ ... }:
{
  youthlic.plugins.trouble = {
    enable = true;
    settings = {
      modes = {
        lsp = {
          win = {
            position = "right";
          };
        };
        preview_float = {
          mode = "diagnostics";
          preview = {
            type = "float";
            relative = "editor";
            border = "rounded";
            title = "Preview";
            title_pos = "center";
            position = [
              0
              (-2)
            ];
            size = {
              width = 0.3;
              height = 0.3;
            };
            zindex = 200;
          };
        };
      };
    };
  };
}
