From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Devel discussion list <devel@altlinux.ru>,
ALT Linux Sisyphus <sisyphus@altlinux.ru>
Subject: [devel] Q: syntax/eruby.vim
Date: Wed, 22 Sep 2004 12:58:55 +0400
Message-ID: <20040922085855.GE23315@immo.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
Наткнулся тут на http://www.vim.org/scripts/script.php?script_id=403
Проблема в следующем:
"Source the html syntax file
ru! syntax/html.vim
"Set the filetype to html to load the html ftplugins
set ft=html
unlet b:current_syntax
"Put the ruby syntax file in @rubyTop
syn include @rubyTop syntax/ruby.vim
[дальше идут описания регионов <%...%>]
Чем мне не нравится этот код:
Тип файла получается html, т.е. все ftplugin'ы и настройки indent
грузятся для html. Я _например_ хочу чтобы ft был ruby или
вообще свой ftplugin использовать...
Совместить оба не представляется возможным.
Варианты решения:
1. Убрать установку filetype
2. Ввести опцию eruby_filetype
--
Regards, Sir Raorn.
-------------------
>> Пересобрка пакета kde-settings решает эту проблему.
>Как-то это недистрибутивно...
Недистрибутивно было, когда не было пакета kde-settings.
-- zerg in devel@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-09-22 8:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040922085855.GE23315@immo.ru \
--to=raorn@immo.ru \
--cc=devel@altlinux.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git