Compare commits
10 Commits
e04e874549
...
9a1f111fac
Author | SHA1 | Date | |
---|---|---|---|
9a1f111fac | |||
3cf2870437 | |||
3c2a0c0ef9 | |||
640207c305 | |||
92460b57d4 | |||
a463f2ba0a | |||
639d4029e5 | |||
6c25f19639 | |||
ebc95e422f | |||
9c00b684d0 |
28
code/PKGBUILDs/appwrite-cli/PKGBUILD
Normal file
28
code/PKGBUILDs/appwrite-cli/PKGBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
|
||||
|
||||
_pkgname=appwrite-cli
|
||||
_orgname=appwrite
|
||||
_ghpkgname=sdk-for-cli
|
||||
pkgname="nodejs-${_pkgname}"
|
||||
pkgver=4.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Command-line tool for building and testing Emacs Lisp packages"
|
||||
url="https://github.com/${_orgname}/${_ghpkgname}"
|
||||
license=("BSD-3-Clause")
|
||||
arch=("any")
|
||||
depends=("nodejs")
|
||||
makedepends=("npm")
|
||||
source=("https://registry.npmjs.org/${_pkgname}/-/${_pkgname}-${pkgver}.tgz")
|
||||
sha256sums=('83f35fcc7c54fec519791e4bc28f2c6913971357a055eb9113cbaa7259f3edc4')
|
||||
noextract=("$_pkgname-$pkgver.tgz")
|
||||
|
||||
prepare() {
|
||||
tar xzf "$_pkgname-$pkgver.tgz"
|
||||
}
|
||||
|
||||
package() {
|
||||
npm i --location=global --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_pkgname-$pkgver.tgz"
|
||||
install -Dm644 package/LICENSE.md "$pkgdir/usr/share/licenses/$_pkgname/COPYING"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
@ -1,25 +0,0 @@
|
||||
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
|
||||
_pkgname=appwrite
|
||||
_orgname=appwrite
|
||||
_reponame=sdk-for-cli
|
||||
_dlcliname=appwrite-cli-linux-x64
|
||||
pkgname="nodejs-$_pkgname-cli"
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgdesc='Appwrite CLI'
|
||||
arch=('any')
|
||||
url="https://github.com/${_orgname}/${_reponame}"
|
||||
license=('BSD-3-Clause')
|
||||
depends=('nodejs')
|
||||
makedepends=('npm')
|
||||
options=()
|
||||
install=
|
||||
changelog=
|
||||
source=("https://github.com/${_orgname}/${_reponame}/releases/download/${pkgver}/$_dlcliname")
|
||||
sha256sums=('99c3aa4f3f9c240ac4e660546cd1a9bd0788e1dd56c018e07c19eb37273e13f6')
|
||||
|
||||
package() {
|
||||
install -Dm755 "$_dlcliname" "$pkgdir/usr/bin/$_pkgname"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
@ -1275,6 +1275,12 @@ restricted in terms of features compared to =ivy=.
|
||||
ivy-use-selectable-prompt t))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package counsel
|
||||
:straight (:build t)
|
||||
:defer t)
|
||||
#+end_src
|
||||
|
||||
There is also [[https://github.com/raxod502/prescient.el][~prescient.el~]] that offers some nice features when
|
||||
coupled with ~ivy~, guess what was born out of it? ~ivy-prescient~, of
|
||||
course!
|
||||
@ -3265,6 +3271,16 @@ compatibility package that adds states for iedit.
|
||||
"q" #'evil-iedit-state/quit-iedit-mode))
|
||||
#+end_src
|
||||
|
||||
*** Smartparens
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: PackagesConfigurationEditingSmartparens-v0a4djn0tvj0
|
||||
:END:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package smartparens
|
||||
:straight (:build t)
|
||||
:defer t)
|
||||
#+end_src
|
||||
|
||||
*** Parinfer
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: Packages-Configuration-Editing-Parinfermxy1fl6184j0
|
||||
@ -5174,7 +5190,7 @@ fixes two issues I had with the original package.
|
||||
(use-package ox-gemini
|
||||
:defer t
|
||||
:straight (ox-gemini :build t
|
||||
:repo "https://labs.phundrak.com/phundrak/ox-gemini")
|
||||
:fork (:repo "https://labs.phundrak.com/phundrak/ox-gemini"))
|
||||
:after (ox org))
|
||||
#+end_src
|
||||
|
||||
@ -5260,18 +5276,18 @@ and copy its content over to my remote server.
|
||||
:CUSTOM_ID: Packages-Configuration-Org-mode-File-export-LaTeXg2b5fl6184j0
|
||||
:END:
|
||||
When it comes to exports, I want the LaTeX and PDF exports to be done
|
||||
with XeLaTeX only. This implies the modification of the following
|
||||
variable:
|
||||
with XeTeX only. I also want LaTeX exports to use my labels rather
|
||||
than org-generated labels.
|
||||
#+NAME: org-latex-compiler
|
||||
#+BEGIN_SRC emacs-lisp :tangle no
|
||||
(setq org-latex-compiler "xelatex")
|
||||
(setq org-latex-compiler "xelatex"
|
||||
org-latex-prefer-user-labels t)
|
||||
#+END_SRC
|
||||
|
||||
A new backend that was introduced in org-mode for LaTeX source block
|
||||
coloring is ~engraved~.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package engrave-faces
|
||||
:defer t
|
||||
:straight (:build t)
|
||||
:after org)
|
||||
#+END_SRC
|
||||
@ -5279,7 +5295,7 @@ coloring is ~engraved~.
|
||||
#+name: org-latex-src-block-backend
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(require 'engrave-faces)
|
||||
(csetq org-latex-src-block-backend 'engraved)
|
||||
(setq org-latex-src-block-backend 'engraved)
|
||||
#+end_src
|
||||
|
||||
The default packages break my LaTeX exports: for some reasons, images
|
||||
@ -5298,7 +5314,9 @@ packages:
|
||||
("" "grffile" t)))
|
||||
(delete package org-latex-default-packages-alist))
|
||||
|
||||
(dolist (package '(("capitalize" "cleveref")
|
||||
(dolist (package '(("AUTO" "babel" nil ("pdflatex"))
|
||||
("AUTO" "polyglossia" nil ("xelatex" "lualatex"))
|
||||
("capitalize" "cleveref")
|
||||
("" "booktabs")
|
||||
("" "tabularx")))
|
||||
(add-to-list 'org-latex-default-packages-alist package t))
|
||||
@ -5767,6 +5785,7 @@ management system based on org-mode.
|
||||
:keymaps 'org-mode-map
|
||||
:pakages 'org-ref
|
||||
"ic" #'org-ref-insert-link
|
||||
"iL" #'org-ref-insert-ref-link
|
||||
"ir" #'org-ref-insert-link-hydra/body
|
||||
"iB" #'org-ref-bibtex-hydra/body))
|
||||
#+end_src
|
||||
@ -6422,30 +6441,11 @@ in quite a few languages.
|
||||
"B" #'langtool-correct-buffer
|
||||
"b" #'langtool-check-buffer
|
||||
"c" #'langtool-check
|
||||
"C" #'langtool-correct-at-point
|
||||
"d" #'langtool-check-done
|
||||
"l" #'langtool-switch-default-language
|
||||
"p" #'langtool-show-message-at-point))
|
||||
#+end_src
|
||||
|
||||
An LSP version of LanguageTools is also available:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package lsp-ltex
|
||||
:defer t
|
||||
:straight (:build t)
|
||||
:after lsp
|
||||
:hook (text-mode . lsp-deferred)
|
||||
:init
|
||||
(setq lsp-ltex-java-force-try-system-wide t
|
||||
lsp-ltex-server-store-path nil
|
||||
lsp-ltex-version (gethash "ltex-ls"
|
||||
(json-parse-string
|
||||
(replace-regexp-in-string
|
||||
(rx "Picked" (* any) "\n")
|
||||
""
|
||||
(shell-command-to-string "ltex-ls -V"))))
|
||||
lsp-ltex-check-frequency "save"
|
||||
lsp-ltex-language "auto"
|
||||
lsp-ltex-mother-tongue "fr"))
|
||||
"p" #'langtool-show-message-at-point
|
||||
"r" #'langtool-correct-region))
|
||||
#+end_src
|
||||
|
||||
Finally, =writegood-mode= detects some simple general rules when writing
|
||||
|
Loading…
x
Reference in New Issue
Block a user