Giter Club home page Giter Club logo

runthis.nvim's Introduction

Front-End Dev/Designer

๐Ÿ’™ Love working on Open-Source projects

Check out my blog and projects

Reach me out -> rimuhrimu [at] protonmail.com

Discord -> Darkay117#7559

runthis.nvim's People

Contributors

rimuhrimu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

runthis.nvim's Issues

Autorun if only 1 buffer opened

i think that when only 1 buffer is opened - it must be obvios to chouse, what file to run)

And also, you need to remind your self, that 1 opened buffer at 1 time - is tipical situation

Your plugin cant correctly locate file

My pwd whas
/home/<username>/<project_name>
I openend file
/home/<username>/<project_name>/code/app.py

Output was:

Running { /home/lexsilentium/scrypton/.venv/bin/python app.py } on file -> 'app.py'
-
/home/<username>/<project_name>/.venv/bin/python: can't open file '/home/<username>/<project_name>/app.py': [Errno 2] No such file or directory

so, your plugin didnt get the relative path of file, and used his name.

parse shebang

If file starts with shebang, like this:

#!/usr/bin/python3

and input command is emplty, then your plugin should just use this command:

/usr/bin/python3 /path/to/current/file
or
/usr/bin/python3 /path/to/temp/copy/

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.