GCBallesteros / jupytext.nvim

Jupyter notebooks on neovim powered by Jupytext
66 stars 14 forks source link

allow arbitrary force_ft #5

Closed benlubas closed 6 months ago

benlubas commented 6 months ago

closes #4

Changes the way force_ft works so that it accepts a string, and will set the filetype to the given string value. Keeps the logic in place so that setting it to true while the style is quarto will set the filetype to quarto.

This allows for configuration that mimics jupytext.vim which creates a regular markdown file.

GCBallesteros commented 6 months ago

Thanks for the contribution! I had this on a previous commit and then decided against it to make it more automatic and simplify the config but in retrospect I think this is the better choice.