nvim-hlslens icon indicating copy to clipboard operation
nvim-hlslens copied to clipboard

fix: hack the lua package.path for VimPlug

Open ngdangdat opened this issue 1 year ago • 1 comments

Related issue

#52

Description

  • Execute Lua command to add hlslens.lua location to package.path

How to test

  • Pull the branch
  • Configure VimPlug with the pulled branch. E.g: Plug '~/learn/repos/nvim-hlslens'
  • Restart NeoVim
  • Execute lua command to check if the hlslens package is recognized :lua require("hlslens").setup(nil, true)

References

  • https://www.linode.com/docs/guides/write-a-neovim-plugin-with-lua/#vim-script-component

ngdangdat avatar May 04 '23 08:05 ngdangdat

Hacking the rtp is bad, I think to add a doc section for vim-plug to add rtp is better.

kevinhwang91 avatar May 04 '23 14:05 kevinhwang91