aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/dotls.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lspconfig/dotls.lua')
-rw-r--r--lua/lspconfig/dotls.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/lua/lspconfig/dotls.lua b/lua/lspconfig/dotls.lua
index 90ddde7e..6bd47f0c 100644
--- a/lua/lspconfig/dotls.lua
+++ b/lua/lspconfig/dotls.lua
@@ -1,17 +1,17 @@
-local configs = require "lspconfig/configs"
-local util = require "lspconfig/util"
+local configs = require 'lspconfig/configs'
+local util = require 'lspconfig/util'
-local server_name = "dotls"
-local bin_name = "dot-language-server"
+local server_name = 'dotls'
+local bin_name = 'dot-language-server'
local root_files = {
- ".git",
+ '.git',
}
configs[server_name] = {
default_config = {
- cmd = { bin_name, "--stdio" },
- filetypes = { "dot" },
+ cmd = { bin_name, '--stdio' },
+ filetypes = { 'dot' },
root_dir = function(filename)
return util.root_pattern(unpack(root_files))(filename) or util.path.dirname(filename)
end,