Skip to content

Commit

Permalink
Add global option to lua to disable separators
Browse files Browse the repository at this point in the history
  • Loading branch information
gptlang committed Feb 4, 2024
1 parent 3c1274f commit 8338ee2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/CopilotChat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ _COPILOT_CHAT_GLOBAL_CONFIG = {}
-- - debug: (boolean?) default: false.
M.setup = function(options)
vim.g.copilot_chat_show_help = options and options.show_help or 'yes'
vim.g.copilot_chat_disable_separators = options and options.disable_separators or false
local debug = options and options.debug or false
_COPILOT_CHAT_GLOBAL_CONFIG.debug = debug

Expand Down

0 comments on commit 8338ee2

Please sign in to comment.