Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surround types with backticks #58

Open
numToStr opened this issue Oct 31, 2022 · 1 comment
Open

Surround types with backticks #58

numToStr opened this issue Oct 31, 2022 · 1 comment
Labels
enhancement Improvement neeeded

Comments

@numToStr
Copy link
Owner

numToStr commented Oct 31, 2022

This will highlight all the types, without taking space of two characters as neovim will hide that via treesitter conceal.

  • Currently
CommentConfig                                     *comment.config.CommentConfig*
    Plugin's configuration

    Fields: ~
        {padding}    (boolean|fun():boolean)  Controls space between the comment
                                              and the line (default: 'true')
        {sticky}     (boolean)                Whether cursor should stay at the
  • Proposed
CommentConfig                                     *comment.config.CommentConfig*
    Plugin's configuration

    Fields: ~
        {padding}    `(boolean|fun():boolean)`  Controls space between the comment
                                                and the line (default: 'true')
        {sticky}     `(boolean)`                Whether cursor should stay at the
@numToStr
Copy link
Owner Author

It seems there will be alignment issue because of conceallevel, maybe I should add this behavior behind a flag(?)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement neeeded
Projects
None yet
Development

No branches or pull requests

1 participant