mirror of
https://github.com/chipsenkbeil/distant.git
synced 2024-11-05 12:00:36 +00:00
Add disclaimer about where the lua module needs to be placed
This commit is contained in:
parent
349c5382eb
commit
62e152c499
@ -20,7 +20,10 @@ cargo build --release
|
||||
## Examples
|
||||
|
||||
Rename `libdistant_lua.so` or `libdistant_lua.dylib` to `distant_lua.so`
|
||||
(yes, **.so** for **.dylib**) and place the library in your Lua path.
|
||||
(yes, **.so** for **.dylib**) and place the library in your Lua path at
|
||||
the *root*. The library cannot be within any submodule otherwise it fails
|
||||
to load appropriate symbols. For neovim, this means directly within the
|
||||
`lua/` directory.
|
||||
|
||||
```lua
|
||||
local distant = require("distant_lua")
|
||||
|
Loading…
Reference in New Issue
Block a user