aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/typst_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/server_configurations/typst_lsp.lua')
-rw-r--r--lua/lspconfig/server_configurations/typst_lsp.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/lua/lspconfig/server_configurations/typst_lsp.lua b/lua/lspconfig/server_configurations/typst_lsp.lua
index 25536859..219a5099 100644
--- a/lua/lspconfig/server_configurations/typst_lsp.lua
+++ b/lua/lspconfig/server_configurations/typst_lsp.lua
@@ -1,13 +1,8 @@
local util = require 'lspconfig.util'
-local cmd = { 'typst-lsp' }
-if vim.fn.has 'win32' == 1 then
- cmd = { 'cmd.exe', '/C', 'typst-lsp' }
-end
-
return {
default_config = {
- cmd = cmd,
+ cmd = { 'typst-lsp' },
filetypes = { 'typst' },
root_dir = function(fname)
return util.find_git_ancestor(fname)