aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/ocamllsp.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-13 10:41:39 -0700
committerGitHub <noreply@github.com>2021-07-13 10:41:39 -0700
commitcd1ccf056be9cbcc3d5cbefff08135276bc476ed (patch)
tree82a0d7f77d4782b1aa06668298b48d7cf5ecb511 /lua/lspconfig/ocamllsp.lua
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.gz
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.bz2
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.lz
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.xz
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.tar.zst
nvim-lspconfig-cd1ccf056be9cbcc3d5cbefff08135276bc476ed.zip
chore: change stylua to single quotes (#1068)
Diffstat (limited to 'lua/lspconfig/ocamllsp.lua')
-rw-r--r--lua/lspconfig/ocamllsp.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/lua/lspconfig/ocamllsp.lua b/lua/lspconfig/ocamllsp.lua
index f08fb3d4..1b103702 100644
--- a/lua/lspconfig/ocamllsp.lua
+++ b/lua/lspconfig/ocamllsp.lua
@@ -1,12 +1,12 @@
-local configs = require "lspconfig/configs"
-local util = require "lspconfig/util"
+local configs = require 'lspconfig/configs'
+local util = require 'lspconfig/util'
local language_id_of = {
- menhir = "ocaml.menhir",
- ocaml = "ocaml",
- ocamlinterface = "ocaml.interface",
- ocamllex = "ocaml.ocamllex",
- reason = "reason",
+ menhir = 'ocaml.menhir',
+ ocaml = 'ocaml',
+ ocamlinterface = 'ocaml.interface',
+ ocamllex = 'ocaml.ocamllex',
+ reason = 'reason',
}
local filetypes = {}
@@ -21,9 +21,9 @@ end
configs.ocamllsp = {
default_config = {
- cmd = { "ocamllsp" },
+ cmd = { 'ocamllsp' },
filetypes = filetypes,
- root_dir = util.root_pattern("*.opam", "esy.json", "package.json", ".git"),
+ root_dir = util.root_pattern('*.opam', 'esy.json', 'package.json', '.git'),
get_language_id = get_language_id,
},
docs = {