lapce / lapce

Lightning-fast and Powerful Code Editor written in Rust

Home Page:http://lapce.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax highlighting does not work for Bash

simoniz0r opened this issue · comments

I am getting a similar error as #1762 with Lapce version 0.4.0 running on openSUSE Tumbleweed using the pre-compiled tar from the releases page:

 syretia  ~  lapce -V
Lapce v0.4.0
 syretia  ~  lapce -w
2024-04-30T05:50:30.722961Z ERROR lapce_core::language: Encountered QueryError { row: 48, column: 3, offset: 520, message: "expansion_flags", kind: NodeType } while trying to construct HighlightConfiguration for Bash

Syntax highlighting doesn't seem to do anything for shell scripts; they display the same as a plain text file would.

Maybe the fix from this PR would work? #1769