mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 18:38:00 +00:00
[neovim] Add sad plugin
This commit is contained in:
parent
33790440f2
commit
017ba8baa2
@ -25,3 +25,4 @@ require("user.autosave")
|
||||
require("user.markdowntoc")
|
||||
require("user.session-manager")
|
||||
require("user.diffview")
|
||||
require("user.sad")
|
||||
|
@ -57,6 +57,7 @@ return packer.startup(function(use)
|
||||
use({ "mg979/vim-visual-multi", tag = "v0.*" })
|
||||
use({ "Shatur/neovim-session-manager", commit = "4005dac93f5cd1257792259ef4df6af0e3afc213" })
|
||||
use({ "nvim-treesitter/nvim-treesitter", commit = "b273a06728305c1e7bd0179977ca48049aeff5e6" })
|
||||
use({ "ray-x/sad.nvim", commit = "01b7d84f4f73c8963f5933f09e88c833757bc7d8" })
|
||||
use({
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v2.x",
|
||||
|
13
.config/nvim/lua/user/sad.lua
Normal file
13
.config/nvim/lua/user/sad.lua
Normal file
@ -0,0 +1,13 @@
|
||||
local status_ok, sad = pcall(require, "sad")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
sad.setup({
|
||||
diff = "delta",
|
||||
ls_file = "fd",
|
||||
exact = false,
|
||||
vsplit = false,
|
||||
height_ratio = 0.7,
|
||||
width_ratio = 0.7,
|
||||
})
|
Loading…
Reference in New Issue
Block a user