Awesome
code-stats.nvim
Code::Stats plugin for Neovim.
Install
rocks.nvim
Command style
:Rocks install code-stats.nvim
Declare style
~/.config/nvim/rocks.toml
:
[plugins]
"code-stats.nvim" = "scm"
Then
:Rocks sync
or:
$ luarocks --lua-version 5.1 --local --tree ~/.local/share/nvim/rocks install code-stats.nvim
# ~/.local/share/nvim/rocks is the default rocks tree path
# you can change it according to your vim.g.rocks_nvim.rocks_path
Configure
require"code-stats".setup({
args = {
headers = {
['X-API-Token'] = "XXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}
})