Skip to content

Commit ef0d431

Browse files
committed
Add stylesheet to the valid types list
1 parent 7d499c3 commit ef0d431

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# intellij-runescript Changelog
22

33
## [Unreleased]
4-
- Add support for long numeric type.
4+
- Add support for `long` numeric type.
5+
- Add `stylesheet` to the valid types list.
56

67
## [1.4.1] - 2023-10-16
78

src/main/kotlin/io/runescript/plugin/ide/config/RsConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ object RsConfig {
5656
"dbcolumn",
5757
"player_uid",
5858
"stringvector",
59+
"stylesheet",
5960
// Types only for the .op file
6061
"hook",
6162
"varphook",

src/main/kotlin/io/runescript/plugin/lang/psi/type/RsPrimitiveType.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ enum class RsPrimitiveType(val literal: String, val referencable: Boolean = true
4343
DBCOLUMN("dbcolumn"),
4444
PLAYER_UID("player_uid"),
4545
STRINGVECTOR("stringvector"),
46+
STYLESHEET("stylesheet"),
4647

4748
// Non-Referencable types
4849
PARAM("param", referencable = false),

0 commit comments

Comments
 (0)