Bug ID | 1202885 |
---|---|
Summary | Vim syntax highlighting for typescript fails due to missing shared directory in package |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Development |
Assignee | screening-team-bugs@suse.de |
Reporter | neuron@neverspace.net |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.105 Safari/537.36 Build Identifier: In upstream Vim 9, a new directory "syntax/shared" has been set up containing files necessary for (e.g.) typescript (see https://github.com/vim/vim/tree/master/runtime/syntax/shared). It seems that the openSUSE Tumbleweed package does not include this directory when built, which in turn causes the typescript syntax to fail. Reproducible: Always Steps to Reproduce: 1. Launch the Vim editor (vim or gvim). 2. Set file type to typescript, either by calling :setfiletype typescript, or by editing a file with a .ts suffix (either new or existing). Actual Results: The following error occurs: Error detected while processing FileType Autocommands for "*"..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/vim90/syntax/typescript.vim: line 38: E484: Can't open file /usr/share/vim/vim90/syntax/shared/typescriptcommon.vim Due to this failure no typescript syntax highlighting is applied. Expected Results: The typescript syntax highlighting should be applied. I believe that the vim.spec file of package vim needs to be adjusted to ensure that the syntax/shared directory is created and all files are copied over accordingly.