1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

add nvim/lua/user/utils/whitespace.lua

This commit is contained in:
Henrik Hautakoski 2025-10-16 18:47:52 +02:00
parent 9b11ccd05c
commit ac0d102cab

View file

@ -0,0 +1,14 @@
local M = {}
function M.Toggle()
local indent = require "user.utils.indent_guidelines"
if vim.opt.list._value then
vim.opt.list = false
indent.show(user.indentGuides)
else
vim.opt.list = true
indent.show(false)
end
end
return M