Code Monkey home page Code Monkey logo

Comments (7)

WolfgangMehner avatar WolfgangMehner commented on June 19, 2024

Sorry for the late response. Does the problem persist? Is it present with other versions of Vim?

From the error messages it seems like Vim tries to interpret the Perl code as Vim script. Is Perl correctly compiled into your editor?

from vim-plugins.

XSven avatar XSven commented on June 19, 2024

Yes the problem does still exist. Unfortunately I have no access to other versions of Vim. I think Perl is not correctly complied into the Vim editor. The perl feature is off. I guess that this is the reason. Sorry. One question before I am asking our admins to recompile Vim with perl feature enabled: The perl feature seems to be an "m"type (manually enabled or depends on other features). I could not figure out what that means!

from vim-plugins.

WolfgangMehner avatar WolfgangMehner commented on June 19, 2024

About the error:

I'm slightly confused about the behavior of our plug-in here. We check for the Perl capabilities before we execute the code which causes the above problems. With your Vim, what is the result of the following commands:

:echo has('perl')
:perl print("eee")

About manual features:

Vim comes with various predefined sets of features you can choose from when compiling it yourself: tiny, small, normal, big, ... Some features are not enabled by any of these configurations. You must configure them manually before compiling, e.g.:

./configure --enable-pythoninterp=yes

from vim-plugins.

XSven avatar XSven commented on June 19, 2024

:echo has('perl') prints 0 and :perl print("eee") simply does nothing. To enable the perl feature we have to run configure with --enable-perl=yes right?

from vim-plugins.

WolfgangMehner avatar WolfgangMehner commented on June 19, 2024

Should be --enable-perlinterp=yes.

from vim-plugins.

XSven avatar XSven commented on June 19, 2024

I think we have to close or flag this issue. Our admins refuse to build from source and the packaged versions of vim they are allowed to install have the perl feature disabled :-( I will try to compile from source by my own but I don't know when. Sorry and thanks so far.

from vim-plugins.

WolfgangMehner avatar WolfgangMehner commented on June 19, 2024

No worries.

from vim-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.