Compare commits
No commits in common. "72fbadaf704e60aa98a2f94044d5cc939437c813" and "a0a63cd3518c3fb7c5c69a5c2d2412d63695d799" have entirely different histories.
72fbadaf70
...
a0a63cd351
|
@ -26,20 +26,11 @@ return {
|
|||
end,
|
||||
bold = function(buffer)
|
||||
return buffer.is_focused
|
||||
end,
|
||||
end
|
||||
},
|
||||
components = {
|
||||
{
|
||||
text = function(buffer)
|
||||
if buffer.is_focused then
|
||||
return "▎"
|
||||
end
|
||||
return " "
|
||||
end,
|
||||
fg = "Normal"
|
||||
},
|
||||
{
|
||||
text = function(buffer) return buffer.devicon.icon end,
|
||||
text = function(buffer) return ' ' .. buffer.devicon.icon end,
|
||||
fg = function(buffer) return buffer.devicon.color end,
|
||||
},
|
||||
{
|
||||
|
@ -71,46 +62,9 @@ return {
|
|||
components = {
|
||||
{
|
||||
text = function(tabpage)
|
||||
return ' ' .. tabpage.number .. ' '
|
||||
end,
|
||||
bg = function(tabpage)
|
||||
if tabpage.is_active then
|
||||
return "TabLineSel"
|
||||
end
|
||||
return "ColorColumn"
|
||||
end,
|
||||
fg = function(tabpage)
|
||||
if tabpage.is_active then
|
||||
return "TabLine"
|
||||
end
|
||||
return "Normal"
|
||||
end,
|
||||
bold = true
|
||||
},
|
||||
{
|
||||
text = function(tabpage)
|
||||
if tabpage.is_active then
|
||||
return " "
|
||||
end
|
||||
return ""
|
||||
end,
|
||||
on_click = function(_, _, _, _, tabpage)
|
||||
tabpage:close()
|
||||
end,
|
||||
bg = function(tabpage)
|
||||
if tabpage.is_active then
|
||||
return "TabLineSel"
|
||||
end
|
||||
return "ColorColumn"
|
||||
end,
|
||||
fg = function(tabpage)
|
||||
if tabpage.is_active then
|
||||
return "TabLine"
|
||||
end
|
||||
return "Normal"
|
||||
end,
|
||||
bold = true
|
||||
},
|
||||
return '' .. tabpage.number
|
||||
end
|
||||
}
|
||||
}
|
||||
},
|
||||
sidebar = {
|
||||
|
@ -118,7 +72,6 @@ return {
|
|||
components = {
|
||||
{
|
||||
text = "Explorer",
|
||||
bg = "ColorColumn"
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
printf "Continue copying files and removing current for Neovim (y/n)? "
|
||||
read -r choice
|
||||
case "$choice" in
|
||||
y|Y )
|
||||
echo "removing current neovim config..."
|
||||
rm -rfv ~/.config/nvim/*
|
||||
echo "copying files..."
|
||||
cp -rv * ~/.config/nvim/
|
||||
;;
|
||||
n|N )
|
||||
echo "aborting..."
|
||||
exit 0
|
||||
;;
|
||||
* )
|
||||
echo "invalid"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue