nshen / learn-neovim-lua

Neovim 配置实战:从 0 到 1 打造自己的 IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trouble插件的配置解耦问题

Demon-Wang opened this issue · comments

我看plugins.lua和trouble本身的说明 都是说
在packer下直接设置config = ....

这种情况下如何解耦到单独创建plugin-config目录下的单独配置文件呢。

不是很会lua和其他的内部原理。。 可能有点偏执,求指教。

期待更新!

我自己看了下 nvim-tree的readme 他也是config的写法 好像可以直接 另写lua 用setup载入config就行了

👍 放假没开机,才看到,两种方法应该是一样的。