Skip to content

Instantly share code, notes, and snippets.

@adelarsq
Created June 12, 2020 20:29
Show Gist options
  • Save adelarsq/ebe2700b442dae1bfbe7d0003086786c to your computer and use it in GitHub Desktop.
Save adelarsq/ebe2700b442dae1bfbe7d0003086786c to your computer and use it in GitHub Desktop.
local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'
configs.omnisharp = {
default_config = {
cmd = {'omnisharp_lsp_run','-lsp'};
filetypes = {'cs','csx','cake','vb'};
root_dir = util.root_pattern("Makefile");
};
docs = {
package_json = "";
description = [[
https://github.com/OmniSharp/omnisharp-roslyn
omnisharp-roslyn, a language server for C#.
]];
default_config = {
root_dir = [[root_pattern("*.sln") or os_homedir]];
};
};
}
configs.omnisharp.install = function()
end
configs.omnisharp.install_info = function()
return {
is_installed = 0;
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment