Skip to content

Commit

Permalink
try js for code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmck-code committed Jan 26, 2024
1 parent 8e791b6 commit 826c10b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 826c10b

Please sign in to comment.