Miks Ramāns

Results 7 comments of Miks Ramāns

I didn't find a suitable color from the palette for `LspReference*`. I needed one more shade between `background_light` (used for CursorRow) and `medium_gray` (Cursor). Using `hard` intensity I used a...

I believe you might be able to get file type like this: ``` ... var fileType = JavaScript.eval("_HTML5FileExchange.fileType", true) var fileContent = JavaScript.eval("_HTML5FileExchange.result", true) ... ```

I have not tried this with other files apart from images. I'll find some time this week to look into it, but meanwhile you can try to extract file extension...

Checking extension yourself or even validating the contents of the file might be a better solution when dealing with text files. This is from JavaScript documentation: > Note: Based on...

Look at [this](/Pukkah/HTML5-File-Exchange-for-Godot/tree/batch-upload-by-PhantomPharaoh) branch for multi upload.

This would require adding a custom tree-sitter query in `after/queries/css/highlights.scm` ```*.scm ; extends (declaration (plain_value) @highlight) ``` Where `@highlight` is the desired highlight.

Does GDScript qualify as a language? Asking for a friend..