Skip to content

a neovim plugin to spread out inline objects, arrays, parameter lists, etc.

Notifications You must be signed in to change notification settings

aarondiel/spread.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

spread.nvim

a plugin to refactor and spread out objects, arrays, parameter lists, etc onto multiple lines.

this plugin is still work in progress, so don't expect it to work with every language and container.

installation

this plugin uses treesitter so be sure to also install it

using packer:

use({
	"aarondiel/spread.nvim",
	after = "nvim-treesitter",
	config = function()
		local spread = require("spread")
		local default_options = {
			silent = true,
			noremap = true
		}

		vim.keymap.add("n", "<leader>ss", spread.out, default_options)
		vim.keymap.add("n", "<leader>ssc", spread.combine, default_options)
	end
})

About

a neovim plugin to spread out inline objects, arrays, parameter lists, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages