diff options
Diffstat (limited to 'lua/lspconfig/als.lua')
| -rw-r--r-- | lua/lspconfig/als.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/lspconfig/als.lua b/lua/lspconfig/als.lua index 8940dd12..e4eaf1c7 100644 --- a/lua/lspconfig/als.lua +++ b/lua/lspconfig/als.lua @@ -1,21 +1,21 @@ -local configs = require "lspconfig/configs" -local util = require "lspconfig/util" -local server_name = "als" -local bin_name = "ada_language_server" +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' +local server_name = 'als' +local bin_name = 'ada_language_server' -if vim.fn.has "win32" == 1 then - bin_name = "ada_language_server.exe" +if vim.fn.has 'win32' == 1 then + bin_name = 'ada_language_server.exe' end configs[server_name] = { default_config = { cmd = { bin_name }, - filetypes = { "ada" }, + filetypes = { 'ada' }, -- *.gpr and *.adc would be nice to have here - root_dir = util.root_pattern("Makefile", ".git"), + root_dir = util.root_pattern('Makefile', '.git'), }, docs = { - package_json = "https://raw.githubusercontent.com/AdaCore/ada_language_server/master/integration/vscode/ada/package.json", + package_json = 'https://raw.githubusercontent.com/AdaCore/ada_language_server/master/integration/vscode/ada/package.json', description = [[ https://github.com/AdaCore/ada_language_server |
