Skip to content

Plugin template for neovim to create sql script layouts

License

Notifications You must be signed in to change notification settings

groovyghoul/sqeletor.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQeLetor

Neovim Opinionated Templating Plugin

Installation

Lazy

return {
  {
    "groovyghoul/sqeletor.nvim",
  },
}

Configuration

return {
  {
    "groovyghoul/sqeletor.nvim",
    lazy = false,
    keys = {
      {
        "<leader>sq",
        function()
          require("sqeletor").new_script()
        end,
        desc = "Fire up SQeLetor for script",
      },
      {
        "<leader>sp",
        function()
          require("sqeletor").new_procedure()
        end,
        desc = "Fire up SQeLetor for procedure",
      },
    },
  },
}

Usage

Commands

SqeletorScript

SqeletorProcedure

Documentation

See :help sqeletor.nvim

Development

lua vim.opt.runtimepath:append(',~/source/sqeletor.nvim')

To runt/test:

lua require('sqeletor').new_script()
lua require('sqeletor').new_procedure()

(last update: 2023-may-09)

About

Plugin template for neovim to create sql script layouts

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published