Skip to content

Commit

Permalink
Add "subrush" to the editors' modes
Browse files Browse the repository at this point in the history
  • Loading branch information
rakivo committed Feb 23, 2025
1 parent 75c3a92 commit 7b8b47f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/rush-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

(eval-and-compile
(defconst rush-keywords
'("rule" "build" "command" "description" "depfile" "phony" "default")))
'("rule" "build" "command" "description" "depfile" "phony" "default" "subrush")))

(defconst rush-highlights
`((,(regexp-opt rush-keywords 'symbols) . font-lock-keyword-face)))
Expand Down
2 changes: 1 addition & 1 deletion editor/rush-mode.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
" rush.vim - Syntax file for rush-lang

" Define keywords
syn keyword rushKeyword rule build command description depfile phony default
syn keyword rushKeyword rule build command description depfile phony default subrush

" Highlight keywords
hi def link rushKeyword Keyword
Expand Down

0 comments on commit 7b8b47f

Please sign in to comment.