Clean up code style errors I missed previously

This commit is contained in:
Zachary King 2025-01-20 11:04:13 -05:00
parent 19c8056268
commit 53876a2605

View File

@ -172,7 +172,6 @@
v-model="stack.composeYAML"
:dark="false"
:extensions="[oneDarkTheme, yaml()]"
basic
></CodeMirror>
<!-- <prism-editor
@ -252,10 +251,10 @@
</template>
<script>
import CodeMirror from 'vue-codemirror6';
import { yaml as yamlLang } from '@codemirror/lang-yaml';
import { oneDark } from '@codemirror/theme-one-dark';
import { vsCodeDarkPlus } from '@upleveled/theme-vs-code-dark-plus';
import CodeMirror from "vue-codemirror6";
import { yaml as yamlLang } from "@codemirror/lang-yaml";
import { oneDark } from "@codemirror/theme-one-dark";
import { vsCodeDarkPlus } from "@upleveled/theme-vs-code-dark-plus";
import { parseDocument, Document } from "yaml";
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
@ -303,7 +302,11 @@ export default {
const yaml = yamlLang;
const oneDarkTheme = oneDark;
const vsCodeDark = vsCodeDarkPlus;
return { yaml, oneDarkTheme, vsCodeDark };
return {
yaml,
oneDarkTheme,
vsCodeDark
};
},
yamlDoc: null, // For keeping the yaml comments
data() {