Skip to content

Commit 9295428

Browse files
committed
chore: remove deprecated config_file_path
1 parent 6fb9609 commit 9295428

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ require('opencode').setup({
9797
preferred_completion = nil, -- 'blink', 'nvim-cmp','vim_complete' if nil, it will use the best available completion
9898
default_global_keymaps = true, -- If false, disables all default global keymaps
9999
default_mode = 'build', -- 'build' or 'plan' or any custom configured. @see [OpenCode Agents](https://opencode.ai/docs/modes/)
100-
config_file_path = nil, -- Path to opencode configuration file if different from the default `~/.config/opencode/config.json` or `~/.config/opencode/opencode.json`
101100
keymap = {
102101
global = {
103102
toggle = '<leader>og', -- Open opencode. Close if opened

lua/opencode/config.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ M.defaults = {
2424
preferred_completion = nil,
2525
default_global_keymaps = true,
2626
default_mode = 'build',
27-
config_file_path = nil,
2827
keymap = {
2928
global = {
3029
toggle = '<leader>og',

lua/opencode/types.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
---@field preferred_completion 'blink' | 'nvim-cmp' | 'vim_complete' | nil -- Preferred completion strategy for mentons and commands
118118
---@field default_global_keymaps boolean
119119
---@field default_mode 'build' | 'plan' | string -- Default mode
120-
---@field config_file_path string|nil Path to the configuration file
121120
---@field keymap OpencodeKeymap
122121
---@field ui OpencodeUIConfig
123122
---@field providers OpencodeProviders

0 commit comments

Comments
 (0)