mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(snacks): allow overriding statuscolumn
through options.lua
This commit is contained in:
parent
86904d2fb1
commit
17a1b846f0
2 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ opt.spelllang = { "en" }
|
||||||
opt.splitbelow = true -- Put new windows below current
|
opt.splitbelow = true -- Put new windows below current
|
||||||
opt.splitkeep = "screen"
|
opt.splitkeep = "screen"
|
||||||
opt.splitright = true -- Put new windows right of current
|
opt.splitright = true -- Put new windows right of current
|
||||||
|
opt.statuscolumn = [[%!v:lua.require'snacks.statuscolumn'.get()]]
|
||||||
opt.tabstop = 2 -- Number of spaces tabs count for
|
opt.tabstop = 2 -- Number of spaces tabs count for
|
||||||
opt.termguicolors = true -- True color support
|
opt.termguicolors = true -- True color support
|
||||||
opt.timeoutlen = vim.g.vscode and 1000 or 300 -- Lower than default (1000) to quickly trigger which-key
|
opt.timeoutlen = vim.g.vscode and 1000 or 300 -- Lower than default (1000) to quickly trigger which-key
|
||||||
|
|
|
@ -31,6 +31,7 @@ return {
|
||||||
---@type snacks.Config
|
---@type snacks.Config
|
||||||
return {
|
return {
|
||||||
toggle = { map = LazyVim.safe_keymap_set },
|
toggle = { map = LazyVim.safe_keymap_set },
|
||||||
|
statuscolumn = { enabled = false }, -- we set this in options.lua
|
||||||
terminal = {
|
terminal = {
|
||||||
win = {
|
win = {
|
||||||
keys = {
|
keys = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue