nvim : temporary use align.mini.

This commit is contained in:
Dmitry Voronin 2023-12-13 23:11:44 +03:00
parent e6654e66ab
commit fa37af8222
3 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,5 @@
require("key/leader")
require("plugin/init")
require("config/autoread")
@ -5,7 +7,6 @@ require("config/search")
require("config/tab")
require("config/etc")
require("key/leader")
require("key/filetree")
require("key/lsp")
require("key/whichkey")
@ -19,7 +20,7 @@ require("key/window")
require("key/telescope")
require("key/common")
require("key/todo")
require("key/align")
-- require("key/align")
require("key/fold")
require("key/update")
require("key/macro")

View file

@ -0,0 +1,8 @@
require('mini.align').setup {
-- Module mappings. Use `''` (empty string) to disable one.
mappings = {
start = '<Leader>a',
start_with_preview = '<Leader>A',
},
}

View file

@ -21,7 +21,7 @@ local available = function(commands)
end
return require("packer").startup(function(use)
--[[
--[[
host requirements
- gcc-c++
]]--
@ -46,9 +46,10 @@ return require("packer").startup(function(use)
use "https://git.voronind.com/mirror/telescope.nvim.git"
use "https://git.voronind.com/mirror/nvim-treesitter.git"
use "https://git.voronind.com/mirror/todo-comments.nvim.git"
use "https://git.voronind.com/mirror/align.nvim.git"
-- use "https://git.voronind.com/mirror/align.nvim.git"
use "https://git.voronind.com/mirror/gruvbox-material.git"
use "https://git.voronind.com/mirror/indent-o-matic.git"
use "https://github.com/echasnovski/mini.align" -- Temporary while align is broken. See https://git.voronind.com/voronind/linux/issues/2
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins
@ -75,6 +76,7 @@ return require("packer").startup(function(use)
require("plugin/telescope")
require("plugin/todo")
require("plugin/indent")
require("plugin/align")
if available({"g++"}) then
if treesitter then