ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Custom syntax highlighting
Date: Wed, 2 Mar 2016 16:23:01 +0100	[thread overview]
Message-ID: <nb70gl$t7i$1@ger.gmane.org> (raw)
In-Reply-To: <alpine.OSX.2.02.1603020939230.8080@nqv-znpobbx>


[-- Attachment #1.1: Type: text/plain, Size: 989 bytes --]

On 2016-03-02 14:45:54 +0000, Aditya Mahajan said:

> On Wed, 2 Mar 2016, Nicola wrote:
> 
>> On 2016-03-02 02:14:33 +0000, Aditya Mahajan said:
>>> 
>>> I do not load the default vimrc, because that drastically slows down the
>>> module.
>> 
>> That makes sense. So, Vim is run with something like `vim -u NONE`, I 
>> guess.
> 
> Yes. And if the vimrc option is used, then it is saved on file, and vim -u 
> \vimrc_filename is run.

Crystal clear, thanks!

>> \startvimrc[name=pgsql]
>> set nocompatible
>> set runtimepath+=~/.vim/bundle/pgsql
>> let g:sql_type_default='pgsql'
>> % ...
>> \stopvimrc
> 
> I will add a note to the docs about runtimepath. When I wrote the module, 
> bundle was not popular, but it is the default now.

I use Pathogen, and `bundle` is its default path for plugins. But recently
Vim has introduced a feature called `packages` in the core (:h packages), so
one may expect that in the future the default will be `pack`.

Nicola

[-- Attachment #1.2: Type: text/html, Size: 3158 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-03-02 15:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-01 15:26 Nicola
2016-03-01 15:35 ` Aditya Mahajan
2016-03-01 18:14   ` Nicola
2016-03-02  2:14     ` Aditya Mahajan
2016-03-02  8:46       ` Nicola
2016-03-02 14:45         ` Aditya Mahajan
2016-03-02 15:23           ` Nicola [this message]
2016-03-02 11:06       ` Nicola
2016-03-02 11:20         ` Nicola
2016-03-02 18:21   ` Nicola
2016-03-02 19:34     ` Aditya Mahajan
2016-03-02 19:58       ` Nicola
2016-03-02 20:11         ` Aditya Mahajan
2016-03-02 20:29           ` Nicola
2016-03-01 21:53 ` Hans Hagen
2016-03-02  8:56   ` Nicola
2016-03-02  9:13     ` Hans Hagen
2016-03-02 10:45       ` Nicola
2016-03-02 23:16         ` Alan BRASLAU

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='nb70gl$t7i$1@ger.gmane.org' \
    --to=nvitacolonna@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).