Skip to content

Commit 7abf05f

Browse files
committed
feat:
fixed publisher and extension naming
1 parent 9a3e523 commit 7abf05f

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"publisher": "wrath-codes",
3-
"name": "nvim_ui_plus",
2+
"publisher": "wrathcodes",
3+
"name": "nvim-ui-plus",
44
"displayName": "Nvim UI+",
55
"version": "0.0.1",
66
"private": true,
@@ -30,20 +30,20 @@
3030
"res/*"
3131
],
3232
"engines": {
33-
"vscode": "^1.97.0"
33+
"vscode": "^1.98.0"
3434
},
3535
"activationEvents": [
3636
"onStartupFinished"
3737
],
3838
"contributes": {
3939
"commands": [
4040
{
41-
"command": "nvim_ui_plus.setMode",
41+
"command": "nvim-ui-plus.setMode",
4242
"title": "Set Neovim Mode",
4343
"when": "false"
4444
},
4545
{
46-
"command": "nvim_ui_plus.showCurrentMode",
46+
"command": "nvim-ui-plus.showCurrentMode",
4747
"title": "Check Current Neovim Mode",
4848
"category": "Neovim UI+",
4949
"when": "false"
@@ -52,87 +52,87 @@
5252
"configuration": {
5353
"title": "Neovim UI+",
5454
"properties": {
55-
"nvim_ui_plus.enabled": {
55+
"nvim-ui-plus.enabled": {
5656
"type": "boolean",
5757
"default": true,
5858
"description": "Enable Neovim UI+ theming"
5959
},
60-
"nvim_ui_plus.uiElements.editorCursor": {
60+
"nvim-ui-plus.uiElements.editorCursor": {
6161
"type": "boolean",
6262
"default": true,
6363
"description": "Apply mode color to editor cursor"
6464
},
65-
"nvim_ui_plus.uiElements.inputValidation": {
65+
"nvim-ui-plus.uiElements.inputValidation": {
6666
"type": "boolean",
6767
"default": true,
6868
"description": "Apply mode color to input validation borders"
6969
},
70-
"nvim_ui_plus.uiElements.panelTitle": {
70+
"nvim-ui-plus.uiElements.panelTitle": {
7171
"type": "boolean",
7272
"default": true,
7373
"description": "Apply mode color to panel titles"
7474
},
75-
"nvim_ui_plus.uiElements.peekView": {
75+
"nvim-ui-plus.uiElements.peekView": {
7676
"type": "boolean",
7777
"default": true,
7878
"description": "Apply mode color to peek view elements"
7979
},
80-
"nvim_ui_plus.uiElements.tabs": {
80+
"nvim-ui-plus.uiElements.tabs": {
8181
"type": "boolean",
8282
"default": true,
8383
"description": "Apply mode color to tabs"
8484
},
85-
"nvim_ui_plus.uiElements.activityBar": {
85+
"nvim-ui-plus.uiElements.activityBar": {
8686
"type": "boolean",
8787
"default": true,
8888
"description": "Apply mode color to activity bar elements"
8989
},
90-
"nvim_ui_plus.uiElements.titleBar": {
90+
"nvim-ui-plus.uiElements.titleBar": {
9191
"type": "boolean",
9292
"default": true,
9393
"description": "Apply mode color to title bar"
9494
},
95-
"nvim_ui_plus.uiElements.statusBar": {
95+
"nvim-ui-plus.uiElements.statusBar": {
9696
"type": "boolean",
9797
"default": true,
9898
"description": "Apply mode color to status bar elements"
9999
},
100-
"nvim_ui_plus.uiElements.editor": {
100+
"nvim-ui-plus.uiElements.editor": {
101101
"type": "boolean",
102102
"default": true,
103103
"description": "Apply mode color to editor elements like selections"
104104
},
105-
"nvim_ui_plus.uiElements.suggestWidget": {
105+
"nvim-ui-plus.uiElements.suggestWidget": {
106106
"type": "boolean",
107107
"default": true,
108108
"description": "Apply mode color to suggestion widget"
109109
},
110-
"nvim_ui_plus.uiElements.lineNumbers": {
110+
"nvim-ui-plus.uiElements.lineNumbers": {
111111
"type": "boolean",
112112
"default": true,
113113
"description": "Apply mode color to active line numbers"
114114
},
115-
"nvim_ui_plus.colors.normal": {
115+
"nvim-ui-plus.colors.normal": {
116116
"type": "string",
117117
"default": "#94E2D5",
118118
"description": "Color for normal mode (Catppuccin teal)"
119119
},
120-
"nvim_ui_plus.colors.insert": {
120+
"nvim-ui-plus.colors.insert": {
121121
"type": "string",
122122
"default": "#74C7EC",
123123
"description": "Color for insert mode (Catppuccin sapphire)"
124124
},
125-
"nvim_ui_plus.colors.visual": {
125+
"nvim-ui-plus.colors.visual": {
126126
"type": "string",
127127
"default": "#CBA6F7",
128128
"description": "Color for visual mode (Catppuccin mauve)"
129129
},
130-
"nvim_ui_plus.colors.replace": {
130+
"nvim-ui-plus.colors.replace": {
131131
"type": "string",
132132
"default": "#EBA0AC",
133133
"description": "Color for replace mode (Catppuccin maroon)"
134134
},
135-
"nvim_ui_plus.colors.cmdline": {
135+
"nvim-ui-plus.colors.cmdline": {
136136
"type": "string",
137137
"default": "#FAB387",
138138
"description": "Color for command line mode (Catppuccin peach)"

src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { logger } from './utils'
55

66
export function registerCommands() {
77
// Register a command to receive mode updates from Neovim
8-
useCommand('nvim_ui_plus.setMode', (args: { mode: string }) => {
8+
useCommand('nvim-ui-plus.setMode', (args: { mode: string }) => {
99
if (!args || typeof args.mode !== 'string') {
1010
logger.warn(`Received invalid args:`, args)
1111
return false
@@ -17,7 +17,7 @@ export function registerCommands() {
1717
})
1818

1919
// Add a command to check the current mode
20-
useCommand('nvim_ui_plus.showCurrentMode', () => {
20+
useCommand('nvim-ui-plus.showCurrentMode', () => {
2121
window.showInformationMessage(`Current Neovim mode: ${currentMode.value}`)
2222
})
2323
}

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface NvimUiPlusConfig {
2727
}
2828

2929
// Define our UI configuration with the proper type
30-
export const nvimUiConfig = defineConfigObject('nvim_ui_plus', {
30+
export const nvimUiConfig = defineConfigObject('nvim-ui-plus', {
3131
enabled: Boolean,
3232

3333
uiElements: {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { setupThemeManager } from './themeManager'
66
import { logger } from './utils'
77

88
const { activate, deactivate } = defineExtension(async () => {
9-
logger.info('nvim_ui_plus extension activated')
9+
logger.info('nvim-ui-plus extension activated')
1010

1111
// Check if neovim extension is installed
1212
const vscode_nvim_ext = extensions.getExtension('asvetliakov.vscode-neovim')

0 commit comments

Comments
 (0)