nvim-hlslens
nvim-hlslens copied to clipboard
fix: hack the lua package.path for VimPlug
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
Hacking the rtp
is bad, I think to add a doc section for vim-plug
to add rtp
is better.