While at it, drop calling set hlsearch for * and g* as hlsearch is enabled by default and does not seem to be required.
neovim enabled search selection by * and # in visual mode but seems that is not good enough. https://github.com/neovim/neovim/pull/18538#pullrequestreview-971039192 Add and use Justin Keyes version referenced above.