Coder Social home page Coder Social logo

killthemule / nvimpam Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 2.0 58.75 MB

Neovim RPC plugin for pamcrash files

License: Apache License 2.0

Vim Script 0.26% Rust 81.77% Python 0.01% Lua 7.12% Shell 0.01% HTML 0.01% Assembly 10.46% Pascal 0.15% C++ 0.22%
neovim rust pamcrash async

nvimpam's Introduction

nvimpam

(Travis status) (Appveyor status) (Docs.rs) (Crates.io status)

The beginning of a neovim rpc plugin for pamcrash files. Right now, it does folding. Future dreams include syntax highlighting and status line hints.

Based on neovim-scorched-earth. Uses daa84/neovim-lib.

Installation

First and foremost, you will need the nvimpam binary. For that, get a rust installation (the stable release is sufficient), and run cargo install nvimpam (you will need to have the installation directory in your PATH). If requested, I'd provide prebuilt binaries as well, just let me know through a github issue.

To get the plugin files, either point your plugin manager to the github repository, or copy the following folders into your neovim config directory (see :h xdg): ftdetect, ftplugin, lua, doc.

Usage

See :h nvimpam for usage hints.

Contributing

I'd love contributions, comments, praise, criticism... You could open an issue or a pull request, or if you want a direct contact, meet me in the neovim gitter channel. I also read the subreddits for rust and neovim, if that suits you better.

Running tests

Running

cargo test

in the main folder will run the tests in the rust code and documentation. There will not be many of those, most of the testing will be done through neovim functional tests (written in lua). For those, run

TEST_FILE=../test/nvimpam_spec.lua make functionaltest

in the neovim folder of this repository. This might take some time on th first run because it needs to compile neovim and its dependencies.

License

Dual-Licensed under Apache or MIT at your leisure, see the LICENSE-* files.

CoC

Wherever applicable, this project follows the rust code of conduct.

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.