From 5a3ca1a3f6f11339637dba6ef8066a90dccd1156 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 24 Jan 2024 17:41:16 +0700 Subject: [PATCH] feat: add copilot again --- data/nvim/init.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index a7dc6b6..d396985 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -484,4 +484,17 @@ require("lazy").setup({ }) end, }, + + -- https://github.com/github/copilot.vim + { + "github/copilot.vim", + init = function() + vim.g.copilot_filetypes = { + ["*"] = false, + go = true, + proto = true, + lua = true, + } + end, + }, })