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:
parent
3c047c8674
commit
abc40fc42f
@ -30,7 +30,7 @@ require("packer").startup({
|
|||||||
-- auto-completion engine
|
-- auto-completion engine
|
||||||
use({ "hrsh7th/nvim-compe", event = "InsertEnter *", config = [[require('config.compe')]] })
|
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')]] })
|
use({ "nvim-treesitter/nvim-treesitter", event = 'BufEnter', run = ":TSUpdate", config = [[require('config.treesitter')]] })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user