Fixed minor errors in config

This commit is contained in:
2026-07-14 13:30:28 +01:00
parent 7a7221ff0d
commit 0bc6a46465
4 changed files with 16 additions and 1 deletions
+8
View File
@@ -19,4 +19,12 @@ function M.ensure_plugin(name, repo, branch)
return path
end
-- Helper function to clean up duplicate parsers that conflict with Nix-provided ones
function M.clean_conflicting_parsers()
local org_parser_lazy = vim.fn.stdpath("data") .. "/lazy/orgmode/parser/org.so"
if (vim.uv or vim.loop).fs_stat(org_parser_lazy) then
os.remove(org_parser_lazy)
end
end
return M
+4 -1
View File
@@ -42,10 +42,13 @@ return {
"ruff",
"pylsp",
"taplo",
"nixd",
},
})
if vim.fn.executable("nixd") == 1 then
vim.lsp.enable("nixd")
end
vim.lsp.config("lua_ls", {
settings = {
Lua = {