mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
ckeditor 5.60.0
This commit is contained in:
9
libraries/codemirror/mode/sass/sass.js
vendored
9
libraries/codemirror/mode/sass/sass.js
vendored
@@ -231,7 +231,7 @@ CodeMirror.defineMode("sass", function(config) {
|
||||
}
|
||||
|
||||
if(ch === "@"){
|
||||
if(stream.match(/@extend/)){
|
||||
if(stream.match('@extend')){
|
||||
if(!stream.match(/\s*[\w]/))
|
||||
dedent(state);
|
||||
}
|
||||
@@ -445,7 +445,12 @@ CodeMirror.defineMode("sass", function(config) {
|
||||
|
||||
indent: function(state) {
|
||||
return state.scopes[0].offset;
|
||||
}
|
||||
},
|
||||
|
||||
blockCommentStart: "/*",
|
||||
blockCommentEnd: "*/",
|
||||
lineComment: "//",
|
||||
fold: "indent"
|
||||
};
|
||||
}, "css");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user