Skip to content

Commit

Permalink
fixup! feat: add daedalus-language-server support
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Pachur <pm4rcin.dev.net667@silomails.com>
  • Loading branch information
pm4rcin committed Sep 11, 2024
1 parent 47517bd commit 3ba5516
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lua/lspconfig/server_configurations/daedalus_ls.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
local util = require 'lspconfig.util'
local bin_name = 'DaedalusLanguageServer'

if vim.fn.has 'win32' == 1 then
bin_name = bin_name + '.exe'
end

local root_files = {
'Gothic.src',
Expand All @@ -17,7 +12,7 @@ local root_files = {

return {
default_config = {
cmd = { bin_name },
cmd = { 'DaedalusLanguageServer' },
filetypes = { 'd' },
root_dir = util.root_pattern(unpack(root_files)),
settings = {
Expand Down

0 comments on commit 3ba5516

Please sign in to comment.