diff options
Diffstat (limited to 'lua/common_lsp/gopls.lua')
| -rw-r--r-- | lua/common_lsp/gopls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/common_lsp/gopls.lua b/lua/common_lsp/gopls.lua index 306c7f2c..e3061d16 100644 --- a/lua/common_lsp/gopls.lua +++ b/lua/common_lsp/gopls.lua @@ -19,7 +19,7 @@ https://github.com/golang/tools/tree/master/gopls Google's lsp server for golang. ]]; default_config = { - root_dir = "vim's starting directory"; + root_dir = [[root_pattern("go.mod", ".git")]]; }; }; } |
