Skip to content

Commit

Permalink
fix: drop extra console log
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotsivad committed Aug 27, 2023
1 parent 5846582 commit 7b7f133
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ And then the inserted link would look like:
>
> I'm open to better implementations that don't add a lot of complexity, just start a discussion.
## Conflicts

Several plugins have conflicts with using the `@` symbol, please look at the [Github issues for plugin conflicts](https://github.com/saibotsivad/obsidian-at-people/issues?q=is%3Aissue+conflict+) to see if yours has been resolved.

## License

Published and made available freely under the [Very Open License](http://veryopenlicense.com/).
1 change: 0 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class AtPeopleSuggestor extends EditorSuggest {
this.peopleFileMap = peopleFileMap
}
onTrigger(cursor, editor, tFile) {
console.log('----editor', editor)
let charsLeftOfCursor = editor.getLine(cursor.line).substring(0, cursor.ch)
let atIndex = charsLeftOfCursor.lastIndexOf('@')
let query = atIndex >= 0 && charsLeftOfCursor.substring(atIndex + 1)
Expand Down

0 comments on commit 7b7f133

Please sign in to comment.