pangloss / vim-javascript

Vastly improved Javascript indentation and syntax support in Vim.
http://www.vim.org/scripts/script.php?script_id=4452
3.8k stars 358 forks source link

Incomplete support for jsdoc3 namepaths on @typedef #1251

Closed jrhalchak closed 2 years ago

jrhalchak commented 2 years ago

Description

This happens with all plugins disabled other than vim-javascript.

When attempting to create a typedef that documents the inner member of a class, it seems to work unless I use a tilde ~ as the separator between the class and member. I got this from an example from https://jsdoc.app/tags-typedef.html


What I Get

image

What I Expect

image

I noticed the syntax match didn't seem to accept it so — not sure I went about contributing properly — but I proposed a fix here #1250