Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2132 commits
Select commit Hold shift + click to select a range
c8dac68
Fix use of let in mode file
marijnh Jun 3, 2021
bcd36cb
make getRange(a,b,'') work as expected
Jun 7, 2021
b6bc7bd
[lint addon] Support highlighting lines with errors
lexer2086 Jun 9, 2021
d31bec5
[lint addon] Tweaks to highlightLines option
marijnh Jun 9, 2021
3f09830
[lint addon] Highlight lines with warnings differently
lexer2086 Jun 14, 2021
7058f96
[lint addon] Simplify and optimize removal of line classes
marijnh Jun 14, 2021
e230099
[lint addon] Fix use of let
marijnh Jun 14, 2021
b69f9d9
[lint addon] And an arrow function
marijnh Jun 14, 2021
6b290a4
[manual] Augment eachLine doc
stasoid Jun 15, 2021
8581f70
Add github actions CI script
marijnh Jun 15, 2021
f347fb3
Adjust ci script
marijnh Jun 15, 2021
676b510
[soy mode] Add velog tag
axellew Jun 17, 2021
81ff51f
[soy mode] Add support for {extern and {export extern
iteriani Jun 18, 2021
9b81d0f
Delete trailing whitespace
marijnh Jun 18, 2021
bac5a2d
[themes] Add styling for vim-style cursors to more themes
ps173 Jun 19, 2021
4c6759e
[themes] Make sure fat cursor backgrounds are specialized for .cm-fat…
marijnh Jun 21, 2021
434d3e8
Mark release 5.62.0
marijnh Jun 21, 2021
76bd2ca
Add support for const and export const.
axellew Jun 21, 2021
129ac80
[cobol mode] Highlight single or double quote inside single quotes as…
KQLYYY Jun 23, 2021
397f8af
[vim bindings] More robust matching of upper-case characters
WillHernandez Jun 25, 2021
02fbce0
[vim bindings] Lift creation of upperCaseChars out of function
marijnh Jun 25, 2021
a67c752
[java mode] Highlighted 'var' keyword
WillHernandez Jun 28, 2021
ddbdce0
[python mode] Add python 3 string prefix `rb` and `rf'
qria Jun 29, 2021
70c615c
[lint addon] Make sure options meant for the lint addon aren't passed…
marijnh Jun 30, 2021
bf786a0
[soy mode] Add javaimpl and jsimpl
iteriani Jul 5, 2021
579e120
[show-hint addon] Set ARIA-related attributes for better screen reade…
marijnh Jul 5, 2021
f6934da
Improve folding addon performance
Billiam Jul 20, 2021
1354f82
Add artcompiler sponsor link
marijnh Jul 19, 2021
cf6cc38
[yaml-frontmatter mode] Treat the start of the document as being in t…
marijnh Jul 20, 2021
68d3399
[search addon] Make compatible with Trusted Types
vrana Jul 20, 2021
3362178
[search addon] Further simplify dialog building, fix bug in replace d…
marijnh Jul 20, 2021
10510ba
[vim bindings] Make compatible with Trusted Types
vrana Jul 20, 2021
50aa8c0
Mark version 5.62.1
marijnh Jul 20, 2021
5180d1e
[lint addon] Fix a regression that broke the getAnnotations option
marijnh Jul 21, 2021
d270552
Mark version 5.62.2
marijnh Jul 21, 2021
3285181
[css] add 'grey' colors and missing keywords
tophf Aug 3, 2021
49a7fc4
[mode/meta] Add cbl extension for Cobol
marijnh Aug 9, 2021
9692aa1
[julia mode] Improve macros and symbols matching
p-zubieta Aug 11, 2021
fab0110
Set attribute translate="no" to avoid automatic translation
aokiken Aug 14, 2021
12c5ae1
Fix typo in test
marijnh Aug 14, 2021
d3f33a2
[merge addon] Allow merge editor buttons to be used with keyboard
SachinGupta21 Aug 17, 2021
2b9b089
Give fat cursors the width of the character after them
krydos Aug 18, 2021
b108788
Add word break tests to regexp in previous patch
marijnh Aug 18, 2021
de5caed
Remove semicolons
marijnh Aug 18, 2021
d794702
[emacs bindings] Fix by-page scrolling bindings
a-stewart Aug 19, 2021
070b1ba
Mark version 5.62.3
marijnh Aug 20, 2021
7f35cf7
Smooth out scroll artifacts produced by line height changes
marijnh Aug 26, 2021
22e9d4f
Fix reentrancy issue in contenteditable selection updates
marijnh Aug 30, 2021
8cc5d95
Add prisma sponsor link
marijnh Sep 9, 2021
8a25b23
Fix 0-width fat cursor at EOL
alur Sep 10, 2021
ad1de62
[xml mode] Lookup HTML tag properties in a cast-insensitive way
marijnh Sep 14, 2021
eff5c9e
[xml mode] Fix crash when tagName is null
marijnh Sep 15, 2021
ceb65a6
[solarized theme] Remove text-shadow
johnspiegel Sep 17, 2021
c3d3d47
[vim] add support for guu
nightwing Sep 16, 2021
73a5c21
Mark version 5.63.0
marijnh Sep 20, 2021
3ddd828
Use WheelEvent.deltaMode when available and 0
marijnh Sep 29, 2021
ccdcd15
Mark version 5.63.1
marijnh Sep 29, 2021
47e8505
Fix invalid variable reference
marijnh Sep 29, 2021
e22cfa7
[nsis mode] Add NSIS 3.08 commands (#6791)
idleberg Oct 7, 2021
5f8d6c4
[vim] remove hack for handling $ in substitute pattern
nightwing Sep 21, 2021
145c3e2
Add "min-height: 1em" to hiddenTextarea
iszk1215 Oct 8, 2021
7ca2502
Mark version 5.63.2
marijnh Oct 11, 2021
0e49600
Mark version 5.63.3
marijnh Oct 12, 2021
5ab9f71
consistent way to emulate events in vim test
nightwing Oct 12, 2021
5ac7b8a
Add <C-u> to delete back a line
jez Oct 13, 2021
67bb88e
[css mode] Add [video-]dynamic-range media-query support
willcassella Oct 21, 2021
367b5e7
Avoid reading lineView.rest when it is null in mapFromLineView
marijnh Oct 22, 2021
eec2c6f
[sql mode] Add SparkSQL builtins from current spec
cers Oct 25, 2021
e67ca32
[assembly] Added 8-bit registers
AHOHNMYC Oct 25, 2021
27be898
[vim] simpler way of drawing cursor
nightwing Sep 21, 2021
98d2974
[vim] always use 'new Pos' to allow converting it into a class
nightwing Oct 28, 2021
c91fc40
[vim] call refresh in scroll tests for implementations with delayed d…
nightwing Oct 28, 2021
eb6784c
[vim] clear highlight timeout when exiting vim mode
nightwing Oct 28, 2021
475069f
[vim] workaround for cm6 not moving cursor after insertions
nightwing Oct 28, 2021
91a1272
[php mode] Add keywords
ondrejmirtes Nov 8, 2021
f9826b4
[sql mode] Correct groupby_concat to group_concat in MariaDB dialect
marijnh Nov 9, 2021
aabc6dd
Reset native scrollbar when hiding it
marijnh Nov 10, 2021
c194162
Fix duplicated word in manual
marijnh Nov 15, 2021
8780835
[soy mode] Fix bad matches of map, record, from, as, import
axellew Nov 17, 2021
d237000
Mark release 5.64.0
marijnh Nov 20, 2021
e308fb7
[scheme mode] Fix handling of escaped symbols
jcubic Nov 22, 2021
6c439cd
[nsis mode] fix variable pattern
idleberg Dec 4, 2021
c462dce
[nsis mode] fix defines pattern
idleberg Dec 4, 2021
ec5939f
[nsis mode] fix language strings pattern
idleberg Dec 4, 2021
a477931
[vim] implement g0 g$ g<Arrow>
nightwing Dec 4, 2021
514c684
[nsis mode] improve variable pattern
idleberg Dec 4, 2021
793c9e6
[vim bindings] let->var
marijnh Dec 4, 2021
b7bae95
[factor mode] Fix incorrect lineComment value
Kacarott Dec 9, 2021
aaba815
[brace-fold addon] Fix confusion when there are both braces and brack…
marijnh Dec 13, 2021
812eef0
Remove inline logo data from the front page HTML
marijnh Dec 15, 2021
d60fff6
Mark release 5.65.0
marijnh Dec 20, 2021
7b2f2ce
[sql mode] Highlight types as types, client commands as builtins
marijnh Dec 21, 2021
0d48b56
[css and stylus modes] Add conic-gradient keywords
nt1m Dec 24, 2021
3e5b5e9
[javascript mode] Fix bad context tracking for brackets at end of line
marijnh Dec 27, 2021
8d3bac4
[lint demo] Upgrade jshint
marijnh Dec 30, 2021
ec9a108
Add a z-index to CodeMirror-scroll to optimize drawing
marijnh Jan 1, 2022
621325d
[nsis] allow case-insensitive syntax
idleberg Jan 6, 2022
7e0cd1d
Properly access line widgets when computing coordinates in continued …
marijnh Jan 6, 2022
42917b3
[perl mode] Allow underscore separators in numbers
marijnh Jan 12, 2022
04323d0
[brace-fold addon] Add a brace-paren folding helper
marijnh Jan 18, 2022
191ae47
[fortran mode] Fix named operator regexp
marijnh Jan 19, 2022
b4a40b3
[mllike mode] Don't treat (*) as a comment
marijnh Jan 20, 2022
b9e6190
Mark version 5.65.1
marijnh Jan 20, 2022
c65a95d
[cypher mode] Fix broken handling of punctuation
marijnh Jan 27, 2022
1a511c3
Add github sponsor link to FUNDING.yml
marijnh Jan 28, 2022
64b0dae
[clike mode] Support triple-quoted string in Java mode
marijnh Jan 30, 2022
8f42af2
Fixed escaping in double-quote regex string
jbaicoianu Jan 31, 2022
18c12c9
Move way from Google Fonts
marijnh Feb 3, 2022
3bfc1ae
Allow mapping <Esc> in vim normal mode
MrQubo Feb 7, 2022
17634c2
[addon/edit/continuelist] Check mode.name AND helperType for "markdown"
Geist-zz Feb 11, 2022
7f70233
Mark version 5.65.2
marijnh Feb 21, 2022
a3e9c53
[groovy mode] Highlight interpolated variables without braces
marijnh Mar 25, 2022
9545666
added tilepieces
dinuovos Apr 1, 2022
08ec7c2
[merge addon] Add aria-label for merge editor buttons and make them t…
sach-gupta-21 Apr 7, 2022
b4112c6
Make sure WeakSet.add isn't called with null
marijnh Apr 11, 2022
16438e1
Fix Java textblock syntax
kazk Apr 13, 2022
97dd773
Mark version 5.65.3
marijnh Apr 20, 2022
d053a59
Remove some unimplement/used appearance keywords.
ziransun Apr 26, 2022
3c4877a
[julia mode] Recognize === and !== operators
marijnh Apr 28, 2022
6597cc2
Add Rockset sponsor logo
marijnh Apr 30, 2022
c955a0f
[spaqrl mode] Fix parsing of veriables after operators
MarkBoyes May 6, 2022
d81a316
fix the paste operation when the cell is unfocused
richard-fung-db May 13, 2022
326dfc1
Mark version 5.65.4
marijnh May 20, 2022
e71f684
[julia mode] Properly tokenize \!==, ===, and = operators
marijnh May 21, 2022
52b26e8
[comment addon] Make sure whitespace on empty lines is preserved
lukehaas May 26, 2022
e024ab4
[search addon] Add a proper label to the search field
kudelek May 28, 2022
17897ea
Fix code style for #6920
marijnh May 28, 2022
1c58686
Work around Chrome 102 wheel scrolling bug
marijnh May 30, 2022
b6798cc
Mark version 5.65.5
marijnh May 30, 2022
e6f456f
[show-hint addon] Make sure the tooltip is placed to the left of the …
benjaminr-ps May 31, 2022
898004f
Use style.visibility to hide zero-width scrollbar
marijnh Jun 2, 2022
70572f1
[ruby mode] Don't add extra indentation on 'then'
marijnh Jun 3, 2022
ff35dd5
Avoid firing beforeCursorEnter twice for cursor selection
marijnh Jun 6, 2022
ad1a89a
Update version banner, remove sponsor links
marijnh Jun 8, 2022
7f488eb
Adjust website and github links to include '5'
marijnh Jun 8, 2022
2ca1993
[swift mode] Support for Structured Concurrency keywords
yakovmanshin Jun 13, 2022
f5e456e
Fix link to v6
jdbruxelles Jun 16, 2022
511a072
[vim bindings] Correct zb and z- key bindings being the wrong way round
timdown Jun 22, 2022
64dfb17
[vim bindings] Fix zb and z- scrolling with wrapped lines
timdown Jun 22, 2022
5bc5321
[sparql mode] Add INTO keyword
MarkBoyes Jun 23, 2022
e94848f
Make sure v5 releases don't override latest on npm
masad-frost Jun 24, 2022
c722d1b
[css mode] Fix the char ranges identifying valid colors
erik-krogh Jun 24, 2022
e7e1c87
Mark version 5.65.6
marijnh Jun 20, 2022
5adf594
Fix some remaining links to old repository
marijnh Jun 20, 2022
571171d
Only apply scroll hack on Chrome version 102, not newer ones
marijnh Jun 27, 2022
384438b
[vim bindings] Add sentence option for around/inner text object opera…
kometenstaub Jun 27, 2022
8216951
[go mode] Add new builtin types `any` and `comparable`
fzipp Jun 30, 2022
2e50c90
[elm mode] Add support for line comments
pontusgranstrom Jul 1, 2022
52dc640
Delete trailing whitespace
marijnh Jul 1, 2022
a6fdd56
[tern addon] Make sure dialog text is HTML escaped
SuprDewd Jul 9, 2022
4ccf2bd
[runmode addon] Use textContent instead of innerHTML to clear elements
SuprDewd Jul 9, 2022
d77d0b8
[sql mode] Document other support values of sql modes
verhovsky Jul 12, 2022
482b7a4
[nsis mode] add Target command
idleberg Jul 12, 2022
c401c29
[sql mode] Support empty number literals
verhovsky Jul 13, 2022
638951e
[sql mode] Trino SQL
verhovsky Jul 14, 2022
c651c21
[vim bindings] Use code from codemirror-vim
nightwing Jul 19, 2022
96010fc
Don't use global document/window
marijnh Jul 19, 2022
02abcd2
Fix previous patch
marijnh Jul 19, 2022
feed828
Add keymap/vim.js to .gitignore
marijnh Jul 19, 2022
139983f
Upgrade blint
marijnh Jul 19, 2022
24c3a06
Fix doc(cm) to actually return a document
marijnh Jul 19, 2022
fbe87a2
Link codemirror-vim from vim demo
marijnh Jul 19, 2022
9b34840
Fix for new function name clashing with local variable.
Me1000 Jul 19, 2022
7a2106a
Add '5' to title of front and manual pages
marijnh Jul 20, 2022
dc7e324
Mark version 5.65.7
marijnh Jul 20, 2022
fc0440b
Include direction override and isolate characters in default specialC…
marijnh Jul 22, 2022
7710c7c
Fix bug in input resetting during composition
marijnh Jul 27, 2022
7ac872b
[foldgutter addon] Recompute fold markers on mode change
marijnh Jul 28, 2022
84bb7bf
[python mode] Add exec and print to hintWords
marijnh Aug 1, 2022
9670ccf
Add missing closing paren
marijnh Aug 1, 2022
3b15f70
[real-world uses] Add Cloud Commander
coderaiser Aug 8, 2022
9232cb3
[merge addon] Fix IE10 compatibility
marijnh Aug 11, 2022
2114147
Mark version 5.65.8
marijnh Aug 20, 2022
b7460f6
[jinja2 mode] Support line statements
vled12 Aug 26, 2022
0ade73a
[jinja2 mode] Remove trailing whitespace
marijnh Aug 26, 2022
f143048
[jinja2 mode] Remove tab
marijnh Aug 26, 2022
ccacc38
[show-hint addon] Resize popup if it doesn't fit in the viewport
marijnh Aug 26, 2022
264ba93
[swift mode] Fix tokenizing of block comments
marijnh Sep 6, 2022
0f41e51
Add clip-path to wrapper element on Chrome 105 to work around browser…
marijnh Sep 8, 2022
ec72109
[nsis mode] add ${Case} variants
idleberg Sep 8, 2022
e5071eb
Mark version 5.65.9
marijnh Sep 20, 2022
e1fe210
[sparql mode] Identify all characters in prefixes
MarkBoyes Oct 6, 2022
9296326
[javascript mode] Fix recognition of class property keywords before p…
marijnh Oct 26, 2022
2e3df70
[pegjs mode] Remove useless lines
marijnh Nov 15, 2022
407d1f1
[sql-hint addon] Make completion work when SQL isn't the outermost mode
marijnh Nov 15, 2022
742627a
[sql-hint addon] Fix retrieving of parser config
marijnh Nov 15, 2022
fe0bc6d
Mark version 5.65.10
marijnh Nov 20, 2022
349c8a6
[clike mode] Add new C# keywords
DoctorKrolic Nov 29, 2022
7814ddf
[sql-hint addon] Reindent
marijnh Dec 8, 2022
fbe612a
[sql-hint addon] Fix getting keywords from plain sql mode
marijnh Dec 8, 2022
d122e55
[sql mode] Always enable tokenizing of dot-prefixed names
marijnh Dec 8, 2022
dd931d8
Respect spellcheck/autocorrect/autocapitalize options in textarea inp…
marijnh Dec 9, 2022
d4d7d3c
Use autocorrect and autocapitalize value of on instead of empty string
josephdpurcell Dec 7, 2022
f006b57
Add keyboard spacebar interactive for merge editor buttons
sahilmahnasernow Dec 13, 2022
f124e29
Mark version 5.65.11
marijnh Dec 20, 2022
d4a6699
[python mode] Add match/case to py3 keywords
Captain-Quack Dec 23, 2022
9e864a1
Remove trailing whitespace
marijnh Dec 23, 2022
34b8435
Update maintainer email
marijnh Jan 24, 2023
58f5925
[bespin theme] Increase selection contrast
marijnh Feb 2, 2023
659df46
[python mode] Add new built-in functions
Captain-Quack Feb 14, 2023
6fc81b1
Mark version 5.65.12
marijnh Feb 20, 2023
658bff7
[sql mode] Make sure 'with' is highlighted as a keyword for PostgreSQL
marijnh Feb 24, 2023
6a70589
[dart mode] Add keywords
domesticmouse Mar 2, 2023
c17c5f0
[dart mode] Add `inline` keyword for inline classes
domesticmouse Mar 8, 2023
9974ded
[clike mode] Properly match character literals in Scala mode
marijnh Mar 16, 2023
330a06d
Mark version 5.65.13
marijnh Apr 27, 2023
480a35d
Fix error output in release upload script
marijnh Apr 27, 2023
1e58b28
[lint addon] Remove confused annotation filtering
marijnh Jun 29, 2023
a0854c7
[nsis mode] Add !assert command
idleberg Jul 3, 2023
69e38f5
[java mode] Fix indentation after class extends clause
marijnh Jul 15, 2023
82ce3d2
Mark version 5.65.14
marijnh Jul 17, 2023
370f7c4
[lint addon] Make sure tooltips don't stick out of the window width
marijnh Jul 21, 2023
817ea7b
Fix install example in readme
marijnh Jul 31, 2023
4ea5f46
[yaml mode] Fix exponential regexp
marijnh Aug 9, 2023
854ee51
Mark version 5.65.15
marijnh Aug 29, 2023
638abda
[go mode] Allow underscore separators in numbers
marijnh Sep 1, 2023
ee6a1d2
[dart mode] Remove support for inline keyword
parlough Sep 10, 2023
53faa33
[dart mdoe] Fix code example to compile and run with modern Dart vers…
parlough Sep 10, 2023
3bb9e7a
Ref actions by commit SHA in ci.yml
gabibguti Sep 21, 2023
2329ebb
Link to CM6 in readme
marijnh Oct 18, 2023
bcb8626
[jsx mode] Support trailing-comma generics syntax in JSX with TS
lukehaas Oct 25, 2023
adc4282
[jsx mode] Narrow test for trailing-comma generic
marijnh Oct 27, 2023
676fc52
Make active element tracking work inside closed shadow roots
pavelfeldman Nov 11, 2023
e84384b
Mark version 5.65.16
marijnh Nov 20, 2023
0c8456c
[duotone theme] Improve contrast on comment tokens
marijnh Feb 29, 2024
b7b1bbc
[crystal mode] Fix an infinite loop in tokenizing of heredoc strings
marijnh Apr 3, 2024
5a96634
Add regression test for issue #4641
davidfstr Apr 19, 2024
fec380d
Add regression test for issue #1975
davidfstr Apr 22, 2024
064c9a8
Mark version 5.65.17
marijnh Jul 20, 2024
13eeec1
[clojure mode] Enable brace folding
garug Aug 1, 2024
48d159a
Remove repeated words in comments
pkucode Aug 15, 2024
dd44c94
[groovy mode] Stop parsing interpolated variable names when hitting w…
marijnh Aug 28, 2024
e1b414d
[dart mode] Support digit separators
srawlins Sep 5, 2024
81d0049
Drop realworld.html page
marijnh Sep 18, 2024
998f328
Mark version 5.65.18
marijnh Sep 20, 2024
deee5c0
[gherkin mode]: Add support for Rule Example keywords
Noormasarwa Oct 22, 2024
b60e456
[pascal mode] Make keywords case-insensitive
marijnh Dec 5, 2024
064ea16
[theme demo] Fix dropdown losing choice on solarized light / dark
cben Mar 11, 2019
187450a
Upgrade actions/cache to v4
marijnh Mar 11, 2025
eed51d0
[sql mode] Support quoted identifier for PostgreSQL
vrana Mar 16, 2025
8a5dcbb
Mark version 5.65.19
marijnh Mar 20, 2025
1df33b7
clip-path issue fixed in Chrome 106
zaiddabaeen Mar 31, 2025
98e86d1
[gas mode] Define text/x-gas mime type
marijnh Jul 18, 2025
9f1450d
[show-hint addon] Fix incorrectly applied offset
marijnh Aug 10, 2025
b0c45cf
Mark version 5.65.20
marijnh Aug 10, 2025
8769110
[kotlin mode]: Fix unsigned long literal token
flofriday Aug 21, 2025
be271d3
[clike mode] Correct a typo
Yewzir Sep 16, 2025
78555dd
Note AI code policy in CONTRIBUTING.md
marijnh Dec 31, 2025
cc753ef
Use Object.prototype.hasOwnProperty in copyObj
joejoseph00 Feb 5, 2026
24ee74b
Mark version 5.65.21
marijnh Feb 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
16 changes: 8 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*.txt text
*.js text
*.html text
*.md text
*.json text
*.yml text
*.css text
*.svg text
*.txt text eol=lf
*.js text eol=lf
*.html text eol=lf
*.md text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.css text eol=lf
*.svg text eol=lf
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
patreon: marijn
custom: ['https://www.paypal.com/paypalme/marijnhaverbeke', 'https://marijnhaverbeke.nl/fund/']
github: marijnh
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!--
Do not use this bug tracker for questions. We have a forum (https://discuss.codemirror.net) for those.

In order to get us to look at something, you need to make it easy for us to understand what you are doing and what went wrong. When possible, a code example that demonstrates the problem helps a lot. If there's any chance at all that a problem is related to the browser, include information about which browser(s) you tested with.
-->
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!--
NOTE: We are not accepting pull requests for new modes or addons. Please put such code in a separate repository, and release them as stand-alone npm packages. See for example the [Elixir mode](https://github.com/ianwalter/codemirror-mode-elixir).

Also pull requests that rewrite big chunks of code or adjust code style to your own taste are generally not welcome. Make your changes in focused steps that fix or improve a specific thing.
-->
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: main
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build and test
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0

- uses: actions/cache@v4
with:
path: '/home/runner/work/codemirror/codemirror5/node_modules'
key: ${{ runner.os }}-modules

- run: npm install

- run: npm test
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
/node_modules
/npm-debug.log
/package-lock.json
/keymap/vim.js
/test*.html
.tern-*
*~
*.swp
.idea
*.iml
/lib/codemirror.js
/addon/runmode/runmode-standalone.js
/addon/runmode/runmode.node.js
**/.DS_Store
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
/mode/*/*.html
/mode/index.html
.*
/bin/authors.sh
/bin/lint
/bin/release
/bin/upload-release.js
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

Loading