Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Oct 9, 2024
2 parents 039f622 + f395fe6 commit 0f51621
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lua/config/keymap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ local function send_cell()
molten_works, molten_active = pcall(molten_status.kernels)
end
if molten_works and molten_active ~= vim.NIL and molten_active ~= "" then
print('using quarto send')
molten_active = molten_status.initialized()
end
if molten_active ~= vim.NIL and molten_active ~= "" and molten_status.kernels() ~= "Molten" then
vim.cmd.QuartoSend()
return
end
Expand Down
4 changes: 2 additions & 2 deletions lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ return {
map('gh', vim.lsp.buf.signature_help, '[g]o to signature [h]elp')
map('gI', vim.lsp.buf.implementation, '[g]o to [I]mplementation')
map('gr', vim.lsp.buf.references, '[g]o to [r]eferences')
map(']d', function () vim.diagnostic.jump({count = 1}) end,'previous [d]iagnostic ')
map('[d', function () vim.diagnostic.jump({count = -1}) end, 'next [d]iagnostic ')
map(']d', function () if vim.fn.has("nvim-0.11.0") == 1 then vim.diagnostic.jump({count = 1}) else vim.diagnostic.goto_next() end end,'next [d]iagnostic ')
map('[d', function () if vim.fn.has("nvim-1.11.0") == 1 then vim.diagnostic.jump({count = -1}) else vim.diagnostic.goto_prev() end end,'previous [d]iagnostic ')
map('<leader>ll', vim.lsp.codelens.run, '[l]ens run')
map('<leader>lR', vim.lsp.buf.rename, '[l]sp [R]ename')
map('<leader>lf', vim.lsp.buf.format, '[l]sp [f]ormat')
Expand Down

0 comments on commit 0f51621

Please sign in to comment.