A simple neovim plugin for Code::Stats.
- no need for Python, Lua is bundled with neovim!
- compatible with codestats-fish and codestats-zsh (
CODESTATS_API_KEY)
- cURL
- neovim 0.5 or newer
Plug 'nyaa8/codestats.nvim'Plugin 'nyaa8/codestats.nvim'call packager#add('nyaa8/codestats.nvim')call dein#add('nyaa8/codestats.nvim')Set the CODESTATS_API_KEY environment variable to your CodeStats token.
set -Ux "SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ"echo "export CODESTATS_API_KEY=SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ" >> ~/.zshenvecho "export CODESTATS_API_KEY=SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ" >> ~/.bash_profileYou can also set CODESTATS_API_URL if you want to use a different instance, eg.
set -Ux CODESTATS_API_URL "https://beta.codestats.net/api"