devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] vim styles
Date: Wed, 1 Oct 2025 10:57:22 +0400
Message-ID: <3tlinn7wwlv4phluxaxmkvynus@iv-work> (raw)
In-Reply-To: <6c138546-84f0-4208-b0e0-124111be621c@yandex.ru>

On Tue, Sep 30, 2025 at 10:14:45PM +0300, Alexander Lubyagin wrote:
> Подскажите, есть ли Vim Style Policy?

Как таковой, policy нет. В этом легко убедиться, проверив список
всех нормативных документов:

https://www.altlinux.org/Категория:Нормативные_документы

Также можно заглянуть в список черновиков, где про vim тоже
вроде как ничего нет:

https://www.altlinux.org/Категория:Черновики_нормативных_документов


Однако, присмотревшись к пакетной базе, можно заметить определённые
традиции:

- все пакеты называются vim-plugin-..., независимо от того,
  какое именно дополнение в них запаковано
- они раскладывают файлики в /usr/share/vim
- есть пакет с полезными макросами rpm-build-vim

Для всего этого на wiki есть пример, который на первый взгляд
не ужасен:

https://www.altlinux.org/SampleSpecs/vimplugin

> Или пример, как упаковывать vim syntax file (в пакет) для какого-либо типа
> файлов?

Можно посмотреть на пакеты vim-plugin-*. Какой из них при этом
достаточно хорош чтобы взять его за образец сразу не подскажу.

-- 
  wbr,
    iv m.


  reply	other threads:[~2025-10-01  6:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-30 19:14 Alexander Lubyagin
2025-10-01  6:57 ` Ivan A. Melnikov [this message]
2025-10-01 10:08 ` Alexander Lubyagin

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=3tlinn7wwlv4phluxaxmkvynus@iv-work \
    --to=iv@altlinux.org \
    --cc=devel-newbies@lists.altlinux.org \
    /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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git