mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject
This commit is contained in:
parent
78e295fa41
commit
ec24d496d5
65 changed files with 104 additions and 104 deletions
|
@ -176,7 +176,7 @@ in
|
|||
server:
|
||||
let
|
||||
updates = lib.concatMapStringsSep "\n" (name: ''
|
||||
client.server_capabilities.${name} = ${helpers.toLuaObject server.capabilities.${name}}
|
||||
client.server_capabilities.${name} = ${lib.nixvim.toLuaObject server.capabilities.${name}}
|
||||
'') (builtins.attrNames server.capabilities);
|
||||
in
|
||||
''
|
||||
|
@ -230,7 +230,7 @@ in
|
|||
do
|
||||
${cfg.preConfig}
|
||||
|
||||
local __lspServers = ${helpers.toLuaObject cfg.enabledServers}
|
||||
local __lspServers = ${lib.nixvim.toLuaObject cfg.enabledServers}
|
||||
-- Adding lspOnAttach function to nixvim module lua table so other plugins can hook into it.
|
||||
_M.lspOnAttach = function(client, bufnr)
|
||||
${updateCapabilities}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue