aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/hie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/hie.lua')
-rw-r--r--lua/lspconfig/hie.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua/lspconfig/hie.lua b/lua/lspconfig/hie.lua
index f57326dc..4efff0f1 100644
--- a/lua/lspconfig/hie.lua
+++ b/lua/lspconfig/hie.lua
@@ -1,15 +1,15 @@
-local configs = require 'lspconfig/configs'
-local util = require 'lspconfig/util'
+local configs = require "lspconfig/configs"
+local util = require "lspconfig/util"
configs.hie = {
default_config = {
- cmd = {"hie-wrapper", "--lsp"};
- filetypes = {"haskell"};
- root_dir = util.root_pattern("stack.yaml", "package.yaml", ".git");
- };
+ cmd = { "hie-wrapper", "--lsp" },
+ filetypes = { "haskell" },
+ root_dir = util.root_pattern("stack.yaml", "package.yaml", ".git"),
+ },
docs = {
- package_json = "https://raw.githubusercontent.com/alanz/vscode-hie-server/master/package.json";
+ package_json = "https://raw.githubusercontent.com/alanz/vscode-hie-server/master/package.json",
description = [[
https://github.com/haskell/haskell-ide-engine
@@ -27,12 +27,12 @@ init_options = {
}
}
```
- ]];
+ ]],
default_config = {
- root_dir = [[root_pattern("stack.yaml", "package.yaml", ".git")]];
- };
- };
-};
+ root_dir = [[root_pattern("stack.yaml", "package.yaml", ".git")]],
+ },
+ },
+}
-- vim:et ts=2 sw=2