Skip to content

Instantly share code, notes, and snippets.

@0b1kn00b
Created November 13, 2025 11:57
Show Gist options
  • Select an option

  • Save 0b1kn00b/29028f8168161597f6af4adc72e21ae0 to your computer and use it in GitHub Desktop.

Select an option

Save 0b1kn00b/29028f8168161597f6af4adc72e21ae0 to your computer and use it in GitHub Desktop.
vim.lsp.config("haxe-language-server",{
root_markers = { "*.hxml" },
file_types = {"hx","hxml"},
before_init = function(params)
params.initializationOptions = {
displayArguments = 'cbd.hxml'
};
end,
cmd={ 'node', '/mnt/dat/i/prj/haxe/forks/haxe-language-server/bin/server.js' },
settings={
haxe={
initializationOptions = {
displayArguments = "cbd.hxml"
}
}
},
root_dir = vim.fs.root(0,{'cbd.json','*.hxml'})
})
-- vim.lsp.log.set_level('debug');
vim.lsp.enable('haxe-language-server');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment