Skip to content

Commit e35fd81

Browse files
authored
fix(tinymist): fallback to single file in some case (#3501)
When the `root_dir` is null, tinymist should still runs to give a baseline usage.
1 parent b172995 commit e35fd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lspconfig/configs/tinymist.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ return {
55
cmd = { 'tinymist' },
66
filetypes = { 'typst' },
77
root_dir = util.find_git_ancestor,
8-
single_file_support = false,
8+
single_file_support = true,
99
},
1010
docs = {
1111
description = [[

0 commit comments

Comments
 (0)