Remove fac alias from builds
- SHA
65e4b05bdd357ca719e2c6c919cf71dbddfbf8a0- Parents
-
1e620a2 - Tree
f6785ce
65e4b05
65e4b05bdd357ca719e2c6c919cf71dbddfbf8a01e620a2
f6785ce| Status | File | + | - |
|---|---|---|---|
| M |
.github/workflows/build.yml
|
0 | 3 |
| M |
fackr.spec
|
4 | 5 |
| A |
test_lsp/.fackr/backups/3466e9827c04dfa4.bak
|
58 | 0 |
.github/workflows/build.ymlmodified@@ -31,7 +31,6 @@ jobs: | |||
| 31 | $version = (Get-Content Cargo.toml | Select-String 'version = "(.+)"' | ForEach-Object { $_.Matches.Groups[1].Value } | Select-Object -First 1) | 31 | $version = (Get-Content Cargo.toml | Select-String 'version = "(.+)"' | ForEach-Object { $_.Matches.Groups[1].Value } | Select-Object -First 1) |
| 32 | New-Item -ItemType Directory -Force -Path release | 32 | New-Item -ItemType Directory -Force -Path release |
| 33 | Copy-Item target/release/fackr.exe release/ | 33 | Copy-Item target/release/fackr.exe release/ |
| 34 | - Copy-Item target/release/fac.exe release/ -ErrorAction SilentlyContinue | ||
| 35 | Compress-Archive -Path release/* -DestinationPath "fackr-$version-windows-x86_64.zip" | 34 | Compress-Archive -Path release/* -DestinationPath "fackr-$version-windows-x86_64.zip" |
| 36 | 35 | ||
| 37 | - name: Upload artifact | 36 | - name: Upload artifact |
@@ -68,7 +67,6 @@ jobs: | |||
| 68 | VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/') | 67 | VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/') |
| 69 | mkdir -p release | 68 | mkdir -p release |
| 70 | cp target/release/fackr release/ | 69 | cp target/release/fackr release/ |
| 71 | - cp target/release/fac release/ | ||
| 72 | cd release | 70 | cd release |
| 73 | tar -czvf ../fackr-${VERSION}-linux-x86_64.tar.gz * | 71 | tar -czvf ../fackr-${VERSION}-linux-x86_64.tar.gz * |
| 74 | 72 | ||
@@ -107,7 +105,6 @@ jobs: | |||
| 107 | ARCH=$(uname -m) | 105 | ARCH=$(uname -m) |
| 108 | mkdir -p release | 106 | mkdir -p release |
| 109 | cp target/release/fackr release/ | 107 | cp target/release/fackr release/ |
| 110 | - cp target/release/fac release/ | ||
| 111 | cd release | 108 | cd release |
| 112 | tar -czvf ../fackr-${VERSION}-macos-${ARCH}.tar.gz * | 109 | tar -czvf ../fackr-${VERSION}-macos-${ARCH}.tar.gz * |
| 113 | 110 | ||
fackr.specmodified@@ -1,5 +1,5 @@ | |||
| 1 | Name: fackr | 1 | Name: fackr |
| 2 | -Version: 0.9.6 | 2 | +Version: 0.9.7 |
| 3 | Release: 1%{?dist} | 3 | Release: 1%{?dist} |
| 4 | Summary: Terminal text editor written in Rust | 4 | Summary: Terminal text editor written in Rust |
| 5 | 5 | ||
@@ -37,18 +37,17 @@ cargo build --release | |||
| 37 | mkdir -p %{buildroot}%{_bindir} | 37 | mkdir -p %{buildroot}%{_bindir} |
| 38 | install -Dm755 target/release/fackr %{buildroot}%{_bindir}/fackr | 38 | install -Dm755 target/release/fackr %{buildroot}%{_bindir}/fackr |
| 39 | 39 | ||
| 40 | -# Create symlink for fac command | ||
| 41 | -ln -s fackr %{buildroot}%{_bindir}/fac | ||
| 42 | - | ||
| 43 | # Install documentation | 40 | # Install documentation |
| 44 | mkdir -p %{buildroot}%{_docdir}/%{name} | 41 | mkdir -p %{buildroot}%{_docdir}/%{name} |
| 45 | install -Dm644 README.md %{buildroot}%{_docdir}/%{name}/README.md 2>/dev/null || true | 42 | install -Dm644 README.md %{buildroot}%{_docdir}/%{name}/README.md 2>/dev/null || true |
| 46 | 43 | ||
| 47 | %files | 44 | %files |
| 48 | %{_bindir}/fackr | 45 | %{_bindir}/fackr |
| 49 | -%{_bindir}/fac | ||
| 50 | 46 | ||
| 51 | %changelog | 47 | %changelog |
| 48 | +* Wed Dec 11 2024 mfw <espadon@outlook.com> - 0.9.7-1 | ||
| 49 | +- Fix shift-key handling on kitty protocol terminals | ||
| 50 | + | ||
| 52 | * Wed Dec 11 2024 mfw <espadon@outlook.com> - 0.9.6-1 | 51 | * Wed Dec 11 2024 mfw <espadon@outlook.com> - 0.9.6-1 |
| 53 | - Fix command palette char input | 52 | - Fix command palette char input |
| 54 | - Create new file from CLI | 53 | - Create new file from CLI |
test_lsp/.fackr/backups/3466e9827c04dfa4.bakadded@@ -0,0 +1,58 @@ | |||
| 1 | +/home/espadon/src/fackr/test_lsp/02_completion.py | ||
| 2 | +# LSP Test 2: Code Completion (Ctrl+Space) | ||
| 3 | +# ========================================= | ||
| 4 | +# | ||
| 5 | +# Instructions: | ||
| 6 | +# 1. Place cursor after a dot or partial word | ||
| 7 | +# 2. Press Ctrl+Space to trigger completion | ||
| 8 | +# 3. Use Up/Down arrows to navigate suggestions | ||
| 9 | +# 4. Press Enter or Tab to accept a completion | ||
| 10 | +# 5. Press Escape to dismiss without completing | ||
| 11 | +# | ||
| 12 | +# Try completing at the marked positions below: | ||
| 13 | + | ||
| 14 | +import os | ||
| 15 | +import json | ||
| 16 | +from pathlib import Path | ||
| 17 | + | ||
| 18 | +# Test 1: Module completions | ||
| 19 | +# Place cursor after "os." and press Ctrl+Space | ||
| 20 | +path = os. # <- complete here (try: getcwd, path, environ) | ||
| 21 | + | ||
| 22 | +# Test 2: String method completions | ||
| 23 | +# Place cursor after "text." and press Ctrl+Space | ||
| 24 | +text = "hello world" | ||
| 25 | +upper = text. # <- complete here (try: upper, lower, split, strip) | ||
| 26 | + | ||
| 27 | +# Test 3: List method completions | ||
| 28 | +numbers = [3, 1, 4, 1, 5] | ||
| 29 | +numbers. # <- complete here (try: append, sort, reverse, pop) | ||
| 30 | + | ||
| 31 | +# Test 4: Dict method completions | ||
| 32 | +data = {"name": "test", "value": 42} | ||
| 33 | +keys = data. # <- complete here (try: keys, values, items, get) | ||
| 34 | + | ||
| 35 | +# Test 5: Path object completions | ||
| 36 | +p = Path("/tmp") | ||
| 37 | +p. # <- complete here (try: exists, is_file, read_text, mkdir) | ||
| 38 | + | ||
| 39 | +# Test 6: Partial word completion | ||
| 40 | +# Type "pri" and press Ctrl+Space to complete to "print" | ||
| 41 | +# pri # <- uncomment and complete | ||
| 42 | + | ||
| 43 | +# Test 7: Import completion | ||
| 44 | +# from pathlib import P # <- complete after P (Path, PurePath, etc.) | ||
| 45 | + | ||
| 46 | + | ||
| 47 | +class MyClass: | ||
| 48 | + def __init__(self): | ||
| 49 | + self.value = 100 | ||
| 50 | + self.name = "test" | ||
| 51 | + | ||
| 52 | + def process(self): | ||
| 53 | + # Test 8: Self completions | ||
| 54 | + return self. # <- complete here (try: value, name) | ||
| 55 | + | ||
| 56 | + | ||
| 57 | +obj = MyClass() | ||
| 58 | +obj. # <- complete here (try: value, name, process) | ||