• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

neovim/lua-client: Nvim Lua client

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

neovim/lua-client

开源软件地址(OpenSource Url):

https://github.com/neovim/lua-client

开源编程语言(OpenSource Language):

Lua 80.6%

开源软件介绍(OpenSource Introduction):

lua-client

Build Status

Lua client for Neovim

Future plans

The future of lua-client (this repo) is grim, because the future of Nvim Lua is supple and verdant:

  1. Nvim core will gain the ability to run Lua code via nvim -l.
  2. We will include some sort of Lua client in Nvim core. Perhaps starting with https://github.com/justinmk/lua-client2
  3. Legacy lua-client (this repo) will be archived.

Build

The Makefile pulls and builds various dependencies into .deps.

 make

To build on platforms other than linux, specify a LUA_TARGET, e.g.

LUA_TARGET=macosx build

Valid LUA_TARGETs are those supported by lua 5.1 i.e. one of:

  • aix
  • ansi
  • bsd
  • freebsd
  • generic
  • linux
  • macosx
  • mingw
  • posix
  • solaris

Test

Run tests against whatever nvim is in $PATH:

 make test

Use a specific nvim:

 NVIM_PROG=/path/to/nvim make test

Use test tags (it('#foo', function() ...):

 NVIM_PROG=/path/to/nvim make test TEST_TAG=foo

Release

  1. Bump the rockspec version and filename.
  2. Create and push a new tag.
    TAG=$(echo *.rockspec | grep -o '[0-9].[0-9].[0-9].[0-9]')
    git tag -a "$TAG" -m "nvim-client $TAG"
    git push --follow-tags --dry-run
    git push --follow-tags
    
  3. Generate LuaRocks API key
  4. Upload the new rockspec.
    ./.deps/usr/bin/luarocks upload --api-key=xxx nvim-client-*.rockspec
    
    • Note: luarocks upload requires a JSON library.
      ./.deps/usr/bin/luarocks install dkjson
      



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap