Skip to content

Conversation

@kristijanhusak
Copy link

This adds support for borders for neovim floating window. Also fixes part of #27.

@pechorin
Copy link
Owner

pechorin commented Dec 7, 2020

Please provide screenshot for such big improvment, also where should be way to configure borders

@kristijanhusak
Copy link
Author

Here's a screenshot:
screenshot

And I made it configurable:

" top left corner, top right corner, bottom left corner, bottom right corner, top/bottom, left/right
let g:any_jump_neovim_border = ['', '','', '', '', '']

@geodimm
Copy link

geodimm commented Mar 13, 2021

Hi @pechorin,

Awesome project! Have you considered merging this feature in the near future? 🙏🏼

@numbcoder
Copy link

ping @pechorin

@pechorin
Copy link
Owner

I think this possible if this will be option (and not enabled by default). You can rework this, or wait for me :)


" Borders for neovim floating window, list of strings in this order
" top left corner, top right corner, bottom left corner, bottom right corner, top/bottom, left/right
let g:any_jump_neovim_border = ['╭', '╮','╰', '╯', '─', '│']
Copy link
Owner

Choose a reason for hiding this comment

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

Please add option, for enabling or disabling this (this should not be enabled by default)

\ 'style': 'minimal',
\ }

let [topleft_b, topright_b, botleft_b, botright_b, horizontal_b, vertical_b] = g:any_jump_neovim_border
Copy link
Owner

Choose a reason for hiding this comment

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

Please move all this logic code part to separate function :)

@kristijanhusak
Copy link
Author

This is not applicable any more because neovim has built in borders now. It should be much simpler to add it. I'll let someone else take care of that.

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.

4 participants