Skip to content

Commit dfa43c3

Browse files
authored
fix(wrapperModules.neovim): improve order of default pname check (#220)
1 parent 48b4a74 commit dfa43c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrapperModules/n/neovim/normalize.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ let
153153
v.data.meta.mainProgram
154154
else if v.data.name or null != null then
155155
v.data.name
156-
else if v.name or null != null then
157-
v.name
158156
else if wlib.types.stringable.check (v.data or null) then
159157
if baseNameOf (v.data or "") != "" then
160158
baseNameOf v.data
161159
else if lib.getName (v.data or "") != "" then
162160
baseNameOf v.data
163161
else
164162
null
163+
else if v.name or null != null then
164+
v.name
165165
else
166166
null;
167167

0 commit comments

Comments
 (0)