Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeMirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Moritz Aurel Pascal Schubotz
CodeMirror
Commits
5600b5ed
Commit
5600b5ed
authored
7 years ago
by
KyleMcNutt
Committed by
Marijn Haverbeke
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[shell mode] Add hg and svn as highlighted commands
parent
db794e83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mode/shell/shell.js
+2
-2
2 additions, 2 deletions
mode/shell/shell.js
with
2 additions
and
2 deletions
mode/shell/shell.js
+
2
−
2
View file @
5600b5ed
...
...
@@ -30,9 +30,9 @@ CodeMirror.defineMode('shell', function() {
// Commands
define
(
'
builtin
'
,
'
ab awk bash beep cat cc cd chown chmod chroot clear cp
'
+
'
curl cut diff echo find gawk gcc get git grep kill killall ln ls make
'
+
'
curl cut diff echo find gawk gcc get git grep
hg
kill killall ln ls make
'
+
'
mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh
'
+
'
shopt shred source sort sleep ssh start stop su sudo tee telnet top
'
+
'
shopt shred source sort sleep ssh start stop su sudo
svn
tee telnet top
'
+
'
touch vi vim wall wc wget who write yes zsh
'
);
function
tokenBase
(
stream
,
state
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment