public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Gevisz <gevisz@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Was Vim compiled with +eval feature?
Date: Mon, 6 Oct 2014 07:18:59 +0300	[thread overview]
Message-ID: <54321837.2610700a.06c5.46a6@mx.google.com> (raw)

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


             reply	other threads:[~2014-10-06  4:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06  4:18 Gevisz [this message]
2014-10-06  4:42 ` [gentoo-user] Was Vim compiled with +eval feature? Jc García
2014-10-06  4:49   ` Jc García
2014-10-06 12:07   ` Gevisz
2014-10-07 18:51 ` Todd Goodman
2014-10-08  4:38   ` Gevisz

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=54321837.2610700a.06c5.46a6@mx.google.com \
    --to=gevisz@gmail.com \
    --cc=gentoo-user@lists.gentoo.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
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