lsp for lua/ts
This commit is contained in:
parent
61d3aec608
commit
ccb3727d8f
4 changed files with 159 additions and 8 deletions
3
init.lua
3
init.lua
|
@ -44,6 +44,9 @@ local function getSpec()
|
|||
-- Convert plugins to use nix store, this auto sets the `dir` property for us on all plugins.
|
||||
function convertPluginToNixStore(plugin)
|
||||
local p = ensure_table(plugin)
|
||||
if p.enabled == false then
|
||||
return plugin
|
||||
end
|
||||
local nixName = "nvim_plugin-" .. p[1]
|
||||
if not NIX.pluginPaths[nixName] then
|
||||
error("Plugin is missing in the nix store, ensure it is in the nix flake inputs: " .. p[1])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue