Persist window paths

This commit is contained in:
Gregory Schier
2023-10-28 21:23:46 -07:00
parent cca8d97d63
commit 30e7f7ccfe
5 changed files with 38 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import { w } from '@tauri-apps/api/clipboard-79413165';
const openTag = '${[ ';
const closeTag = ' ]}';
export interface TwigCompletionOption {
interface TwigCompletionOption {
name: string;
}

View File

@@ -13,7 +13,9 @@ class PlaceholderWidget extends WidgetType {
}
toDOM() {
const elt = document.createElement('span');
elt.className = `placeholder-widget ${!this.isExistingVariable ? 'placeholder-widget-error' : ''}`;
elt.className = `placeholder-widget ${
!this.isExistingVariable ? 'placeholder-widget-error' : ''
}`;
elt.textContent = this.name;
return elt;
}