{ plugins.trouble = { enable = true; luaConfig.pre = '' opts = { modes = { lsp = { win = { position = "right" }, }, }, } ''; }; }