refactor: remove open_url config option in favour of :CP open (#322)
## Problem `open_url` automatically opened the browser on contest load and problem change, which is now redundant with `:CP open`. ## Solution Remove the `open_url` field from `cp.Config`, its default, its validation, and the call site in `setup_contest`. Remove documentation from `cp.nvim.txt`.
This commit is contained in:
parent
401afb205e
commit
2d50f0a52a
3 changed files with 0 additions and 14 deletions
|
|
@ -113,7 +113,6 @@ Configuration is done via `vim.g.cp`. Set this before using the plugin:
|
|||
default_language = 'cpp',
|
||||
},
|
||||
},
|
||||
open_url = true,
|
||||
debug = false,
|
||||
ui = {
|
||||
ansi = true,
|
||||
|
|
@ -186,8 +185,6 @@ run CSES problems with Rust using the single schema:
|
|||
Should return full filename with extension.
|
||||
(default: concatenates contest_id and problem_id, lowercased)
|
||||
{ui} (|CpUI|) UI settings: panel, diff backend, picker.
|
||||
{open_url} (boolean) Open the contest & problem url in the browser
|
||||
when a new contest is opened or the active problem changes.
|
||||
|
||||
*CpPlatform*
|
||||
Fields: ~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue