From owner-freebsd-ports@FreeBSD.ORG Mon Sep 2 16:30:24 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 120E1641 for ; Mon, 2 Sep 2013 16:30:24 +0000 (UTC) (envelope-from michael.schuh@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D50492FCA for ; Mon, 2 Sep 2013 16:30:23 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id m6so1569318oag.32 for ; Mon, 02 Sep 2013 09:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QkqafDX0ILKcONK2DoY3y2Db9LWlYltjTLOvk/WWrRo=; b=IV0K8A9ybpXXHvc3LsNTrrzSG/3qyTWNs7ES995355z+2d1c0Um56h0Fuk/7k7tQXQ xxWCYpDLPDBP6Clv8Iq040gfXZMxOrp7XOG3Gpa49PnpaUzec5TPlbKRzc+Zg54xNL7c 8Bun3ziZ0hrGbIRWWnPPiRl10odc3eoPIAmIYMpgWbvhEJWBkjKIlF+W4kpESvinpX/1 /sLDQGb6EDvwvY6udGtdQjJc7E3JS+83KrejZ7HX5u+2LgqKDJf6Rao4/U7RjR6fYjL8 Ikr7izd5sLLApEOWRoI65aza+/Hf/9KmhO4GCaUPAzPelG98kJHn2R9FRKgNAjN7LJ7k xMbA== MIME-Version: 1.0 X-Received: by 10.60.43.131 with SMTP id w3mr17652288oel.10.1378139423164; Mon, 02 Sep 2013 09:30:23 -0700 (PDT) Received: by 10.60.52.7 with HTTP; Mon, 2 Sep 2013 09:30:23 -0700 (PDT) Date: Mon, 2 Sep 2013 18:30:23 +0200 Message-ID: Subject: Re: vim syntax headers From: Michael Schuh To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 16:30:24 -0000 > > > > Try this: > > # vim: set syntax=apache > > Doesn't work anymore. I built vim 7.4 manually (and installed it in > ~/.local), it doesn't work anymore but it's ok on Debian with vim 7.4. > > A bug somewhere? > > should work since vim 6.0; may be modelines are disabled per default for security concerns? http://vimdoc.sourceforge.net/htmldoc/options.html#'modeline' you can figure if modelines are enabled and if the area is big enough, by checking the settings: [ESC]:set or try [ESC]:help modelines. and if approbiate review your .vimrc/.exrc modeline modelines defaults to 5, if your comment before (at the beginning of the file) or after (at the end of the file) is to big no modeline gets loaded.