# HG changeset patch # User zegervdv # Date 1673815960 -3600 # Node ID 04683b4f8df3c6f09293f1e628cacfd5bd8214b5 # Parent 240257a1b956d8a611c467702620bd1cf5123958 fix: handle chezmoi directory after neodev updates diff -r 240257a1b956 -r 04683b4f8df3 .chezmoitemplates/init.lua --- a/.chezmoitemplates/init.lua Sat Jan 14 16:27:11 2023 +0100 +++ b/.chezmoitemplates/init.lua Sun Jan 15 21:52:40 2023 +0100 @@ -1317,7 +1317,7 @@ require('neodev').setup { override = function(root_dir, options) - if require('neodev.util').has_file(root_dir, '~/.local/share/chezmoi') then + if root_dir:find 'chezmoi' then options.enabled = true options.runtime = true options.types = true