diff options
| author | Aldric.li <31800073+Parsifa1@users.noreply.github.com> | 2024-03-18 14:08:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 14:08:56 +0800 |
| commit | e363cd7da99fd6d1533c81e2418a89e0ae19f2a3 (patch) | |
| tree | 3b36cce866a7e689a7203a214bf3dd615cc7a5ca /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar.gz nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar.bz2 nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar.lz nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar.xz nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.tar.zst nvim-lspconfig-e363cd7da99fd6d1533c81e2418a89e0ae19f2a3.zip | |
feat: add tinymist (#3075)
* feat: add tinymist
* fix(tinymist): typo
* fix(tinymist): typo
* feat: add .git detect
* fix: no single file support
* fix: true to false
* fix: change reviewed
Co-authored-by: Raphael <glephunter@gmail.com>
---------
Co-authored-by: Raphael <glephunter@gmail.com>
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/tinymist.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/tinymist.lua b/lua/lspconfig/server_configurations/tinymist.lua new file mode 100644 index 00000000..c2559720 --- /dev/null +++ b/lua/lspconfig/server_configurations/tinymist.lua @@ -0,0 +1,16 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'tinymist' }, + filetypes = { 'typst' }, + root_dir = util.find_git_ancestor, + single_file_support = false, + }, + docs = { + description = [[ +https://github.com/Myriad-Dreamin/tinymist +An integrated language service for Typst [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese. + ]], + }, +} |
