Skip to content

Commit

Permalink
feat: nvim-notify better view with conceallevel=2
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoon committed Jun 11, 2024
1 parent 7ae067e commit dbb9dff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/build_with_uv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ if [[ $# -eq 0 ]]; then
exit 1
fi

# check if uv is installed
if ! command -v uv &> /dev/null; then
echo "Error: uv is not installed"
exit 1
fi

path_to_venv="$1"

if [[ -f "$path_to_venv" ]]; then
Expand Down
3 changes: 3 additions & 0 deletions src/jupynium/lua/notify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ Jupynium_notify.notify = function(msg, level, code)
on_open = function(win)
local buf = vim.api.nvim_win_get_buf(win)
vim.bo[buf].filetype = "markdown"
vim.api.nvim_buf_call(buf, function()
vim.opt_local.conceallevel = 2
end)
end,
})
else
Expand Down

0 comments on commit dbb9dff

Please sign in to comment.