Code Monkey home page Code Monkey logo

job.vim's Introduction

跨neovim与vim8的job接口

函数

  • job#start(command_line, options) ---- 启动一个job并返回,options为一个字典,onout onerr onexit分别指定job标准输出、标准错误、退出时的回调函数
  • job#success(job) -------------------- 检测job是否启动成功
  • job#running(job) -------------------- 检测job是否还在运行

下面两个函数用于回调,可作为job#start函数options参数的onout onerr传入

  • job#cb_add2qf(job, data) ------------ 将job输出的数据投递到quickfix
  • job#cb_add2qfb(job, data) ----------- 将job输出的数据投递到quickfix,并滚动到底部

Features

  • Windows下自动转换子进程的输出编码为utf8

job.vim's People

Contributors

luzhlon avatar

Watchers

James Cloos avatar  avatar

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.