Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 1.1 KB

README.md

File metadata and controls

57 lines (48 loc) · 1.1 KB

projectile.nvim

Plugin for projectile.

Config

Sample config with default values:

require('projectile').setup{
    output_behavior = 'notify',
    notifier = {
        wait = {
            wait_text = 'Projectile',
            rate = 1000,
        },
        done = {
            success_symbol = '',
            success_text = 'Success',
            fail_symbol = '',
            fail_text = 'Fail',
            delay = 3000,
        },
        loader = {
            '[.  ]',
            '[.. ]',
            '[...]',
            '[   ]',
        },
    },
    mappings = {
        select_action = 's',
        start = '<CR>',
        quit = 'q',
    }
}

output_behavior

  • "notify"
  • "on_exit"
  • "on_stdout"

Highlights

  • NotifierText
  • NotifierSuccess
  • NotifierFail

Can be set with:

vim.cmd([[highlight NotifierText guifg=#fe8019]])

Acknowledgements

The notifier UI was inspired and borrows implementation from j-hui/fidget.nvim