@@ -519,8 +519,8 @@ function M.attach()
519
519
local inside_osv = false
520
520
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
521
521
local source = info .source :sub (2 )
522
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
523
- local parent = vim .fs .dirname (path )
522
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
523
+ local parent = vim .fs .dirname (source )
524
524
if parent and vim .fs .basename (parent ) == " osv" then
525
525
inside_osv = true
526
526
end
@@ -719,8 +719,8 @@ function M.attach()
719
719
local inside_osv = false
720
720
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
721
721
local source = info .source :sub (2 )
722
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
723
- local parent = vim .fs .dirname (path )
722
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
723
+ local parent = vim .fs .dirname (source )
724
724
if parent and vim .fs .basename (parent ) == " osv" then
725
725
inside_osv = true
726
726
end
@@ -810,8 +810,8 @@ function M.attach()
810
810
local inside_osv = false
811
811
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
812
812
local source = info .source :sub (2 )
813
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
814
- local parent = vim .fs .dirname (path )
813
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
814
+ local parent = vim .fs .dirname (source )
815
815
if parent and vim .fs .basename (parent ) == " osv" then
816
816
inside_osv = true
817
817
end
@@ -965,8 +965,8 @@ function M.attach()
965
965
local inside_osv = false
966
966
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
967
967
local source = info .source :sub (2 )
968
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
969
- local parent = vim .fs .dirname (path )
968
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
969
+ local parent = vim .fs .dirname (source )
970
970
if parent and vim .fs .basename (parent ) == " osv" then
971
971
inside_osv = true
972
972
end
@@ -999,8 +999,8 @@ function M.attach()
999
999
local inside_osv = false
1000
1000
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
1001
1001
local source = info .source :sub (2 )
1002
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
1003
- local parent = vim .fs .dirname (path )
1002
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
1003
+ local parent = vim .fs .dirname (source )
1004
1004
if parent and vim .fs .basename (parent ) == " osv" then
1005
1005
inside_osv = true
1006
1006
end
@@ -1262,8 +1262,8 @@ function M.attach()
1262
1262
local inside_osv = false
1263
1263
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
1264
1264
local source = info .source :sub (2 )
1265
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
1266
- local parent = vim .fs .dirname (path )
1265
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
1266
+ local parent = vim .fs .dirname (source )
1267
1267
if parent and vim .fs .basename (parent ) == " osv" then
1268
1268
inside_osv = true
1269
1269
end
@@ -1725,8 +1725,8 @@ function M.start_trace()
1725
1725
local inside_osv = false
1726
1726
if info .source :sub (1 , 1 ) == ' @' and # info .source > 8 and info .source :sub (# info .source - 8 + 1 ,# info .source ) == " init.lua" then
1727
1727
local source = info .source :sub (2 )
1728
- local path = vim .fn .resolve (vim .fn .fnamemodify (source , " :p" ))
1729
- local parent = vim .fs .dirname (path )
1728
+ -- local path = vim.fn.resolve(vim.fn.fnamemodify(source, ":p"))
1729
+ local parent = vim .fs .dirname (source )
1730
1730
if parent and vim .fs .basename (parent ) == " osv" then
1731
1731
inside_osv = true
1732
1732
end
0 commit comments