Skip to content

Copilot: Disabled for filetype=help by internal default #38074

Closed Answered by tpope
MorganBergen asked this question in Copilot
Discussion options

You must be logged in to vote

It goes in your vimrc, generally ~/.config/nvim/init.vim as @maxxxxxdlp notes. Try this:

let g:copilot_filetypes = {'markdown': v:true}

If you're using a pure Lua config like ~/.config/nvim/init.lua, you can use a Lua variant:

vim.g.copilot_filetypes = {markdown = true}

Replies: 7 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@toomey8
Comment options

@benlieb
Comment options

@Pclucido
Comment options

@anandkumar89
Comment options

@0guanhua0
Comment options

Answer selected by tpope
Comment options

You must be logged in to vote
3 replies
@Pclucido
Comment options

@debragail
Comment options

@richardxgao
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copilot Code accurately and faster with your AI powered pair-programmer. Product Feedback