Summary: | app-text/asciidoc-8.6.9-r1 should install vim files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Efros <powerman-asdf> |
Component: | Current packages | Assignee: | Marc Joliet <marcec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, djc, marcec, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Efros
2014-11-26 23:42:21 UTC
install-vim target has been dropped from the Makefile: https://code.google.com/p/asciidoc/source/detail?r=39d7733ae139f9d4d1d94ff3e2b2ac03d51600b2 Yeah, but syntax file asciidoc.vim is still supported, so why not copy it into /usr/share/vim/…? Asking users to manually download it from repo into ~/.vim/syntax/ is very inconvenient. Even if you decide to not install asciidoc.vim system-wide ebuild should be fixed to drop vim-syntax USE flag. The syntax file is part of vim-core now: % qlist vim-core | grep asciidoc /usr/share/vim/vim74/syntax/asciidoc.vim The diff is very small: # diff -U4 vim/syntax/asciidoc.vim /usr/share/vim/vim74/syntax/asciidoc.vim --- vim/syntax/asciidoc.vim 2013-03-15 01:25:35.000000000 +0100 +++ /usr/share/vim/vim74/syntax/asciidoc.vim 2015-08-25 17:48:37.129297112 +0200 @@ -4,8 +4,9 @@ " Obenhuber's original asciidoc.vim script). " URL: http://asciidoc.org/ " Licence: GPL (http://www.gnu.org) " Remarks: Vim 6 or greater +" Last Update: 2014 Aug 29 (see Issue 240) " Limitations: " " - Nested quoted text formatting is highlighted according to the outer " format. @@ -154,9 +155,10 @@ hi def link asciidocQuotedAttributeList Special hi def link asciidocQuotedBold Special hi def link asciidocQuotedDoubleQuoted Label hi def link asciidocQuotedEmphasized2 Type -hi def link asciidocQuotedEmphasized Type +hi asciidocQuotedEmphasizedItalic term=italic cterm=italic gui=italic +hi def link asciidocQuotedEmphasized asciidocQuotedEmphasizedItalic hi def link asciidocQuotedMonospaced2 Identifier hi def link asciidocQuotedMonospaced Identifier hi def link asciidocQuotedSingleQuoted Label hi def link asciidocQuotedSubscript Type So I would just drop the vim-syntax USE flag completely. I'll open a pull request for this after https://github.com/gentoo/gentoo/pull/291 is complete. Fixed in commit 168218b3a889f0357c7bebd3c42286bfa482f04d "app-text/asciidoc: remove vim-syntax from IUSE". |