From fc9a09192f32ae7f66073c7d7a4109ec0c2b69ce Mon Sep 17 00:00:00 2001 From: Peter Lithammer Date: Tue, 4 May 2021 09:30:38 +0200 Subject: Replace tabs with 2-space indentation --- lua/lspconfig/ccls.lua | 2 +- lua/lspconfig/jdtls.lua | 8 ++++---- lua/lspconfig/kotlin_language_server.lua | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'lua') 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' -- cgit v1.2.3-70-g09d2