Skip to content

fecet/fortune.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple fortune in neovim

Install and usage

Install with any plugin manager and lazyload it since purpose of this plugin is just to provide a function:

local function footer()
    local stats = require("lazy").stats()
    local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100)
    local str = "" .. stats.count .. " plugins in " .. ms .. "ms"
    return vim.list_extend({ "", str, "" }, require("fortune").fortune(true))
end

If you just need a string, use:

require("fortune").fortune()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published