feat(nvim): scl improvements
This commit is contained in:
parent
e2a20acdc9
commit
2e74bd42c7
6 changed files with 14 additions and 14 deletions
0
a.txt
Normal file
0
a.txt
Normal file
0
b.txt
Normal file
0
b.txt
Normal file
0
c.txt
Normal file
0
c.txt
Normal file
|
|
@ -34,11 +34,14 @@ return {
|
||||||
local expr = require('config.fold').foldexpr()
|
local expr = require('config.fold').foldexpr()
|
||||||
if expr:sub(1, 1) == '>' then
|
if expr:sub(1, 1) == '>' then
|
||||||
if vim.fn.foldclosed(vim.v.lnum) ~= -1 then
|
if vim.fn.foldclosed(vim.v.lnum) ~= -1 then
|
||||||
return '>'
|
return '> '
|
||||||
else
|
else
|
||||||
return 'v'
|
return 'v '
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if vim.fn.foldlevel(vim.v.lnum) == 0 then
|
||||||
|
return ''
|
||||||
|
end
|
||||||
return ' '
|
return ' '
|
||||||
end,
|
end,
|
||||||
sign = function()
|
sign = function()
|
||||||
|
|
|
||||||
|
|
@ -260,9 +260,6 @@ return {
|
||||||
topdelete = { text = '‾' },
|
topdelete = { text = '‾' },
|
||||||
changedelete = { text = '│' },
|
changedelete = { text = '│' },
|
||||||
},
|
},
|
||||||
on_attach = function(bufnr)
|
|
||||||
vim.wo[vim.fn.bufwinid(bufnr)].signcolumn = 'yes'
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
|
|
|
||||||
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -5,11 +5,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771991292,
|
"lastModified": 1772069414,
|
||||||
"narHash": "sha256-Jd0chOUwzwCIQt48lPZSANt6ou2yep4Ima/rsnebacY=",
|
"narHash": "sha256-5RL+Ym1sLpWirBLN1pySLXV7l9tNPEx2VTeLMHelzo8=",
|
||||||
"owner": "ryoppippi",
|
"owner": "ryoppippi",
|
||||||
"repo": "claude-code-overlay",
|
"repo": "claude-code-overlay",
|
||||||
"rev": "59e6c3ba860938148de445f7f66479ac840b9eb5",
|
"rev": "7b7dcb59ecfc3ab727cd7792c33d59fc6f6f8b4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -46,11 +46,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771851181,
|
"lastModified": 1772060133,
|
||||||
"narHash": "sha256-gFgE6mGUftwseV3DUENMb0k0EiHd739lZexPo5O/sdQ=",
|
"narHash": "sha256-VuyRptb8v1lVGMlLp4/1vRX3Efwec0CN0S6mKmDPzLg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "9a4b494b1aa1b93d8edf167f46dc8e0c0011280c",
|
"rev": "ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -211,11 +211,11 @@
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771982860,
|
"lastModified": 1772070741,
|
||||||
"narHash": "sha256-DL7SZYGknFzHMDmvk/kSnV/Tk7R8+qRpsCykMowjfes=",
|
"narHash": "sha256-5Egc9T2lC85Xp/JjoSqCgHDAQsVoaR424yKFdcEXoAo=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "932b57f0e990243e05008941a1933642370e4340",
|
"rev": "b1432f1ffc71de24512585cee495eea302834290",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue