Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"Bad config: unknown field cursor-shape" when using doc configuration #1857

Closed
tnahs opened this issue Mar 22, 2022 · 1 comment
Closed

"Bad config: unknown field cursor-shape" when using doc configuration #1857

tnahs opened this issue Mar 22, 2022 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@tnahs
Copy link

tnahs commented Mar 22, 2022

Summary

Using the documentation's configuration:

theme = "onedark"

[editor]
line-number = "relative"
mouse = false

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.file-picker]
hidden = false

Full error:

Bad config: unknown field `cursor-shape`, expected one of `scrolloff`, `scroll-lines`, `mouse`, `shell`, `line-number`, `middle-click-paste`, `smart-case`, `auto-pairs`, `auto-completion`, `idle-timeout`, `completion-trigger-len`, `auto-info`, `file-picker`, `true-color` for key `editor` at line 12 column 1
Press <ENTER> to continue with default config

Reproduction Steps

  1. Create new config file at ~/.config/helix/config.toml
  2. Copy/paste config from documentation found here: https://docs.helix-editor.com/configuration.html
  3. Run hx

Helix log

No log output.

Platform

macOS

Terminal Emulator

Kitty 0.24.4 (0.24.4)

Helix Version

Typing hx -V outputs no version number just: helix .

@tnahs tnahs added the C-bug Category: This is a bug label Mar 22, 2022
@sudormrfbin
Copy link
Member

The docs at https://docs.helix-editor.com/ point to master, and this was resolved in #1783, but the gh-pages branch was not updated to point https://docs.helix-editor.com/ to the last tagged release. We can either wait for the next release where this will be automatically taken care of by the CI, or we can checkout the docs for the latest release, build it and push it to the gh-pages branch manually.

@kirawi kirawi closed this as completed Mar 28, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

3 participants