tenseleyflow/fackr / 65e4b05

Browse files

Remove fac alias from builds

Authored by espadonne
SHA
65e4b05bdd357ca719e2c6c919cf71dbddfbf8a0
Parents
1e620a2
Tree
f6785ce

3 changed files

StatusFile+-
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:
3131
         $version = (Get-Content Cargo.toml | Select-String 'version = "(.+)"' | ForEach-Object { $_.Matches.Groups[1].Value } | Select-Object -First 1)
3232
         New-Item -ItemType Directory -Force -Path release
3333
         Copy-Item target/release/fackr.exe release/
34
-        Copy-Item target/release/fac.exe release/ -ErrorAction SilentlyContinue
3534
         Compress-Archive -Path release/* -DestinationPath "fackr-$version-windows-x86_64.zip"
3635
 
3736
     - name: Upload artifact
@@ -68,7 +67,6 @@ jobs:
6867
         VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/')
6968
         mkdir -p release
7069
         cp target/release/fackr release/
71
-        cp target/release/fac release/
7270
         cd release
7371
         tar -czvf ../fackr-${VERSION}-linux-x86_64.tar.gz *
7472
 
@@ -107,7 +105,6 @@ jobs:
107105
         ARCH=$(uname -m)
108106
         mkdir -p release
109107
         cp target/release/fackr release/
110
-        cp target/release/fac release/
111108
         cd release
112109
         tar -czvf ../fackr-${VERSION}-macos-${ARCH}.tar.gz *
113110
 
fackr.specmodified
@@ -1,5 +1,5 @@
11
 Name:           fackr
2
-Version:        0.9.6
2
+Version:        0.9.7
33
 Release:        1%{?dist}
44
 Summary:        Terminal text editor written in Rust
55
 
@@ -37,18 +37,17 @@ cargo build --release
3737
 mkdir -p %{buildroot}%{_bindir}
3838
 install -Dm755 target/release/fackr %{buildroot}%{_bindir}/fackr
3939
 
40
-# Create symlink for fac command
41
-ln -s fackr %{buildroot}%{_bindir}/fac
42
-
4340
 # Install documentation
4441
 mkdir -p %{buildroot}%{_docdir}/%{name}
4542
 install -Dm644 README.md %{buildroot}%{_docdir}/%{name}/README.md 2>/dev/null || true
4643
 
4744
 %files
4845
 %{_bindir}/fackr
49
-%{_bindir}/fac
5046
 
5147
 %changelog
48
+* Wed Dec 11 2024 mfw <espadon@outlook.com> - 0.9.7-1
49
+- Fix shift-key handling on kitty protocol terminals
50
+
5251
 * Wed Dec 11 2024 mfw <espadon@outlook.com> - 0.9.6-1
5352
 - Fix command palette char input
5453
 - 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)