aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorPeter Lithammer <peter.lithammer@gmail.com>2021-05-04 09:30:38 +0200
committerPeter Lithammer <peter.lithammer@gmail.com>2021-05-04 09:30:38 +0200
commitfc9a09192f32ae7f66073c7d7a4109ec0c2b69ce (patch)
treebda18eb938d80a2f5fdfaedc3a52c18ee29c99da /lua
parentMerge pull request #877 from dimbleby/issue-876 (diff)
downloadnvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar.gz
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar.bz2
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar.lz
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar.xz
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.tar.zst
nvim-lspconfig-fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce.zip
Replace tabs with 2-space indentation
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/ccls.lua2
-rw-r--r--lua/lspconfig/jdtls.lua8
-rw-r--r--lua/lspconfig/kotlin_language_server.lua4
3 files changed, 7 insertions, 7 deletions
diff --git a/lua/lspconfig/ccls.lua b/lua/lspconfig/ccls.lua
index fd4a4326..68cf2d47 100644
--- a/lua/lspconfig/ccls.lua
+++ b/lua/lspconfig/ccls.lua
@@ -23,7 +23,7 @@ Customization options are passed to ccls at initialization time via init_options
local lspconfig = require'lspconfig'
lspconfig.ccls.setup {
init_options = {
- compilationDatabaseDirectory = "build";
+ compilationDatabaseDirectory = "build";
index = {
threads = 0;
};
diff --git a/lua/lspconfig/jdtls.lua b/lua/lspconfig/jdtls.lua
index 4bb7e83c..0afc62bd 100644
--- a/lua/lspconfig/jdtls.lua
+++ b/lua/lspconfig/jdtls.lua
@@ -50,10 +50,10 @@ local root_files = {
-- server changes. This can be used to display progress as the server is
-- starting up.
local function on_language_status(_, _, result)
- local command = vim.api.nvim_command
- command('echohl ModeMsg')
- command(string.format('echo "%s"', result.message))
- command('echohl None')
+ local command = vim.api.nvim_command
+ command('echohl ModeMsg')
+ command(string.format('echo "%s"', result.message))
+ command('echohl None')
end
-- If the text document version is 0, set it to nil instead so that Neovim
diff --git a/lua/lspconfig/kotlin_language_server.lua b/lua/lspconfig/kotlin_language_server.lua
index b563b5c5..9b3280fe 100644
--- a/lua/lspconfig/kotlin_language_server.lua
+++ b/lua/lspconfig/kotlin_language_server.lua
@@ -3,8 +3,8 @@
---
--- This server requires vim to be aware of the kotlin-filetype.
--- You could refer for this capability to:
---- https://github.com/udalov/kotlin-vim (recommended)
---- Note that there is no LICENSE specified yet.
+--- https://github.com/udalov/kotlin-vim (recommended)
+--- Note that there is no LICENSE specified yet.
local util = require 'lspconfig/util'
local configs = require 'lspconfig/configs'