nvim : temporary use align.mini.
This commit is contained in:
parent
e6654e66ab
commit
fa37af8222
|
@ -1,3 +1,5 @@
|
||||||
|
require("key/leader")
|
||||||
|
|
||||||
require("plugin/init")
|
require("plugin/init")
|
||||||
|
|
||||||
require("config/autoread")
|
require("config/autoread")
|
||||||
|
@ -5,7 +7,6 @@ require("config/search")
|
||||||
require("config/tab")
|
require("config/tab")
|
||||||
require("config/etc")
|
require("config/etc")
|
||||||
|
|
||||||
require("key/leader")
|
|
||||||
require("key/filetree")
|
require("key/filetree")
|
||||||
require("key/lsp")
|
require("key/lsp")
|
||||||
require("key/whichkey")
|
require("key/whichkey")
|
||||||
|
@ -19,7 +20,7 @@ require("key/window")
|
||||||
require("key/telescope")
|
require("key/telescope")
|
||||||
require("key/common")
|
require("key/common")
|
||||||
require("key/todo")
|
require("key/todo")
|
||||||
require("key/align")
|
-- require("key/align")
|
||||||
require("key/fold")
|
require("key/fold")
|
||||||
require("key/update")
|
require("key/update")
|
||||||
require("key/macro")
|
require("key/macro")
|
||||||
|
|
8
.config/nvim/lua/plugin/align.lua
Normal file
8
.config/nvim/lua/plugin/align.lua
Normal 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',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ local available = function(commands)
|
||||||
end
|
end
|
||||||
|
|
||||||
return require("packer").startup(function(use)
|
return require("packer").startup(function(use)
|
||||||
--[[
|
--[[
|
||||||
host requirements
|
host requirements
|
||||||
- gcc-c++
|
- 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/telescope.nvim.git"
|
||||||
use "https://git.voronind.com/mirror/nvim-treesitter.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/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/gruvbox-material.git"
|
||||||
use "https://git.voronind.com/mirror/indent-o-matic.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
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
-- Put this at the end after all plugins
|
-- Put this at the end after all plugins
|
||||||
|
@ -75,6 +76,7 @@ return require("packer").startup(function(use)
|
||||||
require("plugin/telescope")
|
require("plugin/telescope")
|
||||||
require("plugin/todo")
|
require("plugin/todo")
|
||||||
require("plugin/indent")
|
require("plugin/indent")
|
||||||
|
require("plugin/align")
|
||||||
|
|
||||||
if available({"g++"}) then
|
if available({"g++"}) then
|
||||||
if treesitter then
|
if treesitter then
|
||||||
|
|
Reference in a new issue