[Bug 1202885] New: Vim syntax highlighting for typescript fails due to missing shared directory in package
http://bugzilla.opensuse.org/show_bug.cgi?id=1202885 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. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202885 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |mimi.vx@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202885 http://bugzilla.opensuse.org/show_bug.cgi?id=1202885#c1 Niklas Lindstr�m <neuron@neverspace.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |UPSTREAM --- Comment #1 from Niklas Lindstr�m <neuron@neverspace.net> --- This appears to have been resolved by revision 320, which updates vim to version 9.0.0313. That includes a fix described as '"make install" does not install shared syntax file. (James McCoy)'. As I understand it, there is thus no need to update vim.spec (as I previously guessed), as the bug was from upstream, fixed there and included in a new revision. I hope it is OK that I'm changing the status to "RESOLVED" "UPSTREAM" here. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com