aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/nvim/lua/vimrc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-05-22 20:02:48 +0900
committernsfisis <nsfisis@gmail.com>2024-05-22 20:02:48 +0900
commitd79d233f7a010a8ef5eac783c51ba892b7dab50f (patch)
tree492850a05def37ec44c4ebb329b5caa89becb809 /.config/nvim/lua/vimrc
parentcd72d9cae76c2ca001a26ef221a40eec29796630 (diff)
downloaddotfiles-d79d233f7a010a8ef5eac783c51ba892b7dab50f.tar.gz
dotfiles-d79d233f7a010a8ef5eac783c51ba892b7dab50f.tar.zst
dotfiles-d79d233f7a010a8ef5eac783c51ba892b7dab50f.zip
nvim/copilot: disable GitHub Copilot in ft=text or ft=markdown
Diffstat (limited to '.config/nvim/lua/vimrc')
-rw-r--r--.config/nvim/lua/vimrc/plugins.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc/plugins.lua b/.config/nvim/lua/vimrc/plugins.lua
index 7b4f5dc..2587628 100644
--- a/.config/nvim/lua/vimrc/plugins.lua
+++ b/.config/nvim/lua/vimrc/plugins.lua
@@ -663,6 +663,12 @@ return {
-- Integration with GitHub Copilot (https://docs.github.com/en/copilot)
{
'github/copilot.vim',
+ init = function()
+ vim.g.copilot_filetypes = {
+ markdown = false,
+ text = false,
+ }
+ end,
},
-- }}}
}