File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed
Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change 99 "author" :
" wrath <[email protected] >" ,
1010 "license" : " MIT" ,
1111 "homepage" : " https://github.com/wrath-codes/nvim_ui_plus#readme" ,
12+ "extensionDependencies" : [" asvetliakov.vscode-neovim" ],
1213 "repository" : {
1314 "type" : " git" ,
1415 "url" : " https://github.com/wrath-codes/nvim_ui_plus"
Original file line number Diff line number Diff line change @@ -8,27 +8,6 @@ import { logger } from './utils'
88const { activate, deactivate } = defineExtension ( async ( ) => {
99 logger . info ( 'nvim-ui-plus extension activated' )
1010
11- // Check if neovim extension is installed
12- const vscode_nvim_ext = extensions . getExtension ( 'asvetliakov.vscode-neovim' )
13- if ( ! vscode_nvim_ext ) {
14- logger . error ( 'vscode-neovim is not installed' )
15- window . showErrorMessage ( 'vscode-neovim is not installed. Please install it to use this extension.' )
16- return
17- }
18-
19- // Try to activate the vscode-neovim extension if it's not already active
20- if ( ! vscode_nvim_ext . isActive ) {
21- logger . info ( 'Activating vscode-neovim extension...' )
22- try {
23- await vscode_nvim_ext . activate ( )
24- logger . info ( 'vscode-neovim extension activated successfully' )
25- }
26- catch ( err ) {
27- logger . error ( 'Failed to activate vscode-neovim extension:' , err )
28- window . showErrorMessage ( 'Failed to activate vscode-neovim extension' )
29- return
30- }
31- }
3211
3312 // Set up the mode manager
3413 const modeManager = setupNeovimModeManager ( )
You can’t perform that action at this time.
0 commit comments