Skip to content

Commit 75cebef

Browse files
committed
added setting pico-8_auto_lowercase to disable auto-lowercase
1 parent 4f9b74a commit 75cebef

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

PICO-8.sublime-settings

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"line_padding_bottom": 1,
99
"line_padding_top": 1,
1010
"highlight_line": true,
11-
"pico-8_path": "undefined"
11+
"pico-8_path": "undefined",
12+
"pico-8_auto_lowercase": true
1213
}

pico_on_save.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ class PicoOnSave(sublime_plugin.EventListener):
1111
def on_pre_save(self, view):
1212
syntax = view.settings().get("syntax")
1313
if "PICO-8" in syntax:
14-
view.run_command("pico_to_lower")
14+
if view.settings().get("pico-8_auto_lowercase", True):
15+
view.run_command("pico_to_lower")

0 commit comments

Comments
 (0)