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

only use cmp-emoji on macOS

This commit is contained in:
jdhao 2021-10-21 23:03:35 +08:00
parent 9d234efbd4
commit 2b7e88b706

View File

@ -38,7 +38,9 @@ require("packer").startup({
use {"hrsh7th/cmp-path", after = "nvim-cmp"}
use {"quangnguyen30192/cmp-nvim-ultisnips", after = {'nvim-cmp', 'ultisnips'}}
use {"hrsh7th/cmp-emoji", after = 'nvim-cmp'}
if vim.g.is_mac then
use {"hrsh7th/cmp-emoji", after = 'nvim-cmp'}
end
if vim.g.is_mac then
use({ "nvim-treesitter/nvim-treesitter", event = 'BufEnter', run = ":TSUpdate", config = [[require('config.treesitter')]] })