aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/java_language_server.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-03 15:55:59 -0700
committerGitHub <noreply@github.com>2021-07-03 15:55:59 -0700
commite1160be89ae6a3ece4664c8e32a82b8637f4b177 (patch)
tree77d533dc9606ca7e9b30d1a96baebf3de325d2a8 /lua/lspconfig/java_language_server.lua
parent[docgen] Update CONFIG.md (diff)
parentci: lint and format with stylua (diff)
downloadnvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.gz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.bz2
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.lz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.xz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.zst
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.zip
Merge pull request #1029 from mjlbach/ci/format_with_stylua
ci: lint and format with stylua
Diffstat (limited to 'lua/lspconfig/java_language_server.lua')
-rw-r--r--lua/lspconfig/java_language_server.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/lua/lspconfig/java_language_server.lua b/lua/lspconfig/java_language_server.lua
index 261e96d5..b52b43df 100644
--- a/lua/lspconfig/java_language_server.lua
+++ b/lua/lspconfig/java_language_server.lua
@@ -1,15 +1,15 @@
-local lspconfig = require('lspconfig')
-local configs = require('lspconfig/configs')
+local lspconfig = require "lspconfig"
+local configs = require "lspconfig/configs"
-local name = 'java_language_server'
+local name = "java_language_server"
configs[name] = {
default_config = {
- cmd = {};
- filetypes = {'java'};
- root_dir = lspconfig.util.root_pattern('build.gradle', 'pom.xml', '.git');
- settings = {}
- };
+ cmd = {},
+ filetypes = { "java" },
+ root_dir = lspconfig.util.root_pattern("build.gradle", "pom.xml", ".git"),
+ settings = {},
+ },
docs = {
description = [[
https://github.com/georgewfraser/java-language-server
@@ -17,6 +17,6 @@ https://github.com/georgewfraser/java-language-server
Java language server
Point `cmd` to `lang_server_linux.sh` or the equivalent script for macOS/Windows provided by java-language-server
-]]
- }
+]],
+ },
}