https://bugzilla.novell.com/show_bug.cgi?id=364509
User mkoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=364509#c7
--- Comment #7 from Matthias Koenig 2008-02-25 08:17:45 MST ---
BTW, why don't we move over the VIM syntax file into the yast2-devtools
package.
I know, previously this has not been possible because vim used versioned dirs.
Recently, I added a system wide site directory for vim:
/usr/share/vim/site/
into which other packages can install syntax files. This requires:
1. Putting the syntax file itself into
/usr/share/vim/site/syntax/
2. Letting vim know about the new file by adding a file ycp_filetype.vim into
/usr/share/vim/site/ftdetect/
The content is the same as the part for ycp detection currently in our
filetype.vim:
" YCP
au BufNewFile,BufRead *.ycp,*.scr,*.yh set ft=ycp
This way it would be easier to maintain the ycp related files and we don't
bloat up the vim package.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.