Skip to content

Commit

Permalink
feat(treesitter): load treesitter when resources are available (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jint-lzxy committed Mar 14, 2023
1 parent 2d51b0a commit 08743e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/modules/configs/editor/treesitter.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
return function()
return vim.schedule_wrap(function()
local use_ssh = require("core.settings").use_ssh

vim.api.nvim_set_option_value("foldmethod", "expr", {})
Expand Down Expand Up @@ -85,4 +85,4 @@ return function()
p.install_info.url = p.install_info.url:gsub("https://github.com/", "git@github.com:")
end
end
end
end)

0 comments on commit 08743e6

Please sign in to comment.