aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/vuels.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-03 14:45:08 -0700
committerMichael Lingelbach <m.j.lbach@gmail.com>2021-07-03 15:49:27 -0700
commitec11b85df73cce4edb2925cb7f1d0e8db3a07b1c (patch)
tree77d533dc9606ca7e9b30d1a96baebf3de325d2a8 /lua/lspconfig/vuels.lua
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar.gz
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar.bz2
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar.lz
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar.xz
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.tar.zst
nvim-lspconfig-ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c.zip
ci: lint and format with stylua
Diffstat (limited to 'lua/lspconfig/vuels.lua')
-rw-r--r--lua/lspconfig/vuels.lua134
1 files changed, 67 insertions, 67 deletions
diff --git a/lua/lspconfig/vuels.lua b/lua/lspconfig/vuels.lua
index 146387e1..296f04ac 100644
--- a/lua/lspconfig/vuels.lua
+++ b/lua/lspconfig/vuels.lua
@@ -1,55 +1,55 @@
-local configs = require 'lspconfig/configs'
-local util = require 'lspconfig/util'
+local configs = require "lspconfig/configs"
+local util = require "lspconfig/util"
local server_name = "vuels"
local bin_name = "vls"
configs[server_name] = {
default_config = {
- cmd = {bin_name};
- filetypes = {"vue"};
- root_dir = util.root_pattern("package.json", "vue.config.js");
+ cmd = { bin_name },
+ filetypes = { "vue" },
+ root_dir = util.root_pattern("package.json", "vue.config.js"),
init_options = {
config = {
vetur = {
- useWorkspaceDependencies = false;
+ useWorkspaceDependencies = false,
validation = {
- template = true;
- style = true;
- script = true;
- };
+ template = true,
+ style = true,
+ script = true,
+ },
completion = {
- autoImport = false;
- useScaffoldSnippets = false;
- tagCasing = "kebab";
- };
+ autoImport = false,
+ useScaffoldSnippets = false,
+ tagCasing = "kebab",
+ },
format = {
defaultFormatter = {
- js = "none";
- ts = "none";
- };
- defaultFormatterOptions = {};
- scriptInitialIndent = false;
- styleInitialIndent = false;
- }
- };
- css = {};
+ js = "none",
+ ts = "none",
+ },
+ defaultFormatterOptions = {},
+ scriptInitialIndent = false,
+ styleInitialIndent = false,
+ },
+ },
+ css = {},
html = {
- suggest = {};
- };
+ suggest = {},
+ },
javascript = {
- format = {};
- };
+ format = {},
+ },
typescript = {
- format = {};
- };
- emmet = {};
- stylusSupremacy = {};
- };
- };
- };
+ format = {},
+ },
+ emmet = {},
+ stylusSupremacy = {},
+ },
+ },
+ },
docs = {
- package_json = "https://raw.githubusercontent.com/vuejs/vetur/master/package.json";
+ package_json = "https://raw.githubusercontent.com/vuejs/vetur/master/package.json",
description = [[
https://github.com/vuejs/vetur/tree/master/server
@@ -58,49 +58,49 @@ Vue language server(vls)
```sh
npm install -g vls
```
-]];
+]],
default_config = {
- root_dir = [[root_pattern("package.json", "vue.config.js")]];
+ root_dir = [[root_pattern("package.json", "vue.config.js")]],
init_options = {
config = {
vetur = {
- useWorkspaceDependencies = false;
+ useWorkspaceDependencies = false,
validation = {
- template = true;
- style = true;
- script = true;
- };
+ template = true,
+ style = true,
+ script = true,
+ },
completion = {
- autoImport = false;
- useScaffoldSnippets = false;
- tagCasing = "kebab";
- };
+ autoImport = false,
+ useScaffoldSnippets = false,
+ tagCasing = "kebab",
+ },
format = {
defaultFormatter = {
- js = "none";
- ts = "none";
- };
- defaultFormatterOptions = {};
- scriptInitialIndent = false;
- styleInitialIndent = false;
- }
- };
- css = {};
+ js = "none",
+ ts = "none",
+ },
+ defaultFormatterOptions = {},
+ scriptInitialIndent = false,
+ styleInitialIndent = false,
+ },
+ },
+ css = {},
html = {
- suggest = {};
- };
+ suggest = {},
+ },
javascript = {
- format = {};
- };
+ format = {},
+ },
typescript = {
- format = {};
- };
- emmet = {};
- stylusSupremacy = {};
- };
- };
- };
- };
+ format = {},
+ },
+ emmet = {},
+ stylusSupremacy = {},
+ },
+ },
+ },
+ },
}
-- vim:et ts=2 sw=2