1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 12:00:02 +02:00

nvim: editor: update vertical lines.

This commit is contained in:
Henrik Hautakoski 2025-01-11 16:39:45 +01:00
parent eea4d5f01e
commit b840e17e9b

View file

@ -1,3 +1,5 @@
local icons = require('user.icons')
return { return {
{ import = "user.plugins.editor.treesitter" }, { import = "user.plugins.editor.treesitter" },
{ {
@ -44,7 +46,7 @@ return {
opts = { opts = {
debounce = 10, debounce = 10,
indent = { indent = {
char = "", char = icons.indent,
}, },
scope = { scope = {
enabled = false, enabled = false,
@ -101,9 +103,8 @@ return {
click = "v:lua.ScLa", click = "v:lua.ScLa",
}, },
{ text = { builtin.foldfunc, " " }, click = "v:lua.ScFa" }, { text = { builtin.foldfunc, " " }, click = "v:lua.ScFa" },
{ text = { "" } },
{ {
text = { " " }, text = { icons.signcolum.separator },
condition = { condition = {
function(args) function(args)
local pos = vim.api.nvim_win_get_cursor(0) local pos = vim.api.nvim_win_get_cursor(0)
@ -112,8 +113,8 @@ return {
} }
}, },
{ {
text = { " " }, text = { icons.signcolum.separator },
hl = "CursorLine", hl = "SignColumnSep",
condition = { condition = {
function(args) function(args)
local pos = vim.api.nvim_win_get_cursor(0) local pos = vim.api.nvim_win_get_cursor(0)