From 7015684b5d3f7a57d4e1c794c44b664117b88a4f Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 26 Jun 2024 18:21:53 +0200 Subject: [PATCH] Update .chezmoidata/packages.yaml Update .config/fish/conf.d/abbreviations.fish Update .emacs.d/config.org Update vscodium/settings.json --- .chezmoidata/packages.yaml | 1 + dot_config/fish/conf.d/abbreviations.fish | 3 +- private_dot_emacs.d/config.org | 36 +++++++++++++++++------ vscodium/settings.json | 4 --- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/.chezmoidata/packages.yaml b/.chezmoidata/packages.yaml index e979dc8..749b564 100644 --- a/.chezmoidata/packages.yaml +++ b/.chezmoidata/packages.yaml @@ -14,6 +14,7 @@ packages: - com.getpostman.Postman - com.spotify.Client - one.ablaze.floorp + - dev.vencord.Vesktop copr: - atim/starship arch: diff --git a/dot_config/fish/conf.d/abbreviations.fish b/dot_config/fish/conf.d/abbreviations.fish index 3d79f77..9c7c7c7 100644 --- a/dot_config/fish/conf.d/abbreviations.fish +++ b/dot_config/fish/conf.d/abbreviations.fish @@ -1 +1,2 @@ -abbr --add code codium +abbr -a -- code codium +abbr -a -- cd z diff --git a/private_dot_emacs.d/config.org b/private_dot_emacs.d/config.org index 165d005..a37e29e 100644 --- a/private_dot_emacs.d/config.org +++ b/private_dot_emacs.d/config.org @@ -225,15 +225,29 @@ I use org-superstar-mode, as it makes headlines and bullets look really nice. (use-package lsp-mode :hook (prog-mode . my-lsp-mode-setup) + (lsp-mode . lsp-enable-which-key-integration) :init - (setq lsp-keymap-prefix "C-c l")) + (setq lsp-keymap-prefix "C-c l") + (setq read-process-output-max (* 1024 1024)) + (setq gc-cons-threshold 100000000)) (use-package lsp-ui) #+end_src +*** Projectile +#+begin_src emacs-lisp + (use-package projectile + :config + (projectile-mode +1) + (setq projectile-project-search-path '("~/projects")) + :bind + ("C-c p" . 'projectile-command-map)) +#+end_src *** Autocompletion #+begin_src emacs-lisp - (use-package company) + (use-package company + :config + (setq company-idle-delay 0)) #+end_src *** Snippets @@ -245,7 +259,12 @@ I use org-superstar-mode, as it makes headlines and bullets look really nice. :bind (:map yas-minor-mode-map ("C-c C-e" . yas-expand))) #+end_src +*** Magit +Magit is a git client in Emacs. +#+begin_src emacs-lisp + (use-package magit) +#+end_src *** Languages **** Rust @@ -258,13 +277,12 @@ I use org-superstar-mode, as it makes headlines and bullets look really nice. **** Typescript #+begin_src emacs-lisp - (use-package typescript-mode) + (use-package typescript-mode + :hook (typescript-mode . lsp) + :config + (setq typescript-indent-level 2)) #+end_src -***** Biome -Biome is a formatter for Typescript, and integrates with LSP. - -#+begin_src emacs-lisp - (use-package lsp-biome - :quelpa (lsp-biome :fetcher github :repo "cxa/lsp-biome")) +#+begin_src sh + npm install -g typescript-language-server #+end_src diff --git a/vscodium/settings.json b/vscodium/settings.json index 6fcab1e..ec39db6 100644 --- a/vscodium/settings.json +++ b/vscodium/settings.json @@ -22,9 +22,5 @@ "files.trimFinalNewlines": true, "editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'calt', 'dlig'", "editor.wordWrap": "wordWrapColumn", - "ltex.additionalRules.motherTongue": "fr", - "ltex.language": "fr", "git.suggestSmartCommit": false, - "sync.gist": "6d8559a01164b003d08f3c0bbc6cc664", - "dart.flutterSdkPath": "/home/nezia/.flutter", }