From abc40fc42f9999bf603e5eff3f492c25d6f23ab0 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sat, 28 Aug 2021 00:36:41 +0800 Subject: [PATCH] only use treesitter for macOS --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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