ycm如何跳过指定目录不加载,降低内存占用
gopls setting.md : https://github.com/golang/tools/blob/master/gopls/doc/settings.md#directoryfilters-string
directoryFilters 配置:https://newreleases.io/project/github/golang/tools/release/gopls%2Fv0.6.0
具体代码逻辑应该是在/Users/bytedance/kulvenv/vim/bundle/YouCompleteMe/third_party/ycmd/third_party/go/pkg/mod/golang.org/x/tools@v0.1.1-0.20210119222907-0a1a9685734a/internal/lsp
x
接下来的问题是看怎么把 directoryFilters 参数传递给gopls了。可能是传给lsp.
分类: GO
近期评论