Skip to content

Conversation

@dwtong
Copy link
Contributor

@dwtong dwtong commented May 9, 2024

when opening splits from a floating window with the "Open in split" option, this will set the split to open vertically.

configure with:

vim.g.rustaceanvim = {
    tools = {
        float_win_config = {
            open_split = 'vertical',
        },
    },
}

@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2024

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

  • For example, fix(lsp): some lsp-related bugfix

  • Pull request title has the appropriate conventional commit prefix.

If applicable:

  • Tested
    • Tests have been added.
    • Tested manually (Steps to reproduce in PR description).
  • Updated documentation.
  • Updated CHANGELOG.md

Copy link
Owner

@mrcjkb mrcjkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution 😃🙏

@mrcjkb mrcjkb changed the title feat(diagnostic): add open_split_vertical option for splits opened feat(ui): add open_split_vertical option for splits opened May 10, 2024
@dwtong dwtong force-pushed the split-config branch 2 times, most recently from 74312b8 to d578572 Compare May 10, 2024 21:18
when opening splits from a floating window with the "Open in split"
option, this will set the split to open vertically.

configure with:

```lua
vim.g.rustaceanvim = {
    tools = {
        float_win_config = {
            open_split = 'vertical',
        },
    },
}
```
@dwtong
Copy link
Contributor Author

dwtong commented May 10, 2024

i have made the requested changes - if you're happy with them then it's all ready to go :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants