mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 09:51:26 +00:00
update view txt
This commit is contained in:
@@ -28,7 +28,7 @@ import 'codemirror/mode/htmlmixed/htmlmixed';
|
|||||||
|
|
||||||
const { isPro, repoID, repoName, filePath, fileName, siteName, enableWatermark, encoding, fileEncodingList, fileExt, isLocked, fileContent, latestContributor, lastModified, isStarred } = window.app.pageOptions;
|
const { isPro, repoID, repoName, filePath, fileName, siteName, enableWatermark, encoding, fileEncodingList, fileExt, isLocked, fileContent, latestContributor, lastModified, isStarred } = window.app.pageOptions;
|
||||||
const options = {
|
const options = {
|
||||||
lineNumbers: true,
|
lineNumbers: false,
|
||||||
mode: Utils.chooseLanguage(fileExt.slice(3, fileExt.length -3)),
|
mode: Utils.chooseLanguage(fileExt.slice(3, fileExt.length -3)),
|
||||||
extraKeys: {'Ctrl': 'autocomplete'},
|
extraKeys: {'Ctrl': 'autocomplete'},
|
||||||
theme: 'default',
|
theme: 'default',
|
||||||
|
Reference in New Issue
Block a user