Skip to content

Conversation

@numToStr
Copy link
Owner

Now you can add a description to a ---@alias (enum) tag

Syntax

---@alias <name>
---TEXT                  <--- This is now valid
---TEXT                  <--- and there could be more than one
---| ...
---| ...

Emmy

---@alias VMode
---Vim operator-mode motions. Read `:h map-operator`
---| 'line' Vertical motion
---| 'char' Horizontal motion
---| 'v' Visual Block Mode
---| 'V' # Visual Line Mode

Help

VMode                                                                    *VMode*
    Vim operator-mode motions. Read `:h map-operator`

    Variants: ~
        ('line')  Vertical motion
        ('char')  Horizontal motion
        ('v')     Visual Block Mode
        ('V')     Visual Line Mode

@numToStr numToStr merged commit d902592 into master Jun 28, 2022
@numToStr numToStr deleted the alias-desc branch June 28, 2022 06:39
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