Skip to content

Commit

Permalink
fix ctags indexing error if ctags path is set to none mshr-h#417
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLapinMalin committed Mar 10, 2024
1 parent ca07b5e commit e647f45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

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

## Unreleased

### Fixed

- Fixed ctags indexing error when ctags path is set to none [#417](https://github.com/mshr-h/vscode-verilog-hdl-support/issues/417)

## [1.13.2] 2024-02-04

### Added
Expand Down
3 changes: 2 additions & 1 deletion src/ctags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ export class Ctags {
});
});
}
return undefined;
// Return empty promise if ctags path is not set to avoid errors when indexing
return Promise.resolve('');
}

parseTagLine(line: string): Symbol {
Expand Down

0 comments on commit e647f45

Please sign in to comment.