Skip to content

ursuscamp/slf.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slf.nvim

Vim syntax plugin for my own SLF (Simple Log File) format

This requires slf on the system path. After installing, run :checkhealth slf to check if the setup is valid.

Setup

Using lazy.nvim:

{
    'ursuscamp/slf.nvim',
	dependencies = { 'nvim-lua/plenary.nvim' },
    keys = {
        { '<leader>xl', ':Slf<CR>', desc = 'Log to SLF' },
    }
    config = function()
        require('slf').setup()
    end
}

Default Option

These are the options which can be passed to setup():

{
    -- May be a path to a .slf file to use. This is passed to --file argument of slf.
    -- If not provided, it will use slf's default.
    path = nil
}

About

Neovim plugin for "simple log file" format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published