nyaa8 / codestats.nvim

🥬 A simple neovim plugin for CodeStats, the free stats tracking service for programmers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🥬 codestats.nvim

A simple neovim plugin for Code::Stats.

Features

Requirements

  • cURL
  • neovim 0.5 or newer

Installation

Plug 'nyaa8/codestats.nvim'
Plugin 'nyaa8/codestats.nvim'
call packager#add('nyaa8/codestats.nvim')
call dein#add('nyaa8/codestats.nvim')

Configuration

Set the CODESTATS_API_KEY environment variable to your CodeStats token.

Fish

set -Ux "SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ"

Zsh

echo "export CODESTATS_API_KEY=SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ" >> ~/.zshenv

Bash

echo "export CODESTATS_API_KEY=SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ" >> ~/.bash_profile

You 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"

About

🥬 A simple neovim plugin for CodeStats, the free stats tracking service for programmers.

License:MIT License


Languages

Language:Lua 86.1%Language:Vim Script 13.9%