Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:jmbuhr/quarto-nvim-kickstarter into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Jun 12, 2024
2 parents bb01a88 + 0470708 commit 0323ffd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/config/autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ vim.api.nvim_create_autocmd({ 'TermOpen' }, {
pattern = { '*' },
callback = function(_)
vim.cmd.setlocal 'nonumber'
vim.wo.signcolumn = 'no'
set_terminal_keymaps()
end,
})
Expand Down
11 changes: 11 additions & 0 deletions lua/plugins/colorthemes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ return {
lazy = false,
priority = 1000,
config = function()
require('kanagawa').setup {
colors = {
theme = {
all = {
ui = {
bg_gutter = 'none',
},
},
},
},
}
vim.cmd.colorscheme 'kanagawa'
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })
end,
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ return {

local function get_image_at_cursor(buf)
local images = image.get_images { buffer = buf }
local row = vim.api.nvim_win_get_cursor(0)[1]
local row = vim.api.nvim_win_get_cursor(0)[1] - 1
for _, img in ipairs(images) do
if img.geometry ~= nil and img.geometry.y == row then
local og_max_height = img.global_state.options.max_height_window_percentage
Expand Down

0 comments on commit 0323ffd

Please sign in to comment.