diff --git a/configuration.org b/configuration.org index e9950d4e43a09db9c6c11b540ae510a41cf2b49f..fcf1759d75ec59da9d9727225750f2475f467d9d 100644 --- a/configuration.org +++ b/configuration.org @@ -112,6 +112,14 @@ and I want to be sure that compiled versions of packages are up-to-date (setq load-prefer-newer t) #+end_src +** Non package modules + +Add a folder for .el files that are not available as packages + +#+begin_src emacs-lisp +(add-to-list 'load-path "~/.emacs.d/plugins") +#+end_src + * Global editing configuration @@ -298,12 +306,12 @@ matching parenthesis. Also do not show the welcome screen. ) #+END_SRC -Use Fira Code with ligature +Use Fira Code but do not use ligature everywhere #+begin_src emacs-lisp (use-package fira-code-mode :config - (global-fira-code-mode) + ;(global-fira-code-mode) (setq fira-code-mode-enable-hex-literal nil) ) (add-to-list 'default-frame-alist '(font . "Fira Code-12" )) @@ -698,6 +706,12 @@ For HTML source code highlight, use =htmlize= #+end_src +Turn off validate link in org html export: + +#+begin_src emacs-lisp +(setq org-html-validation-link nil) +#+end_src + ** Source code evaluation @@ -769,6 +783,16 @@ Set line count limit before using =begin_example= blocs in code evaluation resul #+RESULTS: : 10 +** Transform json results to org-table + +I found a nice way to use json results in org mode by transforming a +json output to an org table. The emacs module can be found here: +https://github.com/noonker/json-to-org-table + +#+begin_src emacs-lisp +(require 'json-to-org-table) +#+end_src + * Markdown mode I use pandoc to generate html output from markdown file. In order to @@ -891,6 +915,7 @@ language currently in use. (c++-mode . lsp) (python-mode . lsp) (rust-mode . lsp) + (slint-mode . lsp) (lsp-mode . lsp-enable-which-key-integration) ) :config @@ -1093,6 +1118,25 @@ Packages to edit terraform configuration files (use-package company-terraform) #+end_src +*** Slint + +[[https://slint.dev/][Slint]] is a UI framework usable in Rust. It is based on a DSL to +describe the UI element. + +Install and load slint mode package. + +#+begin_src emacs-lisp +(use-package slint-mode) +#+end_src + + +=slint-lsp= langage server can be installed using: + +#+begin_src shell +cargo install slint-lsp +#+end_src + + ** Magit [[https://magit.vc/][Magit]] is git porcelain inside emacs.