neofib


Ⅰ. 插件描述

An example Neovim plugin written in Rust using neovim-lib

Ⅱ. 基本信息

创建日期:  2018-10-28
使用用户:  1
Github星:  4
插件作者:  Oliver Caldwell

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'olical/neofib'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'olical/neofib'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'olical/neofib'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/olical/neofib

Ⅳ. 文档说明

# neofib

An example Neovim plugin written in Rust using [neovim-lib][]. I learnt a lot from [scorched-earth][], the install script is adapted from [LanguageClient-neovim][].

Disclaimer: I am extremely new to Rust and essentially learning it so I can write a Neovim -> Rust -> Clojure socket / pREPL tool.

All it does is generate the nth Fibonacci number when you execute :echo neofib#nth(10), for example. You can install it with any package manager you like, you'll just need to make sure the binary is built before running it. I use this [vim-plug][] line:

Plug 'Olical/neofib', { 'do': 'bash install.sh' }

This entire repository is pretty much copied and adapted code in an attempt to learn from all of these wonderful original authors I have linked to. I hope this collation can help others learn too!

Unlicenced

Find the full [unlicense][] in the UNLICENSE file, but here's a snippet.

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

Do what you want. Learn as much as you can. Unlicense more software.

添加新评论