Skip to content

Base config from repo not working and sending errors  #9608

Closed
@MartinFillon

Description

@MartinFillon

Summary

File is the raw one from main
I have errors such as :

Bad language config: unknown field `persistent-diagnostic-sources`, expected one of `name`, `language-id`, `scope`, `file-types`, `shebangs`, `roots`, `comment-token`, `text-width`, `soft-wrap`, `auto-format`, `formatter`, `diagnostic-severity`, `grammar`, `injection-regex`, `language-servers`, `indent`, `debugger`, `auto-pairs`, `rulers`, `workspace-lsp-roots`
in `language`

Or:

Bad language config: unknown key in `file-types` list: glob
in `language.file-types`

Reproduction Steps

I tried this:

  1. copy file from repo
  2. hx

I expected this to happen:
no error displayed
Instead, this happened:

Helix log

~/.cache/helix/helix.log

Log is not useful as not related :

2024-02-12T12:55:07.711 helix_view::editor [ERROR] Failed to initialize the language servers for `source.toml` - `taplo` { cannot find binary path }

Platform

Linux

Terminal Emulator

kitty

Installation Method

yay

Helix Version

helix 23.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions