From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D2A6513838B for ; Mon, 6 Oct 2014 04:19:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 440DDE0ADB; Mon, 6 Oct 2014 04:19:07 +0000 (UTC) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7E81E0ACD for ; Mon, 6 Oct 2014 04:19:05 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id pv20so3623528lab.20 for ; Sun, 05 Oct 2014 21:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding; bh=rKdIreIR56WIxg9IhCgpuvX5D1JxB5j+nCQN1qIRkbQ=; b=uoE4vRbcnAU/H71bT3uQb41hmqiIiMYv1LremXjD1ONoCvBiMUvrKE2ofbhpX/gg1R dPwbq/gjb61zaHpq8bRURIbw/y/+4ENnmnQbKUvIDVujLWxATSJqFwKJXsvvIqj5lyv/ pE2CAd8VaHdUejFsQep7/azlrzVq2YVm+jQmZuKnVixGjG/eyto7K1xIxdNwiXNzXc0G dOg599JnDr3/dRgOAtartAFmGJ7cAiUrhMiVHlDN+tbjrUxv7YK8Yi4EdWAtm8OtVFzQ aJyTU7gv6+3tT3bXHcaOxp5SBbV0Wi6R/1iJnt71sp/Pc2/uAeAw5TerkX5X1Am/n5S5 TqxQ== X-Received: by 10.152.87.10 with SMTP id t10mr22337014laz.22.1412569143966; Sun, 05 Oct 2014 21:19:03 -0700 (PDT) Received: from cosmo ([193.200.85.246]) by mx.google.com with ESMTPSA id c6sm5283368lbd.25.2014.10.05.21.19.03 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 05 Oct 2014 21:19:03 -0700 (PDT) Message-ID: <54321837.2610700a.06c5.46a6@mx.google.com> Date: Mon, 6 Oct 2014 07:18:59 +0300 From: Gevisz To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Was Vim compiled with +eval feature? Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 3fa5f0d0-37eb-4991-8179-2a4e9614e140 X-Archives-Hash: cbc7011174fab0305466fca605b09837 I have downloaded the snippet plugin from http://www.vim.org/scripts/script.php?script_id=361 and have done all the steps described there to install it but, unfortunately, it does not work. My first thought was that a plugin should be somehow loaded into Vim but Vim documentation says that "Vim's functionality can be extended by adding plugins. A plugin is nothing more than a Vim script file that is loaded automatically when Vim starts. You can add a plugin very easily by dropping it in your plugin directory. {not available when Vim was compiled without the +eval feature}" So, it seems that no load command is needed. I am going to post the question about it in vim mailing list but I guess that the first question to me will be: "Was your vim compiled with the +eval feature?" I guess that the answer is "yes" but do not know it for sure. To find out this I have tried $ equery uses vim but it gives no exact answer to the question above (though it seems that the answer is "yes", I guess it from the fact that the minimal use flag is disabled). Here is the output from this command: * Found these USE flags for app-editors/vim-7.4.273: U I + + X : Link console vim against X11 libraries to enable title and clipboard features in xterm + + acl : Add support for Access Control Lists - - cscope : Enable cscope interface -- in vim for example - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml + + gpm : Add support for sys-libs/gpm (Console-based mouse driver) - - lua : Enable Lua scripting support - - luajit : Use dev-lang/luajit instead of dev-lang/lua - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + nls : Add Native Language Support (using gettext - GNU locale utilities) - - perl : Add optional support/bindings for the Perl language - - python : Add optional support/bindings for the Python language + + python_single_target_python2_7 : Build for Python 2.7 only - - python_single_target_python3_3 : Build for Python 3.3 only + + python_targets_python2_7 : Build with Python 2.7 + + python_targets_python3_3 : Build with Python 3.3 - - racket : Enable support for Scheme using dev-lang/racket - - ruby : Add support/bindings for the Ruby language - - tcl : Add support the Tcl language - - vim-pager : Install vimpager and vimmanpager links More generally, I would also ask if there is something specific in Gentoo Vim setup that could prevent a Vim plugin from executing? P.S. I have also tried to load all the plugins by :runtime! plugin/**/*.vim command as described in Vim documentation but it says: Error detected while processing ~/.vim/plugin/snippet.vim: line 28: E15: Invalid expression: exists("loaded_snippets") line 231: E171: missing :endif