aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/syntax_tree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/server_configurations/syntax_tree.lua')
-rw-r--r--lua/lspconfig/server_configurations/syntax_tree.lua9
1 files changed, 1 insertions, 8 deletions
diff --git a/lua/lspconfig/server_configurations/syntax_tree.lua b/lua/lspconfig/server_configurations/syntax_tree.lua
index 13f8df89..90a05ada 100644
--- a/lua/lspconfig/server_configurations/syntax_tree.lua
+++ b/lua/lspconfig/server_configurations/syntax_tree.lua
@@ -1,15 +1,8 @@
local util = require 'lspconfig.util'
-local bin_name = 'stree'
-local cmd = { bin_name, 'lsp' }
-
-if vim.fn.has 'win32' == 1 then
- cmd = { 'cmd.exe', '/C', bin_name, 'lsp' }
-end
-
return {
default_config = {
- cmd = cmd,
+ cmd = { 'stree', 'lsp' },
filetypes = { 'ruby' },
root_dir = function(fname)
return util.root_pattern '.streerc'(fname) or util.root_pattern('Gemfile', '.git')(fname)