diff options
author | Abouzar Parvan <[email protected]> | 2021-08-04 23:51:09 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-04 23:51:09 +0430 |
commit | 26a2225c3a08d05e0ad1ba1813c37eb6062ae7fc (patch) | |
tree | c1391471f31e0d0c9605db3beca9890af0c1662b /lua | |
parent | 84f56ac498337addc97de6e1d516cedf875a4cac (diff) |
fix the ruby root_dir for good :sob:
Diffstat (limited to 'lua')
-rw-r--r-- | lua/default-config.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index f228d0fb..5b4074b6 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -932,9 +932,9 @@ lvim.lang = { init_options = { formatting = true, }, - root_dir = function() + root_dir = function(fname) local util = require("lspconfig").util - return util.root_pattern("Gemfile", ".git") + return util.root_pattern("Gemfile", ".git")(fname) end, settings = { solargraph = { |