aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/tinymist.lua
diff options
context:
space:
mode:
authorYaksis <59007159+Yakkhini@users.noreply.github.com>2024-12-12 16:35:00 +0800
committerGitHub <noreply@github.com>2024-12-12 16:35:00 +0800
commite35fd81524b50bff187951253d4f6c9c97a7d013 (patch)
tree619a480cb283baacd666826dfb4072f9faea6a76 /lua/lspconfig/configs/tinymist.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar.gz
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar.bz2
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar.lz
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar.xz
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.tar.zst
nvim-lspconfig-e35fd81524b50bff187951253d4f6c9c97a7d013.zip
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.
Diffstat (limited to 'lua/lspconfig/configs/tinymist.lua')
-rw-r--r--lua/lspconfig/configs/tinymist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/tinymist.lua b/lua/lspconfig/configs/tinymist.lua
index c2559720..9fdb6d31 100644
--- a/lua/lspconfig/configs/tinymist.lua
+++ b/lua/lspconfig/configs/tinymist.lua
@@ -5,7 +5,7 @@ return {
cmd = { 'tinymist' },
filetypes = { 'typst' },
root_dir = util.find_git_ancestor,
- single_file_support = false,
+ single_file_support = true,
},
docs = {
description = [[