Install indent-blanklines plugin and show context
This commit is contained in:
@@ -99,11 +99,26 @@ require("packer").startup(function(use)
|
|||||||
"folke/twilight.nvim",
|
"folke/twilight.nvim",
|
||||||
} })
|
} })
|
||||||
|
|
||||||
|
use({
|
||||||
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
|
config = function()
|
||||||
|
require("indent_blankline").setup({
|
||||||
|
space_char_blankline = " ",
|
||||||
|
show_current_context = true,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
if PACKER_BOOTSTRAP then
|
if PACKER_BOOTSTRAP then
|
||||||
require("packer").sync()
|
require("packer").sync()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
vim.cmd([[
|
||||||
|
hi IndentBlanklineChar guifg=#373737 guibg=none gui=none
|
||||||
|
hi IndentBlanklineContextChar guifg=#808080 guibg=none gui=none
|
||||||
|
]])
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
require("user.options")
|
require("user.options")
|
||||||
|
|||||||
Reference in New Issue
Block a user