File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,25 +10,21 @@ ya pack -a yazi-rs/plugins:types
1010
1111## Usage
1212
13- ### Neovim
14-
15- ``` lua
16- require (" lspconfig" ).lua_ls .setup {
17- settings = {
18- Lua = {
19- workspace = {
20- library = {
21- vim .fn .expand (" $HOME/.config/yazi/plugins/types.yazi" ),
22- },
23- },
24- },
25- },
13+ Create a ` .luarc.json ` file in your project root:
14+
15+ <!-- prettier-ignore -->
16+ ``` json5
17+ {
18+ " $schema" : " https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json" ,
19+ " runtime.version" : " Lua 5.4" ,
20+ " workspace.library" : [
21+ // You may need to change the path to your local plugin directory
22+ " ~/.config/yazi/plugins/types.yazi/" ,
23+ ],
2624}
2725```
2826
29- ### Other editors
30-
31- PRs are welcome!
27+ See https://luals.github.io/wiki/configuration/ for more information on how to configure LuaLS.
3228
3329## Contributing
3430
You can’t perform that action at this time.
0 commit comments