File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed
Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -10,25 +10,20 @@ 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+ ``` json5
16+ {
17+ " $schema" : " https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json" ,
18+ " runtime.version" : " Lua 5.4" ,
19+ " workspace.library" : [
20+ // You may need to change the path to your local plugin directory
21+ " ~/.config/yazi/plugins/types.yazi/" ,
22+ ],
2623}
2724```
2825
29- ### Other editors
30-
31- PRs are welcome!
26+ See https://luals.github.io/wiki/configuration/ for more information on how to configure LuaLS.
3227
3328## Contributing
3429
You can’t perform that action at this time.
0 commit comments