https://github.com/olical/neofib
An example Neovim plugin written in Rust using neovim-lib
https://github.com/olical/neofib
Last synced: about 1 year ago
JSON representation
An example Neovim plugin written in Rust using neovim-lib
- Host: GitHub
- URL: https://github.com/olical/neofib
- Owner: Olical
- License: unlicense
- Created: 2018-10-28T13:01:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T09:37:30.000Z (over 7 years ago)
- Last Synced: 2025-04-01T10:42:28.180Z (over 1 year ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```viml
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.
[unlicense]: http://unlicense.org/
[neovim-lib]: https://github.com/daa84/neovim-lib
[scorched-earth]: https://github.com/boxofrox/neovim-scorched-earth
[vim-plug]: https://github.com/junegunn/vim-plug
[LanguageClient-neovim]: https://github.com/autozimu/LanguageClient-neovim