From 826c10bb516983ed17c0b813a7b60641be33eb32 Mon Sep 17 00:00:00 2001 From: Tom McKeesick Date: Fri, 26 Jan 2024 23:21:09 +1100 Subject: [PATCH] try js for code formatting --- .../20240126_cs_surf_-_toggle_all_saveloc_keybinds.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/articles/20240126_cs_surf_-_toggle_all_saveloc_keybinds/20240126_cs_surf_-_toggle_all_saveloc_keybinds.md b/articles/20240126_cs_surf_-_toggle_all_saveloc_keybinds/20240126_cs_surf_-_toggle_all_saveloc_keybinds.md index 88c76e5..39f4ca0 100644 --- a/articles/20240126_cs_surf_-_toggle_all_saveloc_keybinds/20240126_cs_surf_-_toggle_all_saveloc_keybinds.md +++ b/articles/20240126_cs_surf_-_toggle_all_saveloc_keybinds/20240126_cs_surf_-_toggle_all_saveloc_keybinds.md @@ -61,7 +61,7 @@ So, my aim is My solution relies on "one weird trick™", but first it's easier to build up the required cfg files for the enable/disable actions. - `surf_savelog.cfg` - ```json + ```javascript // This file contains all SurfTimer saveloc keybinds // set teleport location @@ -79,7 +79,7 @@ My solution relies on "one weird trick™", but first it's easier to build up th ``` - `surf_nosaveloc.cfg` - ```json + ```javascript // This file _disables_ all SurfTimer saveloc keybinds // set teleport location @@ -112,7 +112,7 @@ This can be used for a simple toggle like I've done here, but can also be used t After creating the two CFG files above^, I have the following section in my `surf_online.cfg` config file -```json +```javascript // saveloc (bind by default) exec surf_saveloc.cfg; alias savelocon "exec surf_saveloc.cfg; alias saveloc savelocoff";