diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-05-22 20:02:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-05-22 20:02:48 +0900 |
| commit | d79d233f7a010a8ef5eac783c51ba892b7dab50f (patch) | |
| tree | 492850a05def37ec44c4ebb329b5caa89becb809 /.config/nvim/lua | |
| parent | cd72d9cae76c2ca001a26ef221a40eec29796630 (diff) | |
| download | dotfiles-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')
| -rw-r--r-- | .config/nvim/lua/vimrc/plugins.lua | 6 |
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, }, -- }}} } |
