mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Fix colored gutter in nvim by making line numbers transparent
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
echo "Fix colored gutter in nvim by making line numbers transparent"
|
||||
|
||||
TRANSPARENCY_FILE="$HOME/.config/nvim/plugin/after/transparency.lua"
|
||||
|
||||
if [[ -f $TRANSPARENCY_FILE ]] && ! grep -q "LineNr" "$TRANSPARENCY_FILE"; then
|
||||
sed -i '/SignColumn/a vim.api.nvim_set_hl(0, "LineNr", { bg = "none" })\nvim.api.nvim_set_hl(0, "CursorLineNr", { bg = "none" })' "$TRANSPARENCY_FILE"
|
||||
fi
|
||||
Reference in New Issue
Block a user