The testaustime plugin for Neovim, written in Lua this time
You can use your favourite plugin manager, here's an example for packer.nvim:
use {
'testaustime/testaustime.nvim', requires = { 'nvim-lua/plenary.nvim' },
config = function() require'testaustime'.setup({token = "yourtoken"}) end
}
Or you alternatively can simply use the plugin here then require and setup it elsewhere in your config:
use {
'testaustime/testaustime.nvim', requires = { 'nvim-lua/plenary.nvim' },
}
These are all the available configuration options currently:
require'testaustime'.setup({
token = "yourVerySecretTestaustimeAuthenticationToken", -- Required
api_url = "https://your.testaustimeinstance.com",
useragent = "FunnyUserAgentForBackendHostToLaughAt",
-- When project path includes a string in secret_projects list, it's project name gets replaced with "hidden"
secret_projects = {"mysecretproject"},
ignored_filetypes = {"packer", "netrw", "help", "qf", "TelescopePrompt", "gitcommit"},
editor_name = "Neovim",
})