Skip to content

feat: allow desc in ---@alias enum - #18

Merged
numToStr merged 1 commit into
masterfrom
alias-desc
Jun 28, 2022
Merged

numToStr merged 1 commit into
masterfrom
alias-desc

Conversation

@numToStr

Copy link
Copy Markdown
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.

1 participant