diff options
| author | jdhao <jdhao@hotmail.com> | 2021-08-28 00:36:41 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-08-28 00:36:41 +0800 |
| commit | abc40fc42f9999bf603e5eff3f492c25d6f23ab0 (patch) | |
| tree | f2b47ced5a322a02dfdf7c88ae089857bef43fe3 | |
| parent | 3c047c86745888f5b75cf45261dde191d6709693 (diff) | |
only use treesitter for macOS
| -rw-r--r-- | lua/plugins.lua | 2 |
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 |
