summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-01-19 15:22:13 +0100
committermms <michal@sapka.me>2024-01-19 15:22:13 +0100
commit9ab57ee255a03b86ed7303aa94959e3b104e1719 (patch)
tree926293dc6d9460f1eab12231573b71abc8d5ac4e /config.org
feat: extract into dedicated repo
Diffstat (limited to 'config.org')
-rw-r--r--config.org54
1 files changed, 54 insertions, 0 deletions
diff --git a/config.org b/config.org
new file mode 100644
index 0000000..be397bb
--- /dev/null
+++ b/config.org
@@ -0,0 +1,54 @@
+#+TITLE: Michał Sapka's Emacs Config
+#+AUTHOR: Michał Sapka (https://michal.sapka.me)
+#+STARTUP: showall indent logdone
+
+
+* General configuration
+
+** Treesitter
+
+Tresitter has huge problems working on FreeBSD. In my case it just throws errors around unsupported system type.
+I'll return here on a later date
+
+*** TODO retry Trisitter on FreeBSD
+
+** Varia
+
+#+BEGIN_SRC emacs-lisp
+ (setq vc-follow-symlinks t)
+#+END_SRC
+
+
+* LSP
+
+I use Eglot for using LSPs. They are not perfect, but still very usable
+
+#+BEGIN_SRC emacs-lisp
+(require 'eglot)
+#+END_SRC
+
+** Ltex-ls
+
+#+BEGIN_SRC emacs-lisp
+ (with-eval-after-load 'eglot
+ (add-to-list 'eglot-server-programs
+ '(text-mode . ("doas" "jexec" "ltex" "/root/ltex/bin/ltex-ls")))
+
+ (setq-default eglot-workspace-configuration
+ '(:ltex (:additionalRules (:languageModel "/var/ngrams/")))))
+#+END_SRC
+
+* Writing
+
+** Markdown mode
+
+#+BEGIN_SRC emacs-lisp
+(use-package markdown-mode)
+#+END_SRC
+
+
+* Local setup
+
+#+begin_src emacs-lisp
+ (load-file "~/.emacs.d/config_local.el")
+#+end_src