Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed May 17, 2024
1 parent 276b2c4 commit 7127015
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions lua/config/keymap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ wk.register({
['<cr>'] = { send_cell, 'run code cell' },
c = {
name = '[c]ode / [c]ell / [c]hunk',
c = { ':SlimeConfig<cr>', 'slime [c]onfig' },
n = { new_terminal_shell, '[n]ew terminal with shell' },
r = {
function()
Expand All @@ -285,9 +284,6 @@ wk.register({
p = { new_terminal_python, 'new [p]ython terminal' },
i = { new_terminal_ipython, 'new [i]python terminal' },
j = { new_terminal_julia, 'new [j]ulia terminal' },
o = {
name = '[o]open code chunk',
},
},
d = {
name = '[d]ebug',
Expand Down
1 change: 1 addition & 0 deletions lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ return {
'shfmt',
'isort',
'tree-sitter-cli',
'jupytext',
},
}

Expand Down
6 changes: 2 additions & 4 deletions lua/plugins/quarto.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@ return {

{ -- directly open ipynb files as quarto docuements
-- and convert back behind the scenes
-- needs:
-- pip install jupytext
'GCBallesteros/jupytext.nvim',
opts = {
custom_language_formatting = {
python = {
extension = 'qmd',
style = 'quarto',
force_ft = 'quarto', -- you can set whatever filetype you want here
force_ft = 'quarto',
},
r = {
extension = 'qmd',
style = 'quarto',
force_ft = 'quarto', -- you can set whatever filetype you want here
force_ft = 'quarto',
},
},
},
Expand Down

0 comments on commit 7127015

Please sign in to comment.