Add missing emacs entry in UI. (#5351)

This commit is contained in:
cornmander 2025-08-01 10:40:05 -04:00 committed by GitHub
parent dc9f17bb4a
commit e126d2fcd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 14 deletions

View File

@ -17,29 +17,23 @@ export interface EditorDisplay {
}
export const EDITOR_DISPLAY_NAMES: Record<EditorType, string> = {
zed: 'Zed',
cursor: 'Cursor',
emacs: 'Emacs',
neovim: 'Neovim',
vim: 'Vim',
vscode: 'VS Code',
vscodium: 'VSCodium',
windsurf: 'Windsurf',
cursor: 'Cursor',
vim: 'Vim',
emacs: 'Emacs',
neovim: 'Neovim',
zed: 'Zed',
};
class EditorSettingsManager {
private readonly availableEditors: EditorDisplay[];
constructor() {
const editorTypes: EditorType[] = [
'zed',
'vscode',
'vscodium',
'windsurf',
'cursor',
'vim',
'neovim',
];
const editorTypes = Object.keys(
EDITOR_DISPLAY_NAMES,
).sort() as EditorType[];
this.availableEditors = [
{
name: 'None',