Skip to content

Commit 99596a8

Browse files
authored
fix(clarity_lsp): remove .cmd suffix for Windows (neovim#1835)
1 parent fd7843a commit 99596a8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lua/lspconfig/server_configurations/clarity_lsp.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
local util = require 'lspconfig.util'
22

3-
local bin_name = 'clarity-lsp'
4-
if vim.fn.has 'win32' == 1 then
5-
bin_name = bin_name .. '.cmd'
6-
end
7-
83
return {
94
default_config = {
10-
cmd = { bin_name },
5+
cmd = { 'clarity-lsp' },
116
filetypes = { 'clar', 'clarity' },
127
root_dir = util.root_pattern '.git',
138
},

0 commit comments

Comments
 (0)