Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows安装会出错 #36

Open
heheda123123 opened this issue Dec 27, 2024 · 1 comment
Open

windows安装会出错 #36

heheda123123 opened this issue Dec 27, 2024 · 1 comment

Comments

@heheda123123
Copy link

image

nvim-treesitter也报错了,但是他本身是支持windows的
image
https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

@nshen
Copy link
Owner

nshen commented Dec 28, 2024

哦, 好像CopilotChat.nvim 不支持 windows, 后边再看看怎么处理

你可以先把这个文件lua/insis/plugins/init.lua 中的这段注释掉

  {
    "CopilotC-Nvim/CopilotChat.nvim",
    dependencies = {
      { "zbirenbaum/copilot.lua" }, -- or github/copilot.vim
      { "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
    },
    build = "make tiktoken", -- Only on MacOS or Linux
    config = function()
      require("insis.plugins.copilot").copilot_chat()
    end,
  },

重启然后再执行 :TSUpdate 更新一下 treesitter 试试呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants