We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea2ac30 commit b4c6e76Copy full SHA for b4c6e76
1 file changed
rplugin/python3/plugin.py
@@ -42,6 +42,9 @@ def copilotChat(self, args: list[str]):
42
# Create a new scratch buffer to hold the chat
43
self.nvim.command("enew")
44
self.nvim.command("setlocal buftype=nofile bufhidden=hide noswapfile")
45
+ # Set filetype as markdown and wrap
46
+ self.nvim.command("setlocal filetype=markdown")
47
+ self.nvim.command("setlocal wrap")
48
if self.nvim.current.line != "":
49
self.nvim.command("normal o")
50
for token in self.copilot.ask(prompt, code, language=file_type):
0 commit comments