1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

only use treesitter for macOS

This commit is contained in:
jdhao 2021-08-28 00:36:41 +08:00
parent 3c047c8674
commit abc40fc42f

View File

@ -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