Update tide to v6
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
function _tide_item_go
|
||||
path is $_tide_parent_dirs/go.mod &&
|
||||
_tide_print_item go $tide_go_icon' ' (go version | string match -r "[\d.]+")
|
||||
if path is $_tide_parent_dirs/go.mod
|
||||
go version | string match -qr "(?<v>[\d.]+)"
|
||||
_tide_print_item go $tide_go_icon' ' $v
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user