mrcjkb / rustaceanvim

Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim
GNU General Public License v2.0
1.3k stars 47 forks source link

feat(ui): add `open_split_vertical` option for splits opened #387

Closed dwtong closed 2 months ago

dwtong commented 2 months ago

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[bot] commented 2 months ago

Review Checklist

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

Proper conventional commit scoping:

If applicable:

dwtong commented 2 months ago

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