home: vim: lua: move 'list_clients' to lsp'

This commit is contained in:
Bruno BELANYI 2026-01-26 16:53:16 +00:00
parent 7202fa1911
commit 852ded641a
3 changed files with 16 additions and 16 deletions

View file

@ -1,6 +1,6 @@
local lualine = require("lualine")
local oil = require("oil")
local utils = require("ambroisie.utils")
local lsp = require("ambroisie.lsp")
local function list_spell_languages()
if not vim.opt.spell:get() then
@ -11,7 +11,7 @@ local function list_spell_languages()
end
local function list_lsp_clients()
local client_names = utils.list_lsp_clients(0)
local client_names = lsp.list_clients(0)
if #client_names == 0 then
return ""