A coffee with quarto and neovim -- part 2

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I have a question: is the file type that works with quarto just .qmd? I see that on VSCode. It’s possible to run IPYNB files. Is there any development so that that ipynb works with Quarto in Neovim?

YE
Автор

Thanks a lot for this excellent series! How is your telescope centered like that? Using the dropdown theme aligns it against the top for me.

LokeshKrishna
Автор

Unreleated question, do you have a link to your neovim config? If not which Tabline/theme are you using? I'd guess it's lualine since the status bar looks a lot like lua line, could you send your configs for that look, I'd love to customize mine with some features yours have.

fredesch
Автор

I'm working with windows; the PasteImg functionality definitely does not work on WSL lol, not that I expected it to.

The preview html functionality also doesn't open in browser on WSL, but it opens in a new nvim tab and does its best to render it. It actually works quite well.

I also was not able to install the better bibtex extension, but exporting with BibTeX worked for autocompletion. I was also able to answer my own question on my other comment. The citation links to the bibliography do use the octothorp function for html, and do return back to the reading location upon using "back". Awesome.

XVSlyke
Автор

I've switched to working with this in powershell on Windows. When I try to use quarto preview, instead of getting the terminal preview as I did in WSL that I mentioned before, I'm getting:

ERROR: The filename, directory name, or volume label syntax is incorrect. (os error 123), stat ''C:\path\to\file.qmd''

with the quotations being double apostrophes. I'm not sure where that's handled, to be able to change how it works. For now, my workaround is to add a which-key binding like:

q = { "<cmd>!start quarto preview %:p<cr>", "Quarto preview this file"},

The "start" opens the command in a new shell so that control isn't taken from neovim. I could just use Linux, but may not have the drive space, and this works for now.

XVSlyke
Автор

man, why is there a .vscode dir in quarto-cli... 😔

mvargasmoran
Автор

How did you customize pop os like that?

ALENTL