Hi lam,

Excerpts from bill lam's message of Fri Aug 06 07:36:26 +0200 2010:
> Vim from debian (huge build) defaults to load syntax files such as
> python.vim from its system runtime.  Is it possible to prevent loading
> some or all syntax file when starting vim by adding some command
> inside .vimrc?  I want to load only those syntax file that I needed.

syntax files are not read until you open a file of that filetype.
Assuming that you know that you can

a) use ~/.vim/after/syntax/python.vim
   and run syn off or such
b) use syn of globally and use
  runtime syntax/python.vim
  in your ~/.vim/ftplugin/python.vim
  file. This "manually" sources the syntax files.

Anyway talk about your real problem, why do you want to source only
syntax files you need?

Marc Weber

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to