Skip to content

embark_profiles unexpected characters found, marks every line as a problem

Bug Report

How to reproduce

  • Create a new embark profile in Dwarf Fortress and save it.
  • Load the embark_profiles.txt in VS Code with the extension of this repository.

Result

"Unexpected characters found" on the very first character. Afterwards, every line is marked with a follow-up error. The highlight seems to work though. image

Expected

No errors when opening a file created by the game.

Version

  • DF Version: v50.03 (Steam)
  • DF Language Server version: v0.2.0 from 20.12.2022 13:08:46
  • OS: Windows
  • OS Version: 11 Pro