diff --git a/src/main.ts b/src/main.ts index 75970c5..1337b37 100644 --- a/src/main.ts +++ b/src/main.ts @@ -283,6 +283,9 @@ export default class Markpilot extends Plugin { } updateChatView() { + // TODO: + // This does not fully update the chat view. + // For example if anything becomes stale in the fetcher closure, it will not be updated. if (this.settings.chat.enabled) { this.activateView(); } else { diff --git a/styles.css b/styles.css index 343c21d..ae3b877 100644 --- a/styles.css +++ b/styles.css @@ -1,13 +1,21 @@ -/* Hide Unicode math symbols displayed by Rehype's KaTex plugin */ -.katex-html { - display: none; -} +/************************************************************/ +/* Inline completions */ +/************************************************************/ /* Show inline completions text with less opacity */ .markpilot-completions { opacity: 0.5; } +/************************************************************/ +/* Chat view */ +/************************************************************/ + +/* Hide Unicode math symbols displayed by Rehype's KaTex plugin */ +.katex-html { + display: none; +} + .markpilot-chat-root { display: flex; flex-direction: column;