aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/codeeditor.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-10-19 09:23:58 +0200
committerGitHub <noreply@github.com>2021-10-19 15:23:58 +0800
commiteaf493be5d01332966f983f6d83ad515cfdec7bf (patch)
tree5aea624ec91246bf83cb167a41ed7c522f0db26f /web_src/js/features/codeeditor.js
parente2a59c57fc1dcaecddc8d8dbf27d551c92dda101 (diff)
downloadgitea-eaf493be5d01332966f983f6d83ad515cfdec7bf.tar.gz
gitea-eaf493be5d01332966f983f6d83ad515cfdec7bf.zip
Update JS dependencies (#17357)
* Update JS dependencies - Upgrade to eslint 8 and add new plugin rules - Adapt to various API changes - Rebuild SVGs * fix webpack warning on license * order options alphabetically Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src/js/features/codeeditor.js')
-rw-r--r--web_src/js/features/codeeditor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/codeeditor.js b/web_src/js/features/codeeditor.js
index f6a50dc8b8..f533ea9d8f 100644
--- a/web_src/js/features/codeeditor.js
+++ b/web_src/js/features/codeeditor.js
@@ -6,11 +6,11 @@ const languagesByExt = {};
const baseOptions = {
fontFamily: 'var(--fonts-monospace)',
fontSize: 14, // https://github.com/microsoft/monaco-editor/issues/2242
+ guides: {bracketPairs: false, indentation: false},
links: false,
minimap: {enabled: false},
occurrencesHighlight: false,
overviewRulerLanes: 0,
- renderIndentGuides: false,
renderLineHighlight: 'all',
renderLineHighlightOnlyWhenFocus: true,
renderWhitespace: 'none',