Skip to content

benjaminshawki/nvim-random-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

nvim-random-id

A Neovim plugin to generate random human-readable IDs used for Inlang.

Installation

require('lazy').setup({
  {
    "benjaminshawki/nvim-random-id",
    config = function()
      require('nvim-random-id').setup()
    end,
  },
})

or

require('lazy').setup({
  {
    "benjaminshawki/nvim-random-id",
    config = function()
      require('nvim-random-id').setup({
        adjectives = { "bright", "cheerful", "happy" },
        animals = { "cat", "dog", "elephant" },
        verbs = { "run", "jump", "swim" },
        adverbs = { "quickly", "eagerly", "boldly" },
      })
    end,
    keys = {
      { "<leader>cg", function() _G.add_key_value_pair() end, desc = "Add key-value pair" },
    },
  },

  -- Other plugins...
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages