Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

perfanno

URL: https://github.com/t-troebst/perfanno.nvim/

Maintainers: Frede Emil


NeoVim lua plugin that annotates source code with profiling information from perf, LuaJIT, or other profilers.

plugins.perfanno.enable

Whether to enable perfanno.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.perfanno.package

The perfanno.nvim package to use.

Type: package

Default: pkgs.vimPlugins.perfanno-nvim

Declared by:

plugins.perfanno.autoLoad

Whether to automatically load perfanno.nvim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.perfanno.settings

Options provided to the require('perfanno').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  annotate_after_load = true;
  annotate_on_open = true;
  formats = [
    {
      format = "%.2f%%";
      minimum = 0.5;
      percent = true;
    }
    {
      format = "%d";
      minimum = 1;
      percent = false;
    }
  ];
  line_highlights = lib.nixvim.mkRaw "require('perfanno.util').make_bg_highlights(nil, '#CC3300', 10)";
  telescope = {
    annotate = true;
    enabled = lib.nixvim.mkRaw "pcall(require, 'telescope')";
  };
  ts_function_patterns = {
    default = [
      "function"
      "method"
    ];
  };
  vt_highlight = lib.nixvim.mkRaw "require('perfanno.util').make_fg_highlight('#CC3300')";
}

Declared by: