Skip to content

A Neovim plugin that lets you load/execute all Lua files in a directory at once

Notifications You must be signed in to change notification settings

mrjones2014/load-all.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

load-all.nvim

Allows you to load all Lua files in a directory at once. Note, this uses dofile, not require, so it doesn't return anything, it just executes the Lua files via dofile.

Requirements

Neovim >0.5.0

Installation

Packer

use { 'mrjones2014/load-all.nvim', requires = 'nvim-lua/plenary.nvim' }

Vim Plug

Plug 'nvim-lua/plenary.nvim'
Plug 'mrjones2014/load-all.nvim'

Usage

require('load-all')(path)
-- for example
require('load-all')(os.getenv('HOME') .. '/.config/nvim/lua/plugins')

About

A Neovim plugin that lets you load/execute all Lua files in a directory at once

Topics

Resources

Stars

Watchers

Forks

Languages