Add missing emacs entry in UI. (#5351)
This commit is contained in:
parent
dc9f17bb4a
commit
e126d2fcd9
|
@ -17,29 +17,23 @@ export interface EditorDisplay {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const EDITOR_DISPLAY_NAMES: Record<EditorType, string> = {
|
export const EDITOR_DISPLAY_NAMES: Record<EditorType, string> = {
|
||||||
zed: 'Zed',
|
cursor: 'Cursor',
|
||||||
|
emacs: 'Emacs',
|
||||||
|
neovim: 'Neovim',
|
||||||
|
vim: 'Vim',
|
||||||
vscode: 'VS Code',
|
vscode: 'VS Code',
|
||||||
vscodium: 'VSCodium',
|
vscodium: 'VSCodium',
|
||||||
windsurf: 'Windsurf',
|
windsurf: 'Windsurf',
|
||||||
cursor: 'Cursor',
|
zed: 'Zed',
|
||||||
vim: 'Vim',
|
|
||||||
emacs: 'Emacs',
|
|
||||||
neovim: 'Neovim',
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class EditorSettingsManager {
|
class EditorSettingsManager {
|
||||||
private readonly availableEditors: EditorDisplay[];
|
private readonly availableEditors: EditorDisplay[];
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
const editorTypes: EditorType[] = [
|
const editorTypes = Object.keys(
|
||||||
'zed',
|
EDITOR_DISPLAY_NAMES,
|
||||||
'vscode',
|
).sort() as EditorType[];
|
||||||
'vscodium',
|
|
||||||
'windsurf',
|
|
||||||
'cursor',
|
|
||||||
'vim',
|
|
||||||
'neovim',
|
|
||||||
];
|
|
||||||
this.availableEditors = [
|
this.availableEditors = [
|
||||||
{
|
{
|
||||||
name: 'None',
|
name: 'None',
|
||||||
|
|
Loading…
Reference in New Issue