File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 28
28
"mini.comment" : { "branch" : " main" , "commit" : " 9fc3fe43129e8c2611bd21b8f50af8c0d0742533" },
29
29
"mini.indentscope" : { "branch" : " main" , "commit" : " ff1e68b5c01426f9dfff3278dd1b10c9b5f000a1" },
30
30
"mini.pairs" : { "branch" : " main" , "commit" : " 4ebc1ff8d77fe75e8f219432302800ca29e17614" },
31
- "monokai-pro.nvim" : { "branch" : " master" , "commit" : " 5259a2ea9d20653ce5c49d76b677e54204c6c476 " },
31
+ "monokai-pro.nvim" : { "branch" : " master" , "commit" : " ae053118b5c4885e14cb34a0bc53162d6c8a7fe1 " },
32
32
"neo-tree.nvim" : { "branch" : " v2.x" , "commit" : " f3fd905a8c129863ce8314866f5b8d1bba6b97e2" },
33
33
"noice.nvim" : { "branch" : " main" , "commit" : " d8a1f3056ad713b5d471048f8d029264828e22c0" },
34
34
"nui.nvim" : { "branch" : " main" , "commit" : " 0dc148c6ec06577fcf06cbab3b7dac96d48ba6be" },
Original file line number Diff line number Diff line change @@ -85,17 +85,24 @@ return {
85
85
config = function ()
86
86
local builtin = require (" statuscol.builtin" )
87
87
require (" statuscol" ).setup ({
88
- relculright = true ,
88
+ relculright = false ,
89
89
segments = {
90
90
{ -- line number
91
- text = { " " , builtin .lnumfunc },
91
+ text = { builtin .lnumfunc },
92
92
condition = { true , builtin .not_empty },
93
93
click = " v:lua.ScLa" ,
94
94
},
95
95
{ text = { " %s" }, click = " v:lua.ScSa" }, -- Sign
96
96
{ text = { " %C" , " " }, click = " v:lua.ScFa" }, -- Fold
97
97
}
98
98
})
99
+ vim .api .nvim_create_autocmd ({ " BufEnter" }, {
100
+ callback = function ()
101
+ if vim .bo .filetype == " neo-tree" then
102
+ vim .o .statuscolumn = " "
103
+ end
104
+ end
105
+ })
99
106
end
100
107
},
101
108
}
You can’t perform that action at this time.
0 commit comments