aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-28 00:36:41 +0800
committerjdhao <jdhao@hotmail.com>2021-08-28 00:36:41 +0800
commitabc40fc42f9999bf603e5eff3f492c25d6f23ab0 (patch)
treef2b47ced5a322a02dfdf7c88ae089857bef43fe3 /lua/plugins.lua
parent3c047c86745888f5b75cf45261dde191d6709693 (diff)
only use treesitter for macOS
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index c34cc69..8cd552c 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -30,7 +30,7 @@ require("packer").startup({
-- auto-completion engine
use({ "hrsh7th/nvim-compe", event = "InsertEnter *", config = [[require('config.compe')]] })
- if vim.g.is_mac or vim.g.is_linux then
+ if vim.g.is_mac then
use({ "nvim-treesitter/nvim-treesitter", event = 'BufEnter', run = ":TSUpdate", config = [[require('config.treesitter')]] })
end