aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/rescriptls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/rescriptls.lua')
-rw-r--r--lua/lspconfig/rescriptls.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/lspconfig/rescriptls.lua b/lua/lspconfig/rescriptls.lua
index afe2037c..e7db7dbb 100644
--- a/lua/lspconfig/rescriptls.lua
+++ b/lua/lspconfig/rescriptls.lua
@@ -1,14 +1,14 @@
-local lspconfig = require('lspconfig')
-local configs = require('lspconfig/configs')
+local lspconfig = require "lspconfig"
+local configs = require "lspconfig/configs"
-local name = 'rescriptls'
+local name = "rescriptls"
configs[name] = {
default_config = {
cmd = {},
- filetypes = {'rescript'},
- root_dir = lspconfig.util.root_pattern('bsconfig.json', '.git'),
- settings = {}
+ filetypes = { "rescript" },
+ root_dir = lspconfig.util.root_pattern("bsconfig.json", ".git"),
+ settings = {},
},
docs = {
description = [[
@@ -40,6 +40,6 @@ cmd = {
Another option is to use vscode extension [release](https://github.com/rescript-lang/rescript-vscode/releases).
Take a look at [here](https://github.com/rescript-lang/rescript-vscode#use-with-other-editors) for instructions.
-]]
- }
+]],
+ },
}