#Fixing Typst LSP with Neovim
4 messages · Page 1 of 1 (latest)
4 messages · Page 1 of 1 (latest)
I have typst-lsp in my $PATH, and I have the following in my init.vim Lua section: lua local nvim_lsp = require('lspconfig') nvim_lsp.typst_lsp.setup {} But even when I open a .typ file that has errors, nothing happens and no typst-lsp process stays running. Why might this be?
strace confirms that typst-lsp isn’t even beïng spawned :(
Oh I see, it’s because lspconfig itself doesn’t like single file mode
Right, it only works in Git repos by default 🙁