mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-08-22 17:43:13 -04:00
bloocky config and fixes
This commit is contained in:
parent
92729cff56
commit
25a88599c1
4 changed files with 25 additions and 3 deletions
|
|
@ -242,6 +242,12 @@
|
|||
'';
|
||||
|
||||
smoke-test = pkgs.runCommand "smoke-test" {} ''
|
||||
# The Nix build sandbox has a read-only HOME; point XDG dirs at a
|
||||
# writable location so vim.lsp/shaDa can write state headlessly.
|
||||
export XDG_CONFIG_HOME=$TMPDIR/xdg-config
|
||||
export XDG_STATE_HOME=$TMPDIR/xdg-state
|
||||
export XDG_CACHE_HOME=$TMPDIR/xdg-cache
|
||||
export XDG_DATA_HOME=$TMPDIR/xdg-data
|
||||
BINARY_PATH="${defaultNvimPkg}/bin/vv"
|
||||
"$BINARY_PATH" --headless -c "luafile ${./tests/smoke.lua}" -c "qa!"
|
||||
touch $out
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ local defaults = {
|
|||
duckdb = "duckdb",
|
||||
julia = "julia",
|
||||
python = "ipython",
|
||||
shell = "echo 'Hello " .. vim.env.USER .. "!'",
|
||||
shell = "echo 'Hello " .. (vim.env.USER or "user") .. "!'",
|
||||
}
|
||||
|
||||
-- Registry of terminal commands
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ end
|
|||
local function get_blink_fuzzy_setting()
|
||||
return {
|
||||
sorts = { "exact", "score", "sort_text" },
|
||||
use_frecency = true,
|
||||
use_proximity = true,
|
||||
}
|
||||
end
|
||||
|
|
|
|||
|
|
@ -19,8 +19,25 @@ later(function()
|
|||
return
|
||||
end
|
||||
require('bloocky').setup({
|
||||
week_start = "monday",
|
||||
window = {
|
||||
-- Width per view: fraction of the editor width (or absolute columns if > 1).
|
||||
-- A single number applies to every view.
|
||||
width = {
|
||||
month = 0.99,
|
||||
week = 0.99,
|
||||
day = 0.8,
|
||||
},
|
||||
border = "rounded",
|
||||
},
|
||||
integrations = {
|
||||
dooing = {
|
||||
enabled = true, -- show Dooing todos on their due date
|
||||
show_done = false, -- also show completed todos
|
||||
},
|
||||
},
|
||||
keymaps = {
|
||||
toggle = '<leader>cb',
|
||||
},
|
||||
})
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Reference in a new issue