mirror of
https://github.com/cap153/nvim.git
synced 2025-12-27 11:45:30 +08:00
first commit
This commit is contained in:
commit
6955e90e07
61 changed files with 3641 additions and 0 deletions
29
lua/lazy/plugins/indent.lua
Normal file
29
lua/lazy/plugins/indent.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"shellRaining/hlchunk.nvim",
|
||||
-- 确保这个插件在lsp之后加载,不然会显示为蓝色的线
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, { pattern = "*", command = "EnableHL", })
|
||||
require('hlchunk').setup({
|
||||
chunk = {
|
||||
enable = true,
|
||||
use_treesitter = true,
|
||||
style = {
|
||||
{ fg = "#806d9c" },
|
||||
},
|
||||
},
|
||||
indent = {
|
||||
chars = { "│", "¦", "┆", "┊", },
|
||||
use_treesitter = false,
|
||||
},
|
||||
-- 不显示缩进空白处的点点
|
||||
blank = {
|
||||
enable = false,
|
||||
},
|
||||
-- 让左侧数字高亮
|
||||
line_num = {
|
||||
use_treesitter = true,
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue