highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.3k stars 3.52k forks source link

(C#) `file` keyword/accessibility modifier isn't highlighted #4050

Open Arthri opened 1 month ago

Arthri commented 1 month ago

Describe the issue The file accessibility modifier is left unhighlighted when applied to top-level types

Which language seems to have the issue? C#

Are you using highlight or highlightAuto? highlight

...

Sample Code to Reproduce

file class K {}
public class K {}

Highlight.js demo

Expected behavior The file class keyword shares the same color as other accessibility modifiers such as public and private

Additional context None