From bf2e867354aeaa09eeaf80b65e86022e7c3be144 Mon Sep 17 00:00:00 2001 From: ray-x Date: Sat, 19 Feb 2022 10:51:27 +1100 Subject: [PATCH] lint --- lua/navigator/lspclient/clients.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/navigator/lspclient/clients.lua b/lua/navigator/lspclient/clients.lua index bde9b8c..859ca71 100644 --- a/lua/navigator/lspclient/clients.lua +++ b/lua/navigator/lspclient/clients.lua @@ -8,7 +8,6 @@ local warn = util.warn _NG_Loaded = {} _LoadedFiletypes = {} -local loader = nil packer_plugins = packer_plugins or nil -- suppress warnings -- packer only @@ -724,12 +723,12 @@ local function setup(user_opts) end -- append lsps to servers -function add_servers(lsps) +local function add_servers(lsps) vim.validate({ lsps = { lsps, 't' } }) vim.list_extend(servers, lsps) end -function on_filetype() +local function on_filetype() local bufnr = vim.api.nvim_get_current_buf() local uri = vim.uri_from_bufnr(bufnr)