mirror of
https://github.com/ytliu74/obsidian-pseudocode.git
synced 2026-07-22 07:40:25 +00:00
new release 1.1.2
This commit is contained in:
parent
d375bb5dba
commit
3e5c712005
2 changed files with 2 additions and 6 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -8,6 +8,7 @@ on:
|
|||
jobs:
|
||||
create_release:
|
||||
if: "contains(github.event.head_commit.message, 'new release')"
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
|
@ -27,7 +28,7 @@ jobs:
|
|||
- name: Get Release Version
|
||||
id: release-version
|
||||
run: |
|
||||
echo "VER=${{ github.event.head_commit.message }} | cut -d' ' -f3" >> $GITHUB_OUTPUT
|
||||
echo "VER=$(echo ${{ github.event.head_commit.message }} | cut -d' ' -f3)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
|
|
|
|||
5
main.ts
5
main.ts
|
|
@ -203,11 +203,6 @@ class PseudocodeSuggestor extends EditorSuggest<string> {
|
|||
|
||||
if (!isPseudocode) return null;
|
||||
|
||||
// Get last word in current line
|
||||
// const currentLineToCursor = editor
|
||||
// .getLine(cursor.line)
|
||||
// .slice(0, cursor.ch);
|
||||
|
||||
return {
|
||||
start: { line: cursor.line, ch: currentLineLastWordStart },
|
||||
end: cursor,
|
||||
|
|
|
|||
Loading…
Reference in a new issue