home: vim: lua: move 'list_clients' to lsp'
This commit is contained in:
parent
7202fa1911
commit
852ded641a
3 changed files with 16 additions and 16 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue