From a38da0a61c172bb59e34befc12efe48359884793 Mon Sep 17 00:00:00 2001 From: ray-x Date: Sat, 15 Jun 2024 14:14:11 +1000 Subject: [PATCH] lint --- lua/lsp_signature/helper.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/lsp_signature/helper.lua b/lua/lsp_signature/helper.lua index 07c990e..493c767 100644 --- a/lua/lsp_signature/helper.lua +++ b/lua/lsp_signature/helper.lua @@ -15,9 +15,8 @@ local function is_special(ch) return contains(special_chars, ch) end -helper.cursor_hold = function(enabled,bufnr) - - if not _LSP_SIG_CFG.cursorhold_update then +helper.cursor_hold = function(enabled, bufnr) + if not _LSP_SIG_CFG.cursorhold_update then return end @@ -47,7 +46,6 @@ helper.cursor_hold = function(enabled,bufnr) event = { 'CursorHold', 'CursorHoldI' }, }) end - end local function fs_write(path, data)