Code Monkey home page Code Monkey logo

Comments (4)

stevearc avatar stevearc commented on May 22, 2024

When you say "cannot be invoked", what is actually happening? And please post the output of :ArduinoInfo if you can.

from vim-arduino.

Eric97 avatar Eric97 commented on May 22, 2024

:ArduinoInfo and the other :Ardu* commands are not recognized as valid editor commands.
:help arduino can display the help document though.

from vim-arduino.

stevearc avatar stevearc commented on May 22, 2024

Ah, the commands are defined in the ftplugin file https://github.com/stevearc/vim-arduino/blob/master/ftplugin/arduino.vim

It's possible that the files you're editing aren't properly recognized. The ftdetect rules live here: https://github.com/stevearc/vim-arduino/blob/master/ftdetect/arduino.vim

Try doing a :se ft? to check the detected filetype. If it's not set to arduino then that would explain it, and then we can figure out why the detection isn't working.

from vim-arduino.

Eric97 avatar Eric97 commented on May 22, 2024

Thanks. After opening the .ino file in vim, then the commands can work with the correct file type detected!

from vim-arduino.

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.