Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Lua Plugin

Hello world plugin.

Installation

For lazy (developing).

require("lazy").setup({
  { dir = "/home/roland/projects/luaplugin" }
})

Usage

In your neovim lua configuration.

local luaplugin = require('luaplugin')

luaplugin.setup({
  debug = true,
  name = "roland"
})

-- map helper
Map = function(mode, l, r, opts)
  opts = opts or {}
  opts.buffer = bufnr
  vim.keymap.set(mode, l, r, opts)
end

-- example binding
Map('n', '<space>t', luaplugin.greeting())

About

test nvim plugin

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages