formatted code

rebuilt 2021-07-06 16:58:03 +02:00
parent 5c553cd298
commit eb0af7c16c

@ -27,8 +27,8 @@ O.custom_plugins = {{"folke/tokyonight.nvim"}}
{ "Pocco81/TrueZen.nvim",
cmd = {"TZAtaraxis","TZMinimalist", "TZFocus"},
config = function()
require("lv-zen").config() -- ~/.config/nvim/lua/lv-zen/init.lua
end
require("lv-zen").config() -- ~/.config/nvim/lua/lv-zen/init.lua
end
}
```
@ -40,68 +40,68 @@ O.custom_plugins = {{"folke/tokyonight.nvim"}}
local M = {}
M.config = function()
require('true-zen').setup({
ui = {
bottom = {
laststatus = 0,
ruler = false,
showmode = false,
showcmd = false,
cmdheight = 1,
},
top = {
showtabline = 0,
},
left = {
number = false,
relativenumber = false,
signcolumn = "no",
},
},
modes = {
ataraxis = {
left_padding = 5,
right_padding = 5,
top_padding = 1,
bottom_padding = 1,
ideal_writing_area_width = 0,
just_do_it_for_me = false,
keep_default_fold_fillchars = true,
custome_bg = "",
bg_configuration = true,
affected_higroups = {
NonText = {},
FoldColumn = {},
ColorColumn = {},
VertSplit = {},
StatusLine = {},
StatusLineNC = {},
SignColumn = {}
}
},
focus = {
margin_of_error = 5,
focus_method = "experimental"
},
},
integrations = {
vim_gitgutter = false,
galaxyline = true,
tmux = false,
gitsigns = false,
nvim_bufferline = false,
limelight = false,
vim_airline = false,
vim_powerline = false,
vim_signify = false,
express_line = false,
},
misc = {
on_off_commands = false,
ui_elements_commands = false,
cursor_by_mode = false,
}
})
require('true-zen').setup({
ui = {
bottom = {
laststatus = 0,
ruler = false,
showmode = false,
showcmd = false,
cmdheight = 1,
},
top = {
showtabline = 0,
},
left = {
number = false,
relativenumber = false,
signcolumn = "no",
},
},
modes = {
ataraxis = {
left_padding = 5,
right_padding = 5,
top_padding = 1,
bottom_padding = 1,
ideal_writing_area_width = 0,
just_do_it_for_me = false,
keep_default_fold_fillchars = true,
custome_bg = "",
bg_configuration = true,
affected_higroups = {
NonText = {},
FoldColumn = {},
ColorColumn = {},
VertSplit = {},
StatusLine = {},
StatusLineNC = {},
SignColumn = {}
}
},
focus = {
margin_of_error = 5,
focus_method = "experimental"
},
},
integrations = {
vim_gitgutter = false,
galaxyline = true,
tmux = false,
gitsigns = false,
nvim_bufferline = false,
limelight = false,
vim_airline = false,
vim_powerline = false,
vim_signify = false,
express_line = false,
},
misc = {
on_off_commands = false,
ui_elements_commands = false,
cursor_by_mode = false,
}
})
end
return M
```
@ -117,8 +117,8 @@ Allows you to jump anywhere in a document with as few keystrokes as possible.
{"phaazon/hop.nvim",
event = "BufRead",
config = function()
require("lv-hop").config()
end
require("lv-hop").config()
end
}
```
@ -131,12 +131,12 @@ Allows you to jump anywhere in a document with as few keystrokes as possible.
local M = {}
M.config = function()
require("hop").setup()
vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true })
vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true })
end
require("hop").setup()
vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true })
vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true })
end
return M
return M
```
@ -146,17 +146,17 @@ Intelligently reopen files at your last edit position.
### Nvim-lastplace declaration and configs
``` lua
{'ethanholz/nvim-lastplace',
event = "BufRead"
{'ethanholz/nvim-lastplace',
event = "BufRead"
config = function()
require'nvim-lastplace'.setup {
lastplace_ignore_buftype = {"quickfix", "nofile", "help"},
lastplace_ignore_filetype = {
"gitcommit", "gitrebase", "svn", "hgcommit"
},
lastplace_open_folds = true
}
end,
}
```
require'nvim-lastplace'.setup {
lastplace_ignore_buftype = {"quickfix", "nofile", "help"},
lastplace_ignore_filetype = {
"gitcommit", "gitrebase", "svn", "hgcommit"
},
lastplace_open_folds = true
}
end,
}
```