Skip to content

Commit

Permalink
Added command mode to all language headers to prevent them being acti…
Browse files Browse the repository at this point in the history
…ve in sleep mode (#569)
  • Loading branch information
AndreasArvidsson authored Aug 27, 2021
1 parent b3017da commit 4ac7ba1
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 20 deletions.
6 changes: 4 additions & 2 deletions lang/batch/batch.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.batch
mode: user.auto_lang
mode: command
and mode: user.batch
mode: command
and mode: user.auto_lang
and code.language: batch
-
#tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/c/c.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.c
mode: user.auto_lang
mode: command
and mode: user.c
mode: command
and mode: user.auto_lang
and code.language: c
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/csharp/csharp.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.csharp
mode: user.auto_lang
mode: command
and mode: user.csharp
mode: command
and mode: user.auto_lang
and code.language: csharp
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/javascript/javascript.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.javascript
mode: user.auto_lang
mode: command
and mode: user.javascript
mode: command
and mode: user.auto_lang
and code.language: javascript
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/python/python.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.python
mode: user.auto_lang
mode: command
and mode: user.python
mode: command
and mode: user.auto_lang
and code.language: python
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/r/r.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.r
mode: user.auto_lang
mode: command
and mode: user.r
mode: command
and mode: user.auto_lang
and code.language: r
-
# TODO: functions
Expand Down
6 changes: 4 additions & 2 deletions lang/ruby/ruby.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.ruby
mode: user.auto_lang
mode: command
and mode: user.ruby
mode: command
and mode: user.auto_lang
and code.language: ruby
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/talon/talon.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.talon
mode: user.auto_lang
mode: command
and mode: user.talon
mode: command
and mode: user.auto_lang
and code.language: talon
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/typescript/typescript.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.typescript
mode: user.auto_lang
mode: command
and mode: user.typescript
mode: command
and mode: user.auto_lang
and code.language: typescript
-
tag(): user.code_operators
Expand Down
6 changes: 4 additions & 2 deletions lang/vimscript/vimscript.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
mode: user.vimscript
mode: user.auto_lang
mode: command
and mode: user.vimscript
mode: command
and mode: user.auto_lang
and code.language: vimscript
-
tag(): user.code_operators
Expand Down

0 comments on commit 4ac7ba1

Please sign in to comment.