Skip to content

Commit 45bc2f4

Browse files
fix ctags indexing error if ctags path is set to none #417 (#469)
Co-authored-by: Masahiro Hiramori <mhg00g13@gmail.com>
1 parent 018b624 commit 45bc2f4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66

7+
## Unreleased
8+
9+
### Fixed
10+
11+
- Fixed ctags indexing error when ctags path is set to none [#417](https://github.com/mshr-h/vscode-verilog-hdl-support/issues/417)
12+
713
## [1.13.3] - 2024-03-22
814

915
### Added

src/ctags.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ export class Ctags {
176176
});
177177
});
178178
}
179-
return undefined;
179+
// Return empty promise if ctags path is not set to avoid errors when indexing
180+
return Promise.resolve('');
180181
}
181182

182183
parseTagLine(line: string): Symbol {

0 commit comments

Comments
 (0)