parent
0af604c8c5
commit
3950a25f2e
8
roles/neovim/files/after/plugin/twilight.lua
Normal file
8
roles/neovim/files/after/plugin/twilight.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
local status_ok, twilight = pcall(require, "twilight")
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
twilight.setup {
|
||||||
|
context = 2,
|
||||||
|
}
|
25
roles/neovim/files/after/plugin/zen-mode.lua
Normal file
25
roles/neovim/files/after/plugin/zen-mode.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
local status_ok, zen_mode = pcall(require, "zen-mode")
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
zen_mode.setup {
|
||||||
|
window = {
|
||||||
|
backdrop = .95,
|
||||||
|
height = 1,
|
||||||
|
width = 120,
|
||||||
|
options = {
|
||||||
|
relativenumber = false,
|
||||||
|
number = false,
|
||||||
|
signcolumn = "no",
|
||||||
|
}
|
||||||
|
},
|
||||||
|
plugins = {
|
||||||
|
options = {
|
||||||
|
enabled = true,
|
||||||
|
ruler = false,
|
||||||
|
},
|
||||||
|
gitsigns = { enabled = true },
|
||||||
|
tmux = { enabled = true },
|
||||||
|
}
|
||||||
|
}
|
|
@ -19,6 +19,8 @@ return packer.startup(function()
|
||||||
use 'christoomey/vim-sort-motion'
|
use 'christoomey/vim-sort-motion'
|
||||||
use 'christoomey/vim-tmux-navigator'
|
use 'christoomey/vim-tmux-navigator'
|
||||||
use 'editorconfig/editorconfig-vim'
|
use 'editorconfig/editorconfig-vim'
|
||||||
|
use 'folke/twilight.nvim'
|
||||||
|
use 'folke/zen-mode.nvim'
|
||||||
use 'icatalina/vim-case-change'
|
use 'icatalina/vim-case-change'
|
||||||
use 'kyazdani42/nvim-web-devicons'
|
use 'kyazdani42/nvim-web-devicons'
|
||||||
use 'lewis6991/gitsigns.nvim'
|
use 'lewis6991/gitsigns.nvim'
|
||||||
|
|
Loading…
Reference in a new issue