⚙️ config(nvim): add option to the init function in fold extra
This commit is contained in:
parent
0680b17cc4
commit
86019fedab
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
optional = true,
|
|
||||||
opts = {
|
opts = {
|
||||||
signs = {
|
signs = {
|
||||||
add = { text = "┃" },
|
add = { text = "┃" },
|
||||||
|
@ -17,7 +16,6 @@ return {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
optional = true,
|
|
||||||
init = function()
|
init = function()
|
||||||
local keys = require("lazyvim.plugins.lsp.keymaps").get()
|
local keys = require("lazyvim.plugins.lsp.keymaps").get()
|
||||||
keys[#keys + 1] = { "K", false }
|
keys[#keys + 1] = { "K", false }
|
||||||
|
@ -54,6 +52,7 @@ return {
|
||||||
vim.o.foldlevel = 99
|
vim.o.foldlevel = 99
|
||||||
vim.o.foldlevelstart = 99
|
vim.o.foldlevelstart = 99
|
||||||
vim.o.foldenable = true
|
vim.o.foldenable = true
|
||||||
|
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
|
||||||
end,
|
end,
|
||||||
opts = function()
|
opts = function()
|
||||||
local handler = function(virtText, lnum, endLnum, width, truncate)
|
local handler = function(virtText, lnum, endLnum, width, truncate)
|
||||||
|
|
Loading…
Add table
Reference in a new issue